Attribute data class.
More...
|
|
int | INVALID_ATTRIBUTE = 0 |
| | Invalid attribute identifier constant.
|
Attribute data class.
It contains information about an attribute.
- Author
- Sparsity Technologies http://www.sparsity-technologies.com
◆ get_array_size()
| sparksee.Attribute.get_array_size |
( |
| self | ) |
|
Gets the number of elements in the array.
- Returns
- The size of the array
◆ get_count()
| sparksee.Attribute.get_count |
( |
| self | ) |
|
Gets the number of non-NULL values.
- Returns
- The number of non-NULL values.
◆ get_data_type()
| sparksee.Attribute.get_data_type |
( |
| self | ) |
|
Gets the data type.
- Returns
- The DataType.
◆ get_default_value()
| sparksee.Attribute.get_default_value |
( |
| self | ) |
|
Gets the default value for this attribute.
- Returns
- A new Value instance with the default value, or NULL if none is set.
◆ get_id()
| sparksee.Attribute.get_id |
( |
| self | ) |
|
Gets the Sparksee attribute identifier.
- Returns
- The Sparksee attribute identifier.
◆ get_kind()
| sparksee.Attribute.get_kind |
( |
| self | ) |
|
◆ get_name()
| sparksee.Attribute.get_name |
( |
| self | ) |
|
Gets the unique attribute name.
- Returns
- The unique attribute name.
◆ get_size()
| sparksee.Attribute.get_size |
( |
| self | ) |
|
Gets the number of different values.
- Returns
- The number of different values.
◆ get_type_id()
| sparksee.Attribute.get_type_id |
( |
| self | ) |
|
◆ is_array_attribute()
| sparksee.Attribute.is_array_attribute |
( |
| self | ) |
|
Check if it's an array attribute.
- Returns
- True if it's an array attribute, or false otherwise.
◆ is_session_attribute()
| sparksee.Attribute.is_session_attribute |
( |
| self | ) |
|
Check if it's a session attribute or a persistent one.
- Returns
- True if it's a session attribute, or false otherwise.