public interface RelationTypeIndex extends Index
RelationType
to speed up vertex-centric indexes for that type.
A RelationTypeIndex is created via
JanusGraphManagement.buildEdgeIndex(org.janusgraph.core.EdgeLabel, String, org.apache.tinkerpop.gremlin.structure.Direction, org.apache.tinkerpop.gremlin.process.traversal.Order, org.janusgraph.core.PropertyKey...)
for edge labels and
JanusGraphManagement.buildPropertyIndex(org.janusgraph.core.PropertyKey, String, org.apache.tinkerpop.gremlin.process.traversal.Order, org.janusgraph.core.PropertyKey...)
for property keys.
This interface allows the inspection of already defined RelationTypeIndex'es. An existing index on a RelationType
can be retrieved via JanusGraphManagement.getRelationIndex(org.janusgraph.core.RelationType, String)
.
Modifier and Type | Method and Description |
---|---|
org.apache.tinkerpop.gremlin.structure.Direction |
getDirection()
Returns the direction on which this index is installed.
|
SchemaStatus |
getIndexStatus()
Returns the status of this index
|
RelationType[] |
getSortKey()
Returns the (composite) sort key for this index.
|
org.apache.tinkerpop.gremlin.process.traversal.Order |
getSortOrder()
Returns the sort order of this index.
|
RelationType |
getType()
Returns the
RelationType on which this index is installed. |
name
RelationType getType()
RelationType
on which this index is installed.org.apache.tinkerpop.gremlin.process.traversal.Order getSortOrder()
RelationType[] getSortKey()
RelationType
sorg.apache.tinkerpop.gremlin.structure.Direction getDirection()
SchemaStatus getIndexStatus()
Copyright © 2012–2023. All rights reserved.