public class FulgoraVertex<S> extends CacheVertex
| Modifier and Type | Method and Description |
|---|---|
boolean |
addRelation(InternalRelation e)
Add a new relation to the vertex
|
protected void |
addToQueryCache(SliceQuery query,
EntryList entries) |
List<InternalRelation> |
getAddedRelations(com.google.common.base.Predicate<InternalRelation> query)
Returns an iterable over all newly added relations incident on this vertex that match the given predicate
|
byte |
getLifeCycle() |
<A> A |
getProperty(PropertyKey key)
Retrieves the value associated with the given key on this vertex and casts it to the specified type.
|
<A> A |
getProperty(String key)
Retrieves the value associated with the given key on this vertex and casts it to the specified type.
|
VertexLabel |
getVertexLabel()
Special handling to provide access to the label even though its a different vertex by accessing it directly
in the enclosing transaction which will cache all vertex labels
|
boolean |
hasAddedRelations()
Whether this vertex has added relations
|
boolean |
hasLoadedRelations(SliceQuery query)
Returns true if the results for the given query have already been loaded for this vertex and are locally cached.
|
boolean |
hasRemovedRelations()
Whether this vertex has removed relations
|
VertexCentricQueryBuilder |
query()
Starts a new
TitanVertexQuery for this vertex. |
void |
removeRelation(InternalRelation e)
Deleted relation e from the adjacency list of this vertex and updates the state of the vertex to reflect
the modification.
|
loadRelationsremoveaddEdge, addEdge, addEdge, addProperty, addProperty, getCompareId, getEdgeCount, getEdges, getEdges, getId, getLabel, getProperties, getProperties, getProperties, getPropertyCount, getPropertyKeys, getRelations, getTitanEdges, getVertexLabelInternal, getVertices, isConnected, isModified, it, removeProperty, removeProperty, setProperty, setProperty, toString, txclone, compareTo, equals, getID, hashCode, hasId, isHidden, isImplicitId, isLoaded, isNew, isRemoved, isTemporaryId, setIDfinalize, getClass, notify, notifyAll, wait, wait, waitisHidden, setIDgetID, hasId, isLoaded, isNew, isRemovedcompareTopublic <A> A getProperty(String key)
TitanElementgetProperty in interface TitanElementgetProperty in interface com.tinkerpop.blueprints.ElementgetProperty in class AbstractVertexkey - string identifying a keypublic <A> A getProperty(PropertyKey key)
TitanElementgetProperty in interface TitanElementgetProperty in class AbstractVertexkey - keyprotected void addToQueryCache(SliceQuery query, EntryList entries)
addToQueryCache in class CacheVertexpublic VertexCentricQueryBuilder query()
TitanVertexTitanVertexQuery for this vertex.
Initializes and returns a new TitanVertexQuery based on this vertex.query in interface TitanVertexquery in interface InternalVertexquery in interface com.tinkerpop.blueprints.Vertexquery in class AbstractVertexTitanVertexQuerypublic VertexLabel getVertexLabel()
getVertexLabel in interface TitanVertexgetVertexLabel in class AbstractVertexpublic List<InternalRelation> getAddedRelations(com.google.common.base.Predicate<InternalRelation> query)
InternalVertexgetAddedRelations in interface InternalVertexgetAddedRelations in class StandardVertexpublic boolean hasLoadedRelations(SliceQuery query)
InternalVertexhasLoadedRelations in interface InternalVertexhasLoadedRelations in class CacheVertexpublic boolean hasRemovedRelations()
InternalVertexhasRemovedRelations in interface InternalVertexhasRemovedRelations in class StandardVertexpublic boolean hasAddedRelations()
InternalVertexhasAddedRelations in interface InternalVertexhasAddedRelations in class StandardVertexpublic byte getLifeCycle()
getLifeCycle in interface InternalElementgetLifeCycle in class StandardVertexElementLifeCyclepublic void removeRelation(InternalRelation e)
InternalVertexremoveRelation in interface InternalVertexremoveRelation in class StandardVertexe - TitanRelation to be removedpublic boolean addRelation(InternalRelation e)
InternalVertexaddRelation in interface InternalVertexaddRelation in class StandardVertexCopyright © 2012–2014. All rights reserved.