Type data class.
More...
|
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.
|
|
Type data class.
It contains information about a node or edge type.
- Author
- Sparsity Technologies http://www.sparsity-technologies.com
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 |
( |
| ) |
|
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.
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.