get_attrs_schema()

get_attrs_schema()#

Returns a JSON array describing the attributes of a given hgobj. The attributes included are those marked with SDF_RD, SDF_WR, SDF_STATS, SDF_PERSIST, SDF_VOLATIL, SDF_RSTATS, or SDF_PSTATS.

Prototype

json_t *get_attrs_schema(hgobj gobj);

Parameters

Key

Type

Description

gobj

hgobj

The hgobj whose attributes are to be described.


Return Value

A JSON array where each element is an object containing details about an attribute, including its name, type, flags, and description.

Notes

The returned JSON array must be freed by the caller using json_decref().

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples