public abstract class AbstractVertexProperty<V> extends AbstractTypedRelation implements JanusGraphVertexProperty<V>
| Type | Property and Description |
|---|---|
boolean |
is
Gets the value of the property property.
|
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()
Gets the value of the property property.
|
<U> Iterator<org.apache.tinkerpop.gremlin.structure.Property<U>> |
properties(String... propertyKeys) |
void |
setVertexAt(int pos,
InternalVertex vertex) |
String |
toString() |
V |
value() |
direction, getType, id, isIncidentOn, isInvisible, isLoop, it, property, tx, value, valueOrNull, verifyAccessclone, compare, compareTo, equals, getCompareId, hashCode, hasId, isLoaded, isNew, isRemoved, isTemporaryId, longId, setIdfinalize, getClass, notify, notifyAll, wait, wait, waitpropertyKeydirection, getType, isIncidentOn, isLoop, valuehasId, id, isLoaded, isNew, isRemoved, longId, property, remove, valueOrNullkeys, label, property, valueskeyifPresent, orElse, orElseGet, orElseThrow, removegetPropertyKeysDirect, getValueDirect, removePropertyDirect, setPropertyDirectgetLifeCycle, setIdpublic boolean isProperty
isProperty in interface JanusGraphRelationpublic 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()
isProperty in interface JanusGraphRelationpublic boolean isEdge()
JanusGraphRelationisEdge in interface JanusGraphRelationJanusGraphEdgepublic boolean isPresent()
isPresent in interface org.apache.tinkerpop.gremlin.structure.Property<V>Copyright © 2012–2018. All rights reserved.