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
|
<O> O |
getProperty(RelationType type) |
<O> O |
getPropertyDirect(RelationType type) |
Iterable<RelationType> |
getPropertyKeysDirect() |
InternalVertex |
getVertex(int pos)
Returns the vertex at the given position (0=OUT, 1=IN) of this relation
|
InternalRelation |
it()
Returns this element in the context of the current transaction.
|
<O> O |
removePropertyDirect(RelationType type) |
void |
setPropertyDirect(RelationType type,
Object value) |
getDirection, getProperty, getType, isEdge, isIncidentOn, isLoop, isProperty, setPropertygetLifeCycle, isHidden, setID, txgetId, getID, getProperty, getProperty, hasId, isLoaded, isNew, isRemoved, remove, removeProperty, removeProperty, setProperty, setPropertycompareToInternalRelation it()
InternalElementit in interface InternalElementInternalVertex getVertex(int pos)
pos - int getArity()
int getLen()
TitanEdge.isUnidirected()<O> O getProperty(RelationType type)
<O> O getPropertyDirect(RelationType type)
void setPropertyDirect(RelationType type, Object value)
Iterable<RelationType> getPropertyKeysDirect()
<O> O removePropertyDirect(RelationType type)
Copyright © 2012–2014. All rights reserved.