Interface CosmosQueryExecution
- All Known Implementing Classes:
CosmosQueryExecution.ContainerExecution
,CosmosQueryExecution.CountExecution
,CosmosQueryExecution.DeleteExecution
,CosmosQueryExecution.ExistsExecution
,CosmosQueryExecution.MultiEntityExecution
,CosmosQueryExecution.PagedExecution
,CosmosQueryExecution.SingleEntityExecution
,CosmosQueryExecution.SliceExecution
public interface CosmosQueryExecution
Interface to execute cosmos query operations
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
Container operation implementation to execute a container name querystatic final class
count operation implementation to execute a count querystatic final class
delete operation implementation to execute a delete querystatic final class
exist operation implementation to execute a exists querystatic final class
Find operation implementation to execute a find query for multiple itemsstatic final class
paginationQuery operation implementation to execute a paginationQuery querystatic final class
Find operation implementation to execute a find query for a single itemstatic final class
sliceQuery operation implementation to execute a sliceQuery query -
Method Summary
Modifier and TypeMethodDescriptionexecute
(CosmosQuery query, Class<?> type, String container) Declare an execute function for different operations to call
-
Method Details
-
execute
Declare an execute function for different operations to call- Parameters:
query
- document query operationtype
- domain typecontainer
- container to conduct query- Returns:
- Object according to execution result
-