public class CacheVertex extends StandardVertex
| Constructor and Description |
|---|
CacheVertex(StandardTitanTx tx,
long id,
byte lifecycle) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addToQueryCache(SliceQuery query,
EntryList entries) |
boolean |
hasLoadedRelations(SliceQuery query)
Returns true if the results for the given query have already been loaded for this vertex and are locally cached.
|
EntryList |
loadRelations(SliceQuery query,
Retriever<SliceQuery,EntryList> lookup)
Returns all relations that match the given query.
|
addRelation, getAddedRelations, getLifeCycle, hasAddedRelations, hasRemovedRelations, remove, removeRelationaddEdge, addEdge, addEdge, addProperty, addProperty, getCompareId, getEdgeCount, getEdges, getEdges, getId, getLabel, getProperties, getProperties, getProperties, getProperty, getProperty, getPropertyCount, getPropertyKeys, getRelations, getTitanEdges, getVertexLabel, getVertexLabelInternal, getVertices, isConnected, isModified, it, query, 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 CacheVertex(StandardTitanTx tx, long id, byte lifecycle)
protected void addToQueryCache(SliceQuery query, EntryList entries)
public EntryList loadRelations(SliceQuery query, Retriever<SliceQuery,EntryList> lookup)
InternalVertexRetriever to retrieve the edges from backend storage.loadRelations in interface InternalVertexloadRelations in class StandardVertexpublic boolean hasLoadedRelations(SliceQuery query)
InternalVertexhasLoadedRelations in interface InternalVertexhasLoadedRelations in class StandardVertexCopyright © 2012–2014. All rights reserved.