public interface RelationTypeIndex extends TitanSchemaElement
RelationType to speed up vertex-centric indexes for that type.
A RelationTypeIndex is created via
TitanManagement.createEdgeIndex(com.thinkaurelius.titan.core.EdgeLabel, String, com.tinkerpop.blueprints.Direction, com.thinkaurelius.titan.core.Order, com.thinkaurelius.titan.core.RelationType...)
for edge labels and
TitanManagement.createPropertyIndex(com.thinkaurelius.titan.core.PropertyKey, String, com.thinkaurelius.titan.core.Order, com.thinkaurelius.titan.core.RelationType...)
for property keys.
This interface allows the inspection of already defined RelationTypeIndex'es. An existing index on a RelationType
can be retrieved via TitanManagement.getRelationIndex(com.thinkaurelius.titan.core.RelationType, String).| Modifier and Type | Method and Description |
|---|---|
com.tinkerpop.blueprints.Direction |
getDirection()
Returns the direction on which this index is installed.
|
RelationType[] |
getSortKey()
Returns the (composite) sort key for this index.
|
Order |
getSortOrder()
Returns the sort order of this index.
|
RelationType |
getType()
Returns the
RelationType on which this index is installed. |
getNameRelationType getType()
RelationType on which this index is installed.Order getSortOrder()
RelationType[] getSortKey()
RelationTypescom.tinkerpop.blueprints.Direction getDirection()
Copyright © 2012–2014. All rights reserved.