public class StandardIndexInformation extends Object implements IndexInformation
Modifier and Type | Field and Description |
---|---|
static StandardIndexInformation |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
IndexFeatures |
getFeatures()
The features of this index
|
String |
mapKey2Field(String key,
KeyInformation information)
Adjusts the name of the key so that it is a valid field name that can be used in the index.
|
boolean |
supports(KeyInformation information)
Whether the index supports indexing a key with the given information
|
boolean |
supports(KeyInformation information,
JanusGraphPredicate janusgraphPredicate)
Whether the index supports executing queries with the given predicate against a key with the given information
|
public static final StandardIndexInformation INSTANCE
public boolean supports(KeyInformation information, JanusGraphPredicate janusgraphPredicate)
IndexInformation
supports
in interface IndexInformation
public boolean supports(KeyInformation information)
IndexInformation
supports
in interface IndexInformation
public String mapKey2Field(String key, KeyInformation information)
IndexInformation
Note, that mapped field names (either configured on a per key basis or through a global configuration) are not adjusted and handed to the index verbatim.
mapKey2Field
in interface IndexInformation
public IndexFeatures getFeatures()
IndexInformation
getFeatures
in interface IndexInformation
Copyright © 2012–2018. All rights reserved.