Spring Data Solr

org.springframework.data.solr.core.query
Class SimpleStringCriteria

java.lang.Object
  extended by org.springframework.data.solr.core.query.Criteria
      extended by org.springframework.data.solr.core.query.SimpleStringCriteria
All Implemented Interfaces:
QueryStringHolder

public class SimpleStringCriteria
extends Criteria
implements QueryStringHolder

The most basic criteria holding an already formatted QueryString that can be executed 'as is' against the solr server

Author:
Christoph Strobl

Nested Class Summary
 
Nested classes/interfaces inherited from class org.springframework.data.solr.core.query.Criteria
Criteria.CriteriaEntry, Criteria.OperationKey
 
Field Summary
 
Fields inherited from class org.springframework.data.solr.core.query.Criteria
CRITERIA_VALUE_SEPERATOR, WILDCARD
 
Constructor Summary
SimpleStringCriteria(String queryString)
           
 
Method Summary
 String getQueryString()
          Get the the query string to use
 String toString()
           
 
Methods inherited from class org.springframework.data.solr.core.query.Criteria
and, and, and, and, between, between, boost, contains, contains, contains, endsWith, endsWith, endsWith, expression, function, fuzzy, fuzzy, getBoost, getConjunctionOperator, getCriteriaChain, getCriteriaEntries, getField, greaterThan, greaterThanEqual, in, in, is, is, is, isNegating, isNotNull, isNull, lessThan, lessThanEqual, near, near, not, or, or, or, sloppy, startsWith, startsWith, startsWith, where, where, where, within
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleStringCriteria

public SimpleStringCriteria(String queryString)
Parameters:
queryString -
Method Detail

getQueryString

public String getQueryString()
Description copied from interface: QueryStringHolder
Get the the query string to use

Specified by:
getQueryString in interface QueryStringHolder
Returns:

toString

public String toString()
Overrides:
toString in class Object

Spring Data Solr

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