Interface SearchQueryExpressionValue

All Known Subinterfaces:
SearchAnyValue, SearchDateRangeValue, SearchDateTimeRangeValue, SearchExistsValue, SearchFullTextPrefixValue, SearchFullTextValue, SearchLongRangeValue, SearchNumberRangeValue, SearchTimeRangeValue

public interface SearchQueryExpressionValue
SearchQueryExpressionValue
Example to create an instance using the builder pattern

     SearchQueryExpressionValue searchQueryExpressionValue = SearchQueryExpressionValue.builder()
             .field("{field}")
             .build()
 
  • Method Details

    • getField

      @NotNull @NotNull String getField()
      Returns:
      field
    • getBoost

      Double getBoost()
      Returns:
      boost
    • getFieldType

      SearchFieldType getFieldType()

      Possible values for the fieldType property on query expressions indicating the data type of the field.

      Returns:
      fieldType
    • setField

      void setField(String field)
      set field
      Parameters:
      field - value to be set
    • setBoost

      void setBoost(Double boost)
      set boost
      Parameters:
      boost - value to be set
    • setFieldType

      void setFieldType(SearchFieldType fieldType)

      Possible values for the fieldType property on query expressions indicating the data type of the field.

      Parameters:
      fieldType - value to be set
    • of

      factory method
      Returns:
      instance of SearchQueryExpressionValue
    • of

      factory method to create a shallow copy SearchQueryExpressionValue
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

      factory method to create a deep copy of SearchQueryExpressionValue
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      builder factory method for SearchQueryExpressionValue
      Returns:
      builder
    • builder

      create builder for SearchQueryExpressionValue instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withSearchQueryExpressionValue

      default <T> T withSearchQueryExpressionValue(Function<SearchQueryExpressionValue,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<SearchQueryExpressionValue> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference