CosmosQueryExecution.CountExecution Class

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

Implements

public static final class CosmosQueryExecution.CountExecution
implements CosmosQueryExecution

count operation implementation to execute a count query

Constructor Summary

Constructor Description
CountExecution(CosmosOperations operations)

Creates a new instance of count 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

CountExecution

public CountExecution(CosmosOperations operations)

Creates a new instance of count execution.

Parameters:

operations - the Cosmos operations

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