CosmosQueryExecution.PagedExecution Class

  • java.lang.Object
    • com.azure.spring.data.cosmos.repository.query.CosmosQueryExecution.PagedExecution

Implements

public static final class CosmosQueryExecution.PagedExecution
implements CosmosQueryExecution

paginationQuery operation implementation to execute a paginationQuery query

Constructor Summary

Constructor Description
PagedExecution(CosmosOperations operations, Pageable pageable)

Creates a new instance of paged execution.

Method Summary

Modifier and Type Method and Description
Object execute(CosmosQuery query, Class<?> type, String container)

Declare an execute function for different operations to call

Methods inherited from java.lang.Object

Constructor Details

PagedExecution

public PagedExecution(CosmosOperations operations, 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)

Declare an execute function for different operations to call

Parameters:

query
type
container

Applies to