Class KqlParsingContext

java.lang.Object
org.elasticsearch.xpack.kql.parser.KqlParsingContext

public class KqlParsingContext extends Object
  • Constructor Details

  • Method Details

    • builder

      public static KqlParsingContext.Builder builder(QueryRewriteContext queryRewriteContext)
    • caseInsensitive

      public boolean caseInsensitive()
    • timeZone

      public ZoneId timeZone()
    • defaultField

      public String defaultField()
    • nestedPath

      public String nestedPath(String fieldName)
    • isNestedField

      public boolean isNestedField(String fieldName)
    • resolveFieldNames

      public Set<String> resolveFieldNames(String fieldNamePattern)
    • resolveDefaultFieldNames

      public Set<String> resolveDefaultFieldNames()
    • fieldType

      public MappedFieldType fieldType(String fieldName)
    • isRuntimeField

      public static boolean isRuntimeField(MappedFieldType fieldType)
    • isDateField

      public boolean isDateField(String fieldName)
    • isRangeField

      public boolean isRangeField(String fieldName)
    • isDateField

      public static boolean isDateField(MappedFieldType fieldType)
    • isKeywordField

      public static boolean isKeywordField(MappedFieldType fieldType)
    • isSearchableField

      public static boolean isSearchableField(String fieldName, MappedFieldType fieldType)
    • isSearchableField

      public boolean isSearchableField(String fieldName)
    • nestedScope

      public NestedScope nestedScope()
    • withNestedPath

      public <T> T withNestedPath(String nestedFieldName, Supplier<T> supplier)
    • currentNestedPath

      public String currentNestedPath()
    • fullFieldName

      public String fullFieldName(String fieldName)