Class ProjectingLuceneOperationsSupport

java.lang.Object
org.springframework.data.gemfire.search.lucene.support.LuceneOperationsSupport
org.springframework.data.gemfire.search.lucene.support.ProjectingLuceneOperationsSupport
All Implemented Interfaces:
LuceneOperations, ProjectingLuceneOperations

public abstract class ProjectingLuceneOperationsSupport extends LuceneOperationsSupport implements ProjectingLuceneOperations
Deprecated.
To be removed in GemFire 10 integration
ProjectingLuceneOperationsSupport is a abstract supporting class for implementations of the ProjectingLuceneOperations interface.
Since:
1.1.0
See Also:
  • Constructor Details

    • ProjectingLuceneOperationsSupport

      public ProjectingLuceneOperationsSupport()
      Deprecated.
  • Method Details

    • query

      public <T> List<T> query(String query, String defaultField, int resultLimit, Class<T> projectionType)
      Deprecated.
      Description copied from interface: ProjectingLuceneOperations
      Executes the given query with the limited results projected as instances of the projectionType.
      Specified by:
      query in interface ProjectingLuceneOperations
      Type Parameters:
      T - Class type of the projection.
      Parameters:
      query - Lucene query 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 of projectionType.
      See Also:
    • query

      public <T> org.springframework.data.domain.Page<T> query(String query, String defaultField, int resultLimit, int pageSize, Class<T> projectionType)
      Deprecated.
      Description copied from interface: ProjectingLuceneOperations
      Executes the given query with the limited results projected as instances of the projectionType.
      Specified by:
      query in interface ProjectingLuceneOperations
      Type Parameters:
      T - Class type of the projection.
      Parameters:
      query - Lucene query 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 a Page.
      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

      public <T> List<T> query(org.apache.geode.cache.lucene.LuceneQueryProvider queryProvider, int resultLimit, Class<T> projectionType)
      Deprecated.
      Description copied from interface: ProjectingLuceneOperations
      Executes the provided query with the limited results projected as instances of the projectionType.
      Specified by:
      query in interface ProjectingLuceneOperations
      Type Parameters:
      T - Class type of the projection.
      Parameters:
      queryProvider - LuceneQueryProvider providing the Lucene query 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 of projectionType.
      See Also:
      • LuceneQueryProvider
      • List
    • query

      public <T> org.springframework.data.domain.Page<T> query(org.apache.geode.cache.lucene.LuceneQueryProvider queryProvider, int resultLimit, int pageSize, Class<T> projectionType)
      Deprecated.
      Description copied from interface: ProjectingLuceneOperations
      Executes the provided query with the limited results projected as instances of the projectionType.
      Specified by:
      query in interface ProjectingLuceneOperations
      Type Parameters:
      T - Class type of the projection.
      Parameters:
      queryProvider - LuceneQueryProvider providing the Lucene query to execute.
      resultLimit - limit on the number of query results to return.
      pageSize - number of results on a Page.
      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