SparkseePython  6.0.2
Public Member Functions | Static Public Attributes | List of all members
sparksee.Attribute Class Reference

Attribute data class. More...

Public Member Functions

def get_size (self)
 Gets the number of different values. More...
 
def get_id (self)
 Gets the Sparksee attribute identifier. More...
 
def get_type_id (self)
 Gets the Sparksee type identifier. More...
 
def is_array_attribute (self)
 Check if it's an array attribute. More...
 
def get_count (self)
 Gets the number of non-NULL values. More...
 
def is_session_attribute (self)
 Check if it's a session attribute or a persistent one. More...
 
def get_data_type (self)
 Gets the data type. More...
 
def get_kind (self)
 Gets the attribute kind. More...
 
def get_array_size (self)
 Gets the number of elements in the array. More...
 
def get_name (self)
 Gets the unique attribute name. More...
 

Static Public Attributes

int INVALID_ATTRIBUTE = 0
 Invalid attribute identifier constant.
 

Detailed Description

Attribute data class.

It contains information about an attribute.

Author
Sparsity Technologies http://www.sparsity-technologies.com

Member Function Documentation

def sparksee.Attribute.get_array_size (   self)

Gets the number of elements in the array.

Returns
The size of the array
def sparksee.Attribute.get_count (   self)

Gets the number of non-NULL values.

Returns
The number of non-NULL values.
def sparksee.Attribute.get_data_type (   self)

Gets the data type.

Returns
The DataType.
def sparksee.Attribute.get_id (   self)

Gets the Sparksee attribute identifier.

Returns
The Sparksee attribute identifier.
def sparksee.Attribute.get_kind (   self)

Gets the attribute kind.

Returns
The AttributeKind.
def sparksee.Attribute.get_name (   self)

Gets the unique attribute name.

Returns
The unique attribute name.
def sparksee.Attribute.get_size (   self)

Gets the number of different values.

Returns
The number of different values.
def sparksee.Attribute.get_type_id (   self)

Gets the Sparksee type identifier.

Returns
The Sparksee type identifier.
def sparksee.Attribute.is_array_attribute (   self)

Check if it's an array attribute.

Returns
True if it's an array attribute, or false otherwise.
def 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.