java.lang.Object
org.elasticsearch.xpack.kql.parser.KqlParsingContext
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionKqlParsingContext(QueryRewriteContext queryRewriteContext, boolean caseInsensitive, ZoneId timeZone, String defaultField) -
Method Summary
Modifier and TypeMethodDescriptionstatic KqlParsingContext.Builderbuilder(QueryRewriteContext queryRewriteContext) booleanfullFieldName(String fieldName) booleanisDateField(String fieldName) static booleanisDateField(MappedFieldType fieldType) static booleanisKeywordField(MappedFieldType fieldType) booleanisNestedField(String fieldName) booleanisRangeField(String fieldName) static booleanisRuntimeField(MappedFieldType fieldType) booleanisSearchableField(String fieldName) static booleanisSearchableField(String fieldName, MappedFieldType fieldType) nestedPath(String fieldName) resolveFieldNames(String fieldNamePattern) timeZone()<T> TwithNestedPath(String nestedFieldName, Supplier<T> supplier)
-
Constructor Details
-
KqlParsingContext
public KqlParsingContext(QueryRewriteContext queryRewriteContext, boolean caseInsensitive, ZoneId timeZone, String defaultField)
-
-
Method Details
-
builder
-
caseInsensitive
public boolean caseInsensitive() -
timeZone
-
defaultField
-
nestedPath
-
isNestedField
-
resolveFieldNames
-
resolveDefaultFieldNames
-
fieldType
-
isRuntimeField
-
isDateField
-
isRangeField
-
isDateField
-
isKeywordField
-
isSearchableField
-
isSearchableField
-
nestedScope
-
withNestedPath
-
currentNestedPath
-
fullFieldName
-