public abstract class AbstractVertexProperty<V> extends AbstractTypedRelation implements JanusGraphVertexProperty<V>
type| Constructor and Description |
|---|
AbstractVertexProperty(long id,
PropertyKey type,
InternalVertex vertex,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
JanusGraphVertex |
element()
Returns the vertex on which this property is incident.
|
int |
getArity()
Number of vertices on this relation.
|
int |
getLen()
Number of vertices on this relation that are aware of its existence.
|
InternalVertex |
getVertex(int pos)
Returns the vertex at the given position (0=OUT, 1=IN) of this relation
|
JanusGraphTransaction |
graph() |
boolean |
isEdge()
Checks whether this relation is an edge.
|
boolean |
isPresent() |
boolean |
isProperty()
Checks whether this relation is a property.
|
<U> Iterator<org.apache.tinkerpop.gremlin.structure.Property<U>> |
properties(String... propertyKeys) |
void |
setVertexAt(int pos,
InternalVertex vertex) |
String |
toString() |
V |
value() |
direction, getCompareId, getType, id, isIncidentOn, isInvisible, isLoop, it, longId, property, tx, value, valueOrNull, verifyAccessclone, compare, compareTo, equals, hashCode, hasId, isLoaded, isNew, isRemoved, isTemporaryId, setIdfinalize, getClass, notify, notifyAll, wait, wait, waitempty, getRemover, propertyKeydirection, getType, isIncidentOn, isLoop, longId, valuehasId, id, isLoaded, isNew, isRemoved, property, remove, valueOrNullkeys, label, property, valueskeyifPresent, orElse, orElseGet, orElseThrow, removegetPropertyKeysDirect, getValueDirect, removePropertyDirect, setPropertyDirectgetLifeCycle, setIdpublic AbstractVertexProperty(long id,
PropertyKey type,
InternalVertex vertex,
Object value)
public void setVertexAt(int pos,
InternalVertex vertex)
public InternalVertex getVertex(int pos)
InternalRelationgetVertex in interface InternalRelationpublic JanusGraphTransaction graph()
graph in interface org.apache.tinkerpop.gremlin.structure.Elementgraph in interface org.apache.tinkerpop.gremlin.structure.VertexProperty<V>graph in interface JanusGraphElementgraph in interface JanusGraphVertexProperty<V>graph in interface InternalElementpublic <U> Iterator<org.apache.tinkerpop.gremlin.structure.Property<U>> properties(String... propertyKeys)
properties in interface org.apache.tinkerpop.gremlin.structure.Elementproperties in interface org.apache.tinkerpop.gremlin.structure.VertexProperty<V>properties in class AbstractTypedRelationpublic final int getArity()
InternalRelationgetArity in interface InternalRelationpublic final int getLen()
InternalRelationInternalRelation.getArity()getLen in interface InternalRelationpublic JanusGraphVertex element()
JanusGraphVertexPropertyelement in interface org.apache.tinkerpop.gremlin.structure.Property<V>element in interface org.apache.tinkerpop.gremlin.structure.VertexProperty<V>element in interface JanusGraphVertexProperty<V>public V value()
value in interface org.apache.tinkerpop.gremlin.structure.Property<V>public boolean isProperty()
JanusGraphRelationisProperty in interface JanusGraphRelationJanusGraphVertexPropertypublic boolean isEdge()
JanusGraphRelationisEdge in interface JanusGraphRelationJanusGraphEdgepublic boolean isPresent()
isPresent in interface org.apache.tinkerpop.gremlin.structure.Property<V>Copyright © 2012–2023. All rights reserved.