Spring Data Solr

org.springframework.data.solr.core.query
Class Criteria.CriteriaEntry

java.lang.Object
  extended by org.springframework.data.solr.core.query.Criteria.CriteriaEntry
Enclosing class:
Criteria

public static class Criteria.CriteriaEntry
extends Object

Single entry to be used when defining search criteria

Author:
Christoph Strobl

Constructor Summary
Criteria.CriteriaEntry(Criteria.OperationKey key, Object value)
           
Criteria.CriteriaEntry(String key, Object value)
           
 
Method Summary
 String getKey()
           
 Object getValue()
           
 void setKey(String key)
          set the operation key to be applied when parsing query
 void setValue(Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Criteria.CriteriaEntry

public Criteria.CriteriaEntry(Criteria.OperationKey key,
                              Object value)

Criteria.CriteriaEntry

public Criteria.CriteriaEntry(String key,
                              Object value)
Method Detail

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)

Spring Data Solr

Copyright © 2011-2014-2014 Pivotal. All Rights Reserved.