Interface SearchNumberRangeValue

All Superinterfaces:
SearchQueryExpressionValue

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

     SearchNumberRangeValue searchNumberRangeValue = SearchNumberRangeValue.builder()
             .field("{field}")
             .build()
 
  • Method Details

    • getGte

      Double getGte()
      Returns:
      gte
    • getGt

      Double getGt()
      Returns:
      gt
    • getLte

      Double getLte()
      Returns:
      lte
    • getLt

      Double getLt()
      Returns:
      lt
    • setGte

      void setGte(Double gte)
      set gte
      Parameters:
      gte - value to be set
    • setGt

      void setGt(Double gt)
      set gt
      Parameters:
      gt - value to be set
    • setLte

      void setLte(Double lte)
      set lte
      Parameters:
      lte - value to be set
    • setLt

      void setLt(Double lt)
      set lt
      Parameters:
      lt - value to be set
    • of

      factory method
      Returns:
      instance of SearchNumberRangeValue
    • of

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

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

      builder factory method for SearchNumberRangeValue
      Returns:
      builder
    • builder

      create builder for SearchNumberRangeValue instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withSearchNumberRangeValue

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