Class PartTreeSolrQuery
java.lang.Object
org.springframework.data.solr.repository.query.AbstractSolrQuery
org.springframework.data.solr.repository.query.PartTreeSolrQuery
- All Implemented Interfaces:
org.springframework.data.repository.query.RepositoryQuery
Solr specific implementation of a query derived from method name
-
Field Summary
Fields inherited from class org.springframework.data.solr.repository.query.AbstractSolrQuery
UNLIMITED -
Constructor Summary
ConstructorsConstructorDescriptionPartTreeSolrQuery(String collection, SolrQueryMethod method, SolrOperations solrOperations) PartTreeSolrQuery(SolrQueryMethod method, SolrOperations solrOperations) -
Method Summary
Modifier and TypeMethodDescriptionprotected QuerycreateQuery(SolrParameterAccessor parameterAccessor) intgetLimit()org.springframework.data.repository.query.parser.PartTreegetTree()booleanbooleanbooleanMethods inherited from class org.springframework.data.solr.repository.query.AbstractSolrQuery
appendProjection, createQueryFromString, execute, getLimitingPageable, getQueryMethod
-
Constructor Details
-
PartTreeSolrQuery
-
PartTreeSolrQuery
public PartTreeSolrQuery(@Nullable String collection, SolrQueryMethod method, SolrOperations solrOperations)
-
-
Method Details
-
getTree
public org.springframework.data.repository.query.parser.PartTree getTree() -
createQuery
- Specified by:
createQueryin classAbstractSolrQuery
-
isCountQuery
public boolean isCountQuery()- Overrides:
isCountQueryin classAbstractSolrQuery- Since:
- 1.2
- See Also:
-
PartTree.isCountProjection()
-
isDeleteQuery
public boolean isDeleteQuery()- Overrides:
isDeleteQueryin classAbstractSolrQuery- Since:
- 1.2
- See Also:
-
PartTree.isDelete()
-
isLimiting
public boolean isLimiting()- Overrides:
isLimitingin classAbstractSolrQuery- Returns:
- Since:
- 1.3
- See Also:
-
PartTree.isLimiting()
-
getLimit
public int getLimit()- Overrides:
getLimitin classAbstractSolrQuery- Returns:
-