Interface SearchAnyValue

All Superinterfaces:
SearchQueryExpressionValue

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

     SearchAnyValue searchAnyValue = SearchAnyValue.builder()
             .field("{field}")
             .build()
 
  • Method Details

    • getValue

      @NotNull @NotNull Object getValue()
      Returns:
      value
    • getLanguage

      String getLanguage()

      String value specifying linguistic and regional preferences using the IETF language tag format, as described in BCP 47. The format combines language, script, and region using hyphen-separated subtags. For example: en, en-US, zh-Hans-SG.

      Returns:
      language
    • getCaseInsensitive

      Boolean getCaseInsensitive()
      Returns:
      caseInsensitive
    • setValue

      void setValue(Object value)
      set value
      Parameters:
      value - value to be set
    • setLanguage

      void setLanguage(String language)

      String value specifying linguistic and regional preferences using the IETF language tag format, as described in BCP 47. The format combines language, script, and region using hyphen-separated subtags. For example: en, en-US, zh-Hans-SG.

      Parameters:
      language - value to be set
    • setCaseInsensitive

      void setCaseInsensitive(Boolean caseInsensitive)
      set caseInsensitive
      Parameters:
      caseInsensitive - value to be set
    • of

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

      static SearchAnyValue of(SearchAnyValue template)
      factory method to create a shallow copy SearchAnyValue
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

      @Nullable static SearchAnyValue deepCopy(@Nullable SearchAnyValue template)
      factory method to create a deep copy of SearchAnyValue
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      static SearchAnyValueBuilder builder()
      builder factory method for SearchAnyValue
      Returns:
      builder
    • builder

      static SearchAnyValueBuilder builder(SearchAnyValue template)
      create builder for SearchAnyValue instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withSearchAnyValue

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