Interface SearchLongRangeValue

All Superinterfaces:
SearchQueryExpressionValue

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

     SearchLongRangeValue searchLongRangeValue = SearchLongRangeValue.builder()
             .field("{field}")
             .build()
 
  • Method Details

    • getGte

      Long getGte()
      Returns:
      gte
    • getGt

      Long getGt()
      Returns:
      gt
    • getLte

      Long getLte()
      Returns:
      lte
    • getLt

      Long getLt()
      Returns:
      lt
    • setGte

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

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

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

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

      static SearchLongRangeValue of()
      factory method
      Returns:
      instance of SearchLongRangeValue
    • of

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

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

      static SearchLongRangeValueBuilder builder()
      builder factory method for SearchLongRangeValue
      Returns:
      builder
    • builder

      create builder for SearchLongRangeValue instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withSearchLongRangeValue

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