public class FulgoraVertexProperty<V> extends Object implements JanusGraphVertexProperty<V>
| Type | Property and Description |
|---|---|
boolean |
is
Gets the value of the property property.
|
| Constructor and Description |
|---|
FulgoraVertexProperty(org.janusgraph.graphdb.olap.computer.VertexMemoryHandler mixinParent,
JanusGraphVertex 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.
|
JanusGraphVertex |
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 JanusGraphRelationJanusGraphVertexPropertypublic FulgoraVertexProperty(org.janusgraph.graphdb.olap.computer.VertexMemoryHandler mixinParent,
JanusGraphVertex vertex,
String key,
V value)
public String key()
key in interface org.apache.tinkerpop.gremlin.structure.Property<V>key in interface JanusGraphProperty<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 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 void remove()
JanusGraphElementremove in interface org.apache.tinkerpop.gremlin.structure.Elementremove in interface org.apache.tinkerpop.gremlin.structure.Property<V>remove in interface JanusGraphElementremove in interface Removablepublic long longId()
JanusGraphElementJanusGraphElement.id() for the permanent id.longId in interface IdfiablelongId in interface JanusGraphElementpublic boolean hasId()
JanusGraphElementhasId in interface JanusGraphElementJanusGraphElement.longId()public <V> org.apache.tinkerpop.gremlin.structure.Property<V> property(String s, V v)
JanusGraphElementCardinality.SINGLE, otherwise this method throws an exception.property in interface org.apache.tinkerpop.gremlin.structure.Elementproperty in interface JanusGraphElements - the string identifying the keyv - the object valuepublic <V> V valueOrNull(PropertyKey key)
JanusGraphElementvalueOrNull in interface JanusGraphElementkey - keypublic boolean isNew()
JanusGraphElementisNew in interface JanusGraphElementpublic boolean isLoaded()
JanusGraphElementisLoaded in interface JanusGraphElementpublic boolean isRemoved()
JanusGraphElementisRemoved in interface JanusGraphElementpublic <V> V value(String key)
JanusGraphRelationvalue in interface org.apache.tinkerpop.gremlin.structure.Elementvalue in interface JanusGraphRelationkey - string identifying a keypublic RelationType getType()
JanusGraphRelationEdgeLabel if this relation is an edge or a key (PropertyKey) if this
relation is a property.getType in interface JanusGraphRelationpublic org.apache.tinkerpop.gremlin.structure.Direction direction(org.apache.tinkerpop.gremlin.structure.Vertex vertex)
JanusGraphRelationdirection in interface JanusGraphRelationvertex - vertex on which the relation is incidentpublic boolean isIncidentOn(org.apache.tinkerpop.gremlin.structure.Vertex vertex)
JanusGraphRelationisIncidentOn in interface JanusGraphRelationvertex - vertex to check incidence forpublic boolean isLoop()
JanusGraphRelationisLoop in interface JanusGraphRelationpublic boolean isProperty()
isProperty in interface JanusGraphRelationJanusGraphVertexPropertypublic boolean isEdge()
JanusGraphRelationisEdge in interface JanusGraphRelationJanusGraphEdgeCopyright © 2012–2017. All rights reserved.