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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classContainer operation implementation to execute a container name querystatic final classcount operation implementation to execute a count querystatic final classdelete operation implementation to execute a delete querystatic final classexist operation implementation to execute a exists querystatic final classFind operation implementation to execute a find query for multiple itemsstatic final classpaginationQuery operation implementation to execute a paginationQuery querystatic final classFind operation implementation to execute a find query for a single itemstatic final classsliceQuery 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
-