Interface OrderSearchQueryExpressionValue

All Known Subinterfaces:
OrderSearchAnyValue, OrderSearchDateRangeValue, OrderSearchFullTextValue, OrderSearchLongRangeValue, OrderSearchNumberRangeValue, OrderSearchStringValue

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

     OrderSearchQueryExpressionValue orderSearchQueryExpressionValue = OrderSearchQueryExpressionValue.builder()
             .field("{field}")
             .build()
 
  • Method Details

    • getField

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

      Integer getBoost()
      Returns:
      boost
    • getCustomType

      OrderSearchCustomType getCustomType()

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

      Returns:
      customType
    • setField

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

      void setBoost(Integer boost)
      set boost
      Parameters:
      boost - value to be set
    • setCustomType

      void setCustomType(OrderSearchCustomType customType)

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

      Parameters:
      customType - value to be set
    • of

      factory method
      Returns:
      instance of OrderSearchQueryExpressionValue
    • of

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

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

      builder factory method for OrderSearchQueryExpressionValue
      Returns:
      builder
    • builder

      create builder for OrderSearchQueryExpressionValue instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withOrderSearchQueryExpressionValue

      default <T> T withOrderSearchQueryExpressionValue(Function<OrderSearchQueryExpressionValue,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<OrderSearchQueryExpressionValue> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference