|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.qi4j.index.solr.internal.SolrEntityQueryMixin
public class SolrEntityQueryMixin
JAVADOC
Constructor Summary | |
---|---|
SolrEntityQueryMixin()
|
Method Summary | |
---|---|
long |
countEntities(java.lang.Class<?> resultType,
Specification<Composite> whereClause,
java.util.Map<java.lang.String,java.lang.Object> variables)
Count entities matching the query criterion. |
java.lang.Iterable<EntityReference> |
findEntities(java.lang.Class<?> resultType,
Specification<Composite> whereClause,
OrderBy[] orderBySegments,
java.lang.Integer firstResult,
java.lang.Integer maxResults,
java.util.Map<java.lang.String,java.lang.Object> variables)
Find entities matching the query criterion. |
EntityReference |
findEntity(java.lang.Class<?> resultType,
Specification<Composite> whereClause,
java.util.Map<java.lang.String,java.lang.Object> variables)
Find a single entity matching the query criterion. |
org.apache.solr.common.SolrDocumentList |
search(java.lang.String queryString)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SolrEntityQueryMixin()
Method Detail |
---|
public java.lang.Iterable<EntityReference> findEntities(java.lang.Class<?> resultType, @Optional Specification<Composite> whereClause, @Optional OrderBy[] orderBySegments, @Optional java.lang.Integer firstResult, @Optional java.lang.Integer maxResults, java.util.Map<java.lang.String,java.lang.Object> variables) throws EntityFinderException
EntityFinder
findEntities
in interface EntityFinder
resultType
- Type that the entities must have.whereClause
- Where clause specification.orderBySegments
- OrderingfirstResult
- Index of the first returned entity.maxResults
- Maximum returned entities.variables
- Query variables
EntityFinderException
public EntityReference findEntity(java.lang.Class<?> resultType, @Optional Specification<Composite> whereClause, java.util.Map<java.lang.String,java.lang.Object> variables) throws EntityFinderException
EntityFinder
findEntity
in interface EntityFinder
resultType
- Type that the entity must have.whereClause
- Where clause specification.variables
- Query variables
EntityFinderException
public long countEntities(java.lang.Class<?> resultType, @Optional Specification<Composite> whereClause, java.util.Map<java.lang.String,java.lang.Object> variables) throws EntityFinderException
EntityFinder
countEntities
in interface EntityFinder
resultType
- Type that the entities must have.whereClause
- Where clause specification.variables
- Query variables
EntityFinderException
public org.apache.solr.common.SolrDocumentList search(java.lang.String queryString) throws org.apache.solr.client.solrj.SolrServerException
search
in interface SolrSearch
org.apache.solr.client.solrj.SolrServerException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |