Class CosmosQueryExecution.SliceExecution

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

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

    • SliceExecution

      public SliceExecution(CosmosOperations operations, org.springframework.data.domain.Pageable pageable)
      Creates a new instance of slice 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