Class CosmosQueryExecution.PagedExecution

java.lang.Object
com.azure.spring.data.cosmos.repository.query.CosmosQueryExecution.PagedExecution
All Implemented Interfaces:
CosmosQueryExecution
Enclosing interface:
CosmosQueryExecution

public static final class CosmosQueryExecution.PagedExecution extends Object implements CosmosQueryExecution
paginationQuery operation implementation to execute a paginationQuery query
  • Constructor Details

    • PagedExecution

      public PagedExecution(CosmosOperations operations, org.springframework.data.domain.Pageable pageable)
      Creates a new instance of paged execution.
      Parameters:
      operations - the Cosmos operations
      pageable - the pageable
  • Method Details

    • execute

      public Object execute(CosmosQuery query, Class<?> type, String container)
      Description copied from interface: CosmosQueryExecution
      Declare an execute function for different operations to call
      Specified by:
      execute in interface CosmosQueryExecution
      Parameters:
      query - document query operation
      type - domain type
      container - container to conduct query
      Returns:
      Object according to execution result