public abstract class AbstractVertexProperty<V> extends AbstractTypedRelation implements TitanVertexProperty<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 |
|---|---|
TitanVertex |
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
|
TitanTransaction |
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 TitanRelationTitanVertexPropertypublic 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 TitanTransaction graph()
graph in interface TitanElementgraph in interface TitanVertexProperty<V>graph in interface InternalElementgraph in interface org.apache.tinkerpop.gremlin.structure.Elementgraph in interface org.apache.tinkerpop.gremlin.structure.VertexProperty<V>public <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 TitanVertex element()
TitanVertexPropertyelement in interface TitanVertexProperty<V>element in interface org.apache.tinkerpop.gremlin.structure.Property<V>element in interface org.apache.tinkerpop.gremlin.structure.VertexProperty<V>public V value()
value in interface org.apache.tinkerpop.gremlin.structure.Property<V>public boolean isProperty()
isProperty in interface TitanRelationTitanVertexPropertypublic boolean isEdge()
TitanRelationisEdge in interface TitanRelationTitanEdgepublic boolean isPresent()
isPresent in interface org.apache.tinkerpop.gremlin.structure.Property<V>Copyright © 2012–2015. All rights reserved.