public class Type
extends java.lang.Object
It contains information about a node or edge type.
Modifier and Type | Field and Description |
---|---|
static int |
EdgesType
Identifier for all edgeType attributes.
|
static int |
GlobalType
Global type identifier constant.
|
static int |
InvalidType
Invalid type identifier constant.
|
static int |
NodesType
Identifier for all nodeType attributes.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getAreNeighborsIndexed()
Gets if this is an edge type with neighbors index.
|
int |
getId()
Gets the Sparksee type identifier.
|
boolean |
getIsDirected()
Gets if this is a directed edge type.
|
boolean |
getIsRestricted()
Gets if this is a restricted edge type.
|
java.lang.String |
getName()
Gets the unique type name.
|
long |
getNumObjects()
Gets the number of objects belonging to the type.
|
ObjectType |
getObjectType()
Gets the object type.
|
int |
getRestrictedFrom()
Gets the tail or source type identifier for restricted edge types.
|
int |
getRestrictedTo()
Gets the head or target type identifier for restricted edge types.
|
public static int InvalidType
public static int NodesType
Identifier for all nodeType attributes.
public static int GlobalType
public static int EdgesType
Identifier for all edgeType attributes.
public ObjectType getObjectType()
public int getId()
public int getRestrictedFrom()
public long getNumObjects()
public boolean getAreNeighborsIndexed()
public int getRestrictedTo()
public boolean getIsRestricted()
public java.lang.String getName()
public boolean getIsDirected()