public class FulgoraVertexProperty<V> extends Object implements TitanVertexProperty<V>
| Type | Property and Description |
|---|---|
boolean |
is
Gets the value of the property property.
|
| Constructor and Description |
|---|
FulgoraVertexProperty(com.thinkaurelius.titan.graphdb.olap.computer.VertexMemoryHandler mixinParent,
TitanVertex vertex,
String key,
V value) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.tinkerpop.gremlin.structure.Direction |
direction(org.apache.tinkerpop.gremlin.structure.Vertex vertex)
Returns the direction of this relation from the perspective of the specified vertex.
|
TitanVertex |
element()
Returns the vertex on which this property is incident.
|
RelationType |
getType()
Returns the type of this relation.
|
boolean |
hasId()
Checks whether this entity has a unique identifier.
|
boolean |
isEdge()
Checks whether this relation is an edge.
|
boolean |
isIncidentOn(org.apache.tinkerpop.gremlin.structure.Vertex vertex)
Checks whether this relation is incident on the specified vertex.
|
boolean |
isLoaded()
Checks whether this entity has been loaded into the current transaction and not yet modified.
|
boolean |
isLoop()
Checks whether this relation is a loop.
|
boolean |
isNew()
Checks whether this entity has been newly created in the current transaction.
|
boolean |
isPresent() |
boolean |
isProperty()
Gets the value of the property property.
|
boolean |
isRemoved()
Checks whether this entity has been deleted into the current transaction.
|
String |
key() |
long |
longId()
Unique identifier for this entity.
|
<V> Iterator<org.apache.tinkerpop.gremlin.structure.Property<V>> |
properties(String... propertyKeys) |
<V> org.apache.tinkerpop.gremlin.structure.Property<V> |
property(String s,
V v)
Sets the value for the given key on this element.
|
void |
remove()
Deletes this entity and any incident edges or properties from the graph.
|
V |
value() |
<V> V |
value(String key)
Retrieves the value associated with the given key on this vertex and casts it to the specified type.
|
<V> V |
valueOrNull(PropertyKey key)
Retrieves the value associated with the given key on this element and casts it to the specified type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgraph, propertyKeyidpublic boolean isProperty
isProperty in interface TitanRelationTitanVertexPropertypublic FulgoraVertexProperty(com.thinkaurelius.titan.graphdb.olap.computer.VertexMemoryHandler mixinParent,
TitanVertex vertex,
String key,
V value)
public String key()
key in interface TitanProperty<V>key in interface org.apache.tinkerpop.gremlin.structure.Property<V>public V value() throws NoSuchElementException
value in interface org.apache.tinkerpop.gremlin.structure.Property<V>NoSuchElementExceptionpublic boolean isPresent()
isPresent in interface org.apache.tinkerpop.gremlin.structure.Property<V>public 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 void remove()
TitanElementremove in interface TitanElementremove in interface Removableremove in interface org.apache.tinkerpop.gremlin.structure.Elementremove in interface org.apache.tinkerpop.gremlin.structure.Property<V>public long longId()
TitanElementTitanElement.id() for the permanent id.longId in interface IdfiablelongId in interface TitanElementpublic boolean hasId()
TitanElementhasId in interface TitanElementTitanElement.longId()public <V> org.apache.tinkerpop.gremlin.structure.Property<V> property(String s, V v)
TitanElementCardinality.SINGLE, otherwise this method throws an exception.property in interface TitanElementproperty in interface org.apache.tinkerpop.gremlin.structure.Elements - the string identifying the keyv - the object valuepublic <V> V valueOrNull(PropertyKey key)
TitanElementvalueOrNull in interface TitanElementkey - keypublic boolean isNew()
TitanElementisNew in interface TitanElementpublic boolean isLoaded()
TitanElementisLoaded in interface TitanElementpublic boolean isRemoved()
TitanElementisRemoved in interface TitanElementpublic <V> V value(String key)
TitanRelationvalue in interface TitanRelationvalue in interface org.apache.tinkerpop.gremlin.structure.Elementkey - string identifying a keypublic RelationType getType()
TitanRelationEdgeLabel if this relation is an edge or a key (PropertyKey) if this
relation is a property.getType in interface TitanRelationpublic org.apache.tinkerpop.gremlin.structure.Direction direction(org.apache.tinkerpop.gremlin.structure.Vertex vertex)
TitanRelationdirection in interface TitanRelationvertex - vertex on which the relation is incidentpublic boolean isIncidentOn(org.apache.tinkerpop.gremlin.structure.Vertex vertex)
TitanRelationisIncidentOn in interface TitanRelationvertex - vertex to check incidence forpublic boolean isLoop()
TitanRelationisLoop in interface TitanRelationpublic boolean isProperty()
isProperty in interface TitanRelationTitanVertexPropertypublic boolean isEdge()
TitanRelationisEdge in interface TitanRelationTitanEdgeCopyright © 2012–2015. All rights reserved.