|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.qi4j.index.solr.NamedSolrDescriptor
public class NamedSolrDescriptor
JAVADOC
Constructor Summary | |
---|---|
NamedSolrDescriptor(String name,
String query)
|
Method Summary | |
---|---|
String |
compose(Map<String,Object> variables,
OrderBy[] orderBySegments,
Integer firstResult,
Integer maxResults)
Creates a valid Query string. |
String |
language()
Returns the name of the query language. |
String |
name()
Returns the name of the query. |
List<String> |
variableNames()
Returns a list of variable names allowed in the query. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NamedSolrDescriptor(String name, String query)
Method Detail |
---|
public String name()
NamedQueryDescriptor
name
in interface NamedQueryDescriptor
public String compose(Map<String,Object> variables, OrderBy[] orderBySegments, Integer firstResult, Integer maxResults)
NamedQueryDescriptor
compose
in interface NamedQueryDescriptor
variables
- The variables used, and their values.orderBySegments
- The list of OrderBy instrctions.firstResult
- The offset into the resultset.maxResults
- The maximum number of results to be returned.
public String language()
NamedQueryDescriptor
language
in interface NamedQueryDescriptor
public List<String> variableNames()
NamedQueryDescriptor
variableNames
in interface NamedQueryDescriptor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |