Class Criteria.Predicate

java.lang.Object
org.springframework.data.solr.core.query.Criteria.Predicate
Enclosing class:
Criteria

public static class Criteria.Predicate extends Object
Single entry to be used when defining search criteria
  • Constructor Details

  • Method Details

    • getKey

      @Nullable public String getKey()
      Returns:
      null if not set
    • setKey

      public void setKey(String key)
      set the operation key to be applied when parsing query
      Parameters:
      key -
    • getValue

      @Nullable public Object getValue()
      Returns:
      null if not set
    • setValue

      public void setValue(Object value)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isFunction

      public boolean isFunction()
      Returns:
      true if the key matches Criteria.OperationKey.FUNCTION.
      Since:
      4.1