public interface InternalRelation extends JanusGraphRelation, InternalElement
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, value
getLifeCycle, graph, isInvisible, setId, tx
hasId, id, isLoaded, isNew, isRemoved, longId, property, remove, valueOrNull
InternalRelation it()
it
in interface InternalElement
InternalVertex 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–2023. All rights reserved.