org.springframework.data.solr.core.query
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
- Author:
- Christoph Strobl, Francisco Spaeth
Criteria.Predicate
public Criteria.Predicate(Criteria.OperationKey key,
Object value)
Criteria.Predicate
public Criteria.Predicate(String key,
Object value)
getKey
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
public Object getValue()
- Returns:
- null if not set
setValue
public void setValue(Object value)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2011-2014-2014 Pivotal Software, Inc.. All Rights Reserved.