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
Constructors Constructor Description ExistsExecution(CosmosOperations operations)Creates a new instance of exists execution.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectexecute(CosmosQuery query, Class<?> type, String container)Declare an execute function for different operations to call
-
-
-
Constructor Detail
-
ExistsExecution
public ExistsExecution(CosmosOperations operations)
Creates a new instance of exists execution.- Parameters:
operations- the Cosmos operations
-
-
Method Detail
-
execute
public Object execute(CosmosQuery query, Class<?> type, String container)
Description copied from interface:CosmosQueryExecutionDeclare an execute function for different operations to call- Specified by:
executein interfaceCosmosQueryExecution- Parameters:
query- document query operationtype- domain typecontainer- container to conduct query- Returns:
- Object according to execution result
-
-