Interface SearchQueryExpression

All Superinterfaces:
SearchQuery
All Known Subinterfaces:
SearchDateRangeExpression, SearchDateTimeRangeExpression, SearchExactExpression, SearchExistsExpression, SearchFullTextExpression, SearchFullTextPrefixExpression, SearchLongRangeExpression, SearchNumberRangeExpression, SearchPrefixExpression, SearchTimeRangeExpression, SearchWildCardExpression

public interface SearchQueryExpression extends SearchQuery
SearchQueryExpression
Example to create an instance using the builder pattern

     SearchQueryExpression searchQueryExpression = SearchQueryExpression.builder()
             .build()
 
  • Method Details

    • of

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

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

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

      static SearchQueryExpressionBuilder builder()
      builder factory method for SearchQueryExpression
      Returns:
      builder
    • builder

      create builder for SearchQueryExpression instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withSearchQueryExpression

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