SparkseeNet 6.1.0
com.sparsity.sparksee.gdb.Attribute Class Reference

Attribute data class. More...

Public Member Functions

long GetSize ()
 Gets the number of different values.
 
int GetId ()
 Gets the Sparksee attribute identifier.
 
int GetTypeId ()
 Gets the Sparksee type identifier.
 
bool IsArrayAttribute ()
 Check if it's an array attribute.
 
long GetCount ()
 Gets the number of non-NULL values.
 
bool IsSessionAttribute ()
 Check if it's a session attribute or a persistent one.
 
com.sparsity.sparksee.gdb.DataType GetDataType ()
 Gets the data type.
 
com.sparsity.sparksee.gdb.AttributeKind GetKind ()
 Gets the attribute kind.
 
com.sparsity.sparksee.gdb.Value GetDefaultValue ()
 Gets the default value for this attribute.
 
int GetArraySize ()
 Gets the number of elements in the array.
 
System.String GetName ()
 Gets the unique attribute name.
 

Static Public Attributes

static int InvalidAttribute
 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

◆ GetArraySize()

int com.sparsity.sparksee.gdb.Attribute.GetArraySize ( )

Gets the number of elements in the array.

Returns
The size of the array

◆ GetCount()

long com.sparsity.sparksee.gdb.Attribute.GetCount ( )

Gets the number of non-NULL values.

Returns
The number of non-NULL values.

◆ GetDataType()

com.sparsity.sparksee.gdb.DataType com.sparsity.sparksee.gdb.Attribute.GetDataType ( )

Gets the data type.

Returns
The DataType.

◆ GetDefaultValue()

com.sparsity.sparksee.gdb.Value com.sparsity.sparksee.gdb.Attribute.GetDefaultValue ( )

Gets the default value for this attribute.

Returns
A new Value instance with the default value, or NULL if none is set.

◆ GetId()

int com.sparsity.sparksee.gdb.Attribute.GetId ( )

Gets the Sparksee attribute identifier.

Returns
The Sparksee attribute identifier.

◆ GetKind()

com.sparsity.sparksee.gdb.AttributeKind com.sparsity.sparksee.gdb.Attribute.GetKind ( )

Gets the attribute kind.

Returns
The AttributeKind.

◆ GetName()

System.String com.sparsity.sparksee.gdb.Attribute.GetName ( )

Gets the unique attribute name.

Returns
The unique attribute name.

◆ GetSize()

long com.sparsity.sparksee.gdb.Attribute.GetSize ( )

Gets the number of different values.

Returns
The number of different values.

◆ GetTypeId()

int com.sparsity.sparksee.gdb.Attribute.GetTypeId ( )

Gets the Sparksee type identifier.

Returns
The Sparksee type identifier.

◆ IsArrayAttribute()

bool com.sparsity.sparksee.gdb.Attribute.IsArrayAttribute ( )

Check if it's an array attribute.

Returns
True if it's an array attribute, or false otherwise.

◆ IsSessionAttribute()

bool com.sparsity.sparksee.gdb.Attribute.IsSessionAttribute ( )

Check if it's a session attribute or a persistent one.

Returns
True if it's a session attribute, or false otherwise.