Class ReactiveCosmosQueryExecution.CountExecution
java.lang.Object
com.azure.spring.data.cosmos.repository.query.ReactiveCosmosQueryExecution.CountExecution
- All Implemented Interfaces:
ReactiveCosmosQueryExecution
- Enclosing interface:
- ReactiveCosmosQueryExecution
public static final class ReactiveCosmosQueryExecution.CountExecution
extends Object
implements ReactiveCosmosQueryExecution
Count operation implementation to execute a count query
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.azure.spring.data.cosmos.repository.query.ReactiveCosmosQueryExecution
ReactiveCosmosQueryExecution.ContainerExecution, ReactiveCosmosQueryExecution.CountExecution, ReactiveCosmosQueryExecution.DeleteExecution, ReactiveCosmosQueryExecution.ExistsExecution, ReactiveCosmosQueryExecution.MultiEntityExecution, ReactiveCosmosQueryExecution.SingleEntityExecution
-
Constructor Summary
ConstructorDescriptionCountExecution
(ReactiveCosmosOperations operations) Creates a new instance of count execution. -
Method Summary
Modifier and TypeMethodDescriptionexecute
(CosmosQuery query, Class<?> type, String container) Declare an execute function for different operations to call
-
Constructor Details
-
CountExecution
Creates a new instance of count execution.- Parameters:
operations
- Reactive Cosmos operations
-
-
Method Details
-
execute
Description copied from interface:ReactiveCosmosQueryExecution
Declare an execute function for different operations to call- Specified by:
execute
in interfaceReactiveCosmosQueryExecution
- Parameters:
query
- document query operationtype
- domain typecontainer
- container to conduct query- Returns:
- Object according to execution result
-