Interface SearchPrefixExpression

All Superinterfaces:
SearchQuery, SearchQueryExpression

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

     SearchPrefixExpression searchPrefixExpression = SearchPrefixExpression.builder()
             .prefix(prefixBuilder -> prefixBuilder)
             .build()
 
  • Method Details

    • getPrefix

      @NotNull @Valid @NotNull @Valid SearchAnyValue getPrefix()
      Returns:
      prefix
    • setPrefix

      void setPrefix(SearchAnyValue prefix)
      set prefix
      Parameters:
      prefix - value to be set
    • of

      factory method
      Returns:
      instance of SearchPrefixExpression
    • of

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

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

      builder factory method for SearchPrefixExpression
      Returns:
      builder
    • builder

      create builder for SearchPrefixExpression instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withSearchPrefixExpression

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