SparkseeNet  6.0.2
Public Member Functions | Static Public Attributes | List of all members
com.sparsity.sparksee.gdb.Type Class Reference

Type data class. More...

Public Member Functions

int GetRestrictedFrom ()
 Gets the tail or source type identifier for restricted edge types.
 
bool GetAreNeighborsIndexed ()
 Gets if this is an edge type with neighbors index.
 
com.sparsity.sparksee.gdb.ObjectType GetObjectType ()
 Gets the object type.
 
int GetRestrictedTo ()
 Gets the head or target type identifier for restricted edge types.
 
bool GetIsRestricted ()
 Gets if this is a restricted edge type.
 
long GetNumObjects ()
 Gets the number of objects belonging to the type.
 
int GetId ()
 Gets the Sparksee type identifier.
 
bool GetIsDirected ()
 Gets if this is a directed edge type.
 
System.String GetName ()
 Gets the unique type name.
 

Static Public Attributes

static int EdgesType
 Identifier for all edgeType attributes.
 
static int GlobalType
 Global type identifier.
 
static int InvalidType
 Invalid type identifier.
 
static int NodesType
 Identifier for all nodeType attributes.
 

Detailed Description

Type data class.

It contains information about a node or edge type.

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

Member Function Documentation

bool com.sparsity.sparksee.gdb.Type.GetAreNeighborsIndexed ( )

Gets if this is an edge type with neighbors index.

Returns
TRUE for edges types with neighbors index, FALSE otherwise.
int com.sparsity.sparksee.gdb.Type.GetId ( )

Gets the Sparksee type identifier.

Returns
The Sparksee type identifier.
bool com.sparsity.sparksee.gdb.Type.GetIsDirected ( )

Gets if this is a directed edge type.

Returns
TRUE for directed edge types, FALSE otherwise.
bool com.sparsity.sparksee.gdb.Type.GetIsRestricted ( )

Gets if this is a restricted edge type.

Returns
TRUE for restricted edge types, FALSE otherwise.
System.String com.sparsity.sparksee.gdb.Type.GetName ( )

Gets the unique type name.

Returns
The unique type name.
long com.sparsity.sparksee.gdb.Type.GetNumObjects ( )

Gets the number of objects belonging to the type.

Returns
The number of objects belonging to the type.
com.sparsity.sparksee.gdb.ObjectType com.sparsity.sparksee.gdb.Type.GetObjectType ( )

Gets the object type.

Returns
The object type.
int com.sparsity.sparksee.gdb.Type.GetRestrictedFrom ( )

Gets the tail or source type identifier for restricted edge types.

Returns
For restricted edge types, the tail or source type identifier, the Type InvalidType otherwise.
int com.sparsity.sparksee.gdb.Type.GetRestrictedTo ( )

Gets the head or target type identifier for restricted edge types.

Returns
For restricted edge types, the head or target type identifier, the Type InvalidType otherwise.