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)
IndexInformationsupports in interface IndexInformationpublic boolean supports(KeyInformation information)
IndexInformationsupports in interface IndexInformationpublic String mapKey2Field(String key, KeyInformation information)
IndexInformationNote, 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 IndexInformationpublic IndexFeatures getFeatures()
IndexInformationgetFeatures in interface IndexInformationCopyright © 2012–2018. All rights reserved.