public interface TitanKey extends TitanType
TitanType
for properties.
In addition to TitanType
, TitanKey defines:
TitanTransaction.query()
. The type of index can be configured individually
for each key and each element type. For instance, one can define only vertices to be indexed for a particular key.TitanType
Modifier and Type | Method and Description |
---|---|
Class<?> |
getDataType()
Returns the data type for this property key.
|
Iterable<String> |
getIndexes(Class<? extends com.tinkerpop.blueprints.Element> elementType)
Returns the indexes defined for this key and a given element type (vertex or edge).
|
boolean |
hasIndex(String name,
Class<? extends com.tinkerpop.blueprints.Element> elementType)
Checks whether a particular index has been registered for this key on the given element type.
|
getGroup, getName, isEdgeLabel, isModifiable, isPropertyKey, isUnique
addEdge, addEdge, addProperty, addProperty, getEdgeCount, getEdges, getEdges, getProperties, getProperties, getProperties, getPropertyCount, getRelations, getTitanEdges, isConnected, isModified, query
getId, getID, getProperty, getProperty, hasId, isLoaded, isNew, isRemoved, remove, removeProperty, removeProperty, setProperty, setProperty
compareTo
Class<?> getDataType()
Iterable<String> getIndexes(Class<? extends com.tinkerpop.blueprints.Element> elementType)
elementType
- vertex or edgeCopyright © 2012-2013. All Rights Reserved.