public class TitanGraphIndexWrapper extends Object implements TitanGraphIndex
| Constructor and Description |
|---|
TitanGraphIndexWrapper(IndexType index) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBackingIndex()
Returns the name of the backing index.
|
PropertyKey[] |
getFieldKeys()
Returns the indexed keys of this index.
|
Class<? extends org.apache.tinkerpop.gremlin.structure.Element> |
getIndexedElement()
Returns which element type is being indexed by this index (vertex, edge, or property)
|
SchemaStatus |
getIndexStatus(PropertyKey key)
Returns the status of this index with respect to the provided
PropertyKey. |
Parameter[] |
getParametersFor(PropertyKey key)
Returns the parameters associated with an indexed key of this index.
|
boolean |
isCompositeIndex()
Whether this is a composite index
|
boolean |
isMixedIndex()
Whether this is a mixed index
|
boolean |
isUnique()
Whether this is a unique index, i.e.
|
String |
name()
Returns the name of the index
|
String |
toString() |
public TitanGraphIndexWrapper(IndexType index)
public String name()
TitanGraphIndexname in interface Namifiablename in interface TitanGraphIndexpublic String getBackingIndex()
TitanGraphIndexgetBackingIndex in interface TitanGraphIndexpublic Class<? extends org.apache.tinkerpop.gremlin.structure.Element> getIndexedElement()
TitanGraphIndexgetIndexedElement in interface TitanGraphIndexpublic PropertyKey[] getFieldKeys()
TitanGraphIndexgetFieldKeys in interface TitanGraphIndexpublic Parameter[] getParametersFor(PropertyKey key)
TitanGraphIndexgetParametersFor in interface TitanGraphIndexpublic boolean isUnique()
TitanGraphIndexisUnique in interface TitanGraphIndexpublic SchemaStatus getIndexStatus(PropertyKey key)
TitanGraphIndexPropertyKey.
For composite indexes, the key is ignored and the status of the index as a whole is returned.
For mixed indexes, the status of that particular key within the index is returned.getIndexStatus in interface TitanGraphIndexpublic boolean isCompositeIndex()
TitanGraphIndexisCompositeIndex in interface TitanGraphIndexpublic boolean isMixedIndex()
TitanGraphIndexisMixedIndex in interface TitanGraphIndexCopyright © 2012–2015. All rights reserved.