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