public interface InternalRelation extends TitanRelation, InternalElement
isProperty| Modifier and Type | Method and Description |
|---|---|
int |
getArity()
Number of vertices on this relation.
|
int |
getLen()
Number of vertices on this relation that are aware of its existence.
|
Iterable<PropertyKey> |
getPropertyKeysDirect() |
<O> O |
getValueDirect(PropertyKey key) |
InternalVertex |
getVertex(int pos)
Returns the vertex at the given position (0=OUT, 1=IN) of this relation
|
InternalRelation |
it()
Returns this relation in the current transactional context
|
<O> O |
removePropertyDirect(PropertyKey key) |
void |
setPropertyDirect(PropertyKey key,
Object value) |
direction, getType, isEdge, isIncidentOn, isLoop, isProperty, valuegetLifeCycle, graph, isInvisible, setId, txhasId, id, isLoaded, isNew, isRemoved, longId, property, remove, valueOrNullInternalRelation it()
it in interface InternalElementInternalVertex getVertex(int pos)
pos - int getArity()
int getLen()
getArity()<O> O getValueDirect(PropertyKey key)
void setPropertyDirect(PropertyKey key, Object value)
Iterable<PropertyKey> getPropertyKeysDirect()
<O> O removePropertyDirect(PropertyKey key)
Copyright © 2012–2015. All rights reserved.