public class JanusGraphIndexWrapper extends Object implements JanusGraphIndex
| Constructor and Description |
|---|
JanusGraphIndexWrapper(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 JanusGraphIndexWrapper(IndexType index)
public String name()
JanusGraphIndexname in interface Namifiablename in interface JanusGraphIndexpublic String getBackingIndex()
JanusGraphIndexgetBackingIndex in interface JanusGraphIndexpublic Class<? extends org.apache.tinkerpop.gremlin.structure.Element> getIndexedElement()
JanusGraphIndexgetIndexedElement in interface JanusGraphIndexpublic PropertyKey[] getFieldKeys()
JanusGraphIndexgetFieldKeys in interface JanusGraphIndexpublic Parameter[] getParametersFor(PropertyKey key)
JanusGraphIndexgetParametersFor in interface JanusGraphIndexpublic boolean isUnique()
JanusGraphIndexisUnique in interface JanusGraphIndexpublic SchemaStatus getIndexStatus(PropertyKey key)
JanusGraphIndexPropertyKey.
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 JanusGraphIndexpublic boolean isCompositeIndex()
JanusGraphIndexisCompositeIndex in interface JanusGraphIndexpublic boolean isMixedIndex()
JanusGraphIndexisMixedIndex in interface JanusGraphIndexCopyright © 2012–2023. All rights reserved.