All Implemented Interfaces:
QueryVariant, JsonpSerializable

public class WildcardQuery
extends QueryBase
implements QueryVariant
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static WildcardQuery of​(java.util.function.Function<WildcardQuery.Builder,​ObjectBuilder<WildcardQuery>> fn)
    • _queryKind

      public Query.Kind _queryKind()
      Query variant kind.
      Specified by:
      _queryKind in interface QueryVariant
    • field

      public final java.lang.String field()
      Required - The target field
    • caseInsensitive

      @Nullable public final java.lang.Boolean caseInsensitive()
      Allows case insensitive matching of the pattern with the indexed field values when set to true. Default is false which means the case sensitivity of matching depends on the underlying field’s mapping.

      API name: case_insensitive

    • rewrite

      @Nullable public final java.lang.String rewrite()
      Method used to rewrite the query

      API name: rewrite

    • value

      @Nullable public final java.lang.String value()
      Wildcard pattern for terms you wish to find in the provided field. Required, when wildcard is not set.

      API name: value

    • wildcard

      @Nullable public final java.lang.String wildcard()
      Wildcard pattern for terms you wish to find in the provided field. Required, when value is not set.

      API name: wildcard

    • serializeInternal

      protected void serializeInternal​( generator, JsonpMapper mapper)
      serializeInternal in class QueryBase
    • setupWildcardQueryDeserializer

      protected static void setupWildcardQueryDeserializer​(ObjectDeserializer<WildcardQuery.Builder> op)