Interface ProjectingLuceneOperations
- All Superinterfaces:
LuceneOperations
- All Known Implementing Classes:
ProjectingLuceneAccessor
,ProjectingLuceneAccessorSupport
,ProjectingLuceneOperationsSupport
,ProjectingLuceneTemplate
Deprecated.
To be removed in GemFire 10 integration
The
ProjectingLuceneOperations
interface defines a contract for implementing classes to execute
Lucene data access operations and mapping the results to entity domain types
.- Since:
- 1.1.0
- See Also:
-
List
Page
LuceneOperations
LuceneQueryProvider
-
Field Summary
Fields inherited from interface org.springframework.data.gemfire.search.lucene.LuceneOperations
DEFAULT_PAGE_SIZE, DEFAULT_RESULT_LIMIT
-
Method Summary
Modifier and TypeMethodDescription<T> org.springframework.data.domain.Page<T>
Deprecated.Executes the givenquery
with the limited results projected as instances of theprojectionType
.<T> List<T>
Deprecated.Executes the givenquery
with the limited results projected as instances of theprojectionType
.default <T> List<T>
Deprecated.Executes the givenquery
with the results projected as instances of theprojectionType
.<T> org.springframework.data.domain.Page<T>
query
(org.apache.geode.cache.lucene.LuceneQueryProvider queryProvider, int resultLimit, int pageSize, Class<T> projectionType) Deprecated.Executes the providedquery
with the limited results projected as instances of theprojectionType
.<T> List<T>
query
(org.apache.geode.cache.lucene.LuceneQueryProvider queryProvider, int resultLimit, Class<T> projectionType) Deprecated.Executes the providedquery
with the limited results projected as instances of theprojectionType
.default <T> List<T>
Deprecated.Executes the providedquery
with the results projected as instances of theprojectionType
.Methods inherited from interface org.springframework.data.gemfire.search.lucene.LuceneOperations
query, query, query, query, query, query, queryForKeys, queryForKeys, queryForKeys, queryForKeys, queryForValues, queryForValues, queryForValues, queryForValues
-
Method Details
-
query
Deprecated.Executes the givenquery
with the results projected as instances of theprojectionType
.- Type Parameters:
T
-Class
type of the projection.- Parameters:
query
- Lucenequery
to execute.defaultField
-String
specifying the default field used in Lucene queries when a field is not explicitly defined in the Lucene query clause.projectionType
-Class
type of the individual elements in the query results.- Returns:
- a
List
of Lucene query results projected as instances ofprojectionType
. - See Also:
-
query
Deprecated.Executes the givenquery
with the limited results projected as instances of theprojectionType
.- Type Parameters:
T
-Class
type of the projection.- Parameters:
query
- Lucenequery
to execute.defaultField
-String
specifying the default field used in Lucene queries when a field is not explicitly defined in the Lucene query clause.resultLimit
- limit on the number of query results to return.projectionType
-Class
type of the individual elements in the query results.- Returns:
- a
List
of Lucene query results projected as instances ofprojectionType
. - See Also:
-
query
<T> org.springframework.data.domain.Page<T> query(String query, String defaultField, int resultLimit, int pageSize, Class<T> projectionType) Deprecated.Executes the givenquery
with the limited results projected as instances of theprojectionType
.- Type Parameters:
T
-Class
type of the projection.- Parameters:
query
- Lucenequery
to execute.defaultField
-String
specifying the default field used in Lucene queries when a field is not explicitly defined in the Lucene query clause.resultLimit
- limit on the number of query results to return.pageSize
- number of results on aPage
.projectionType
-Class
type of the individual elements in the query results.- Returns:
- the first
Page
of results returned from the Lucene query. - See Also:
-
Page
-
query
default <T> List<T> query(org.apache.geode.cache.lucene.LuceneQueryProvider queryProvider, Class<T> projectionType) Deprecated.Executes the providedquery
with the results projected as instances of theprojectionType
.- Type Parameters:
T
-Class
type of the projection.- Parameters:
queryProvider
-LuceneQueryProvider
providing the Lucenequery
to execute.projectionType
-Class
type of the individual elements in the query results.- Returns:
- a
List
of Lucene query results projected as instances ofprojectionType
. - See Also:
-
LuceneQueryProvider
query(LuceneQueryProvider, int, Class)
List
-
query
<T> List<T> query(org.apache.geode.cache.lucene.LuceneQueryProvider queryProvider, int resultLimit, Class<T> projectionType) Deprecated.Executes the providedquery
with the limited results projected as instances of theprojectionType
.- Type Parameters:
T
-Class
type of the projection.- Parameters:
queryProvider
-LuceneQueryProvider
providing the Lucenequery
to execute.resultLimit
- limit on the number of query results to return.projectionType
-Class
type of the individual elements in the query results.- Returns:
- a
List
of Lucene query results projected as instances ofprojectionType
. - See Also:
-
LuceneQueryProvider
List
-
query
<T> org.springframework.data.domain.Page<T> query(org.apache.geode.cache.lucene.LuceneQueryProvider queryProvider, int resultLimit, int pageSize, Class<T> projectionType) Deprecated.Executes the providedquery
with the limited results projected as instances of theprojectionType
.- Type Parameters:
T
-Class
type of the projection.- Parameters:
queryProvider
-LuceneQueryProvider
providing the Lucenequery
to execute.resultLimit
- limit on the number of query results to return.pageSize
- number of results on aPage
.projectionType
-Class
type of the individual elements in the query results.- Returns:
- the first
Page
of results returned from the Lucene query. - See Also:
-
LuceneQueryProvider
Page
-