CosmosQueryExecution.CountExecution Class
- java.
lang. Object - com.
azure. spring. data. cosmos. repository. query. CosmosQueryExecution. CountExecution
- com.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java