public class TitanSchemaVertex extends CacheVertex implements SchemaSource
SchemaSource.Entry
queryCache
Constructor and Description |
---|
TitanSchemaVertex(StandardTitanTx tx,
long id,
byte lifecycle) |
Modifier and Type | Method and Description |
---|---|
IndexType |
asIndexType() |
TypeDefinitionMap |
getDefinition() |
Iterable<TitanEdge> |
getEdges(TypeDefinitionCategory def,
org.apache.tinkerpop.gremlin.structure.Direction dir) |
Iterable<TitanEdge> |
getEdges(TypeDefinitionCategory def,
org.apache.tinkerpop.gremlin.structure.Direction dir,
TitanSchemaVertex other) |
Iterable<SchemaSource.Entry> |
getRelated(TypeDefinitionCategory def,
org.apache.tinkerpop.gremlin.structure.Direction dir) |
SchemaStatus |
getStatus() |
protected org.apache.tinkerpop.gremlin.structure.Vertex |
getVertexLabelInternal() |
String |
name() |
void |
resetCache()
Resets the internal caches used to speed up lookups on this index type.
|
String |
toString() |
addToQueryCache, getQueryCacheSize, hasLoadedRelations, loadRelations
addRelation, getAddedRelations, getLifeCycle, hasAddedRelations, hasRemovedRelations, remove, removeRelation, updateLifeCycle
addEdge, edges, getCompareId, id, isModified, it, label, properties, property, property, query, tx, valueOrNull, verifyAccess, vertexLabel, vertices
clone, compare, compareTo, equals, hashCode, hasId, isInvisible, isLoaded, isNew, isRemoved, isTemporaryId, longId, setId
finalize, getClass, notify, notifyAll, wait, wait, wait
longId
property
graph, isInvisible, setId
public TitanSchemaVertex(StandardTitanTx tx, long id, byte lifecycle)
public String name()
name
in interface SchemaSource
protected org.apache.tinkerpop.gremlin.structure.Vertex getVertexLabelInternal()
getVertexLabelInternal
in class AbstractVertex
public TypeDefinitionMap getDefinition()
getDefinition
in interface SchemaSource
public Iterable<SchemaSource.Entry> getRelated(TypeDefinitionCategory def, org.apache.tinkerpop.gremlin.structure.Direction dir)
getRelated
in interface SchemaSource
public void resetCache()
ManagementSystem
.resetCache
in interface SchemaSource
public Iterable<TitanEdge> getEdges(TypeDefinitionCategory def, org.apache.tinkerpop.gremlin.structure.Direction dir)
public Iterable<TitanEdge> getEdges(TypeDefinitionCategory def, org.apache.tinkerpop.gremlin.structure.Direction dir, TitanSchemaVertex other)
public String toString()
toString
in class AbstractVertex
public SchemaStatus getStatus()
getStatus
in interface SchemaSource
public IndexType asIndexType()
asIndexType
in interface SchemaSource
Copyright © 2012–2015. All rights reserved.