Interface CosmosQueryExecution
-
- All Known Implementing Classes:
CosmosQueryExecution.ContainerExecution,CosmosQueryExecution.CountExecution,CosmosQueryExecution.DeleteExecution,CosmosQueryExecution.ExistsExecution,CosmosQueryExecution.MultiEntityExecution,CosmosQueryExecution.PagedExecution,CosmosQueryExecution.SingleEntityExecution,CosmosQueryExecution.SliceExecution
public interface CosmosQueryExecutionInterface to execute cosmos query operations
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCosmosQueryExecution.ContainerExecutionContainer operation implementation to execute a container name querystatic classCosmosQueryExecution.CountExecutioncount operation implementation to execute a count querystatic classCosmosQueryExecution.DeleteExecutiondelete operation implementation to execute a delete querystatic classCosmosQueryExecution.ExistsExecutionexist operation implementation to execute a exists querystatic classCosmosQueryExecution.MultiEntityExecutionFind operation implementation to execute a find query for multiple itemsstatic classCosmosQueryExecution.PagedExecutionpaginationQuery operation implementation to execute a paginationQuery querystatic classCosmosQueryExecution.SingleEntityExecutionFind operation implementation to execute a find query for a single itemstatic classCosmosQueryExecution.SliceExecutionsliceQuery operation implementation to execute a sliceQuery query
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Objectexecute(CosmosQuery query, Class<?> type, String container)Declare an execute function for different operations to call
-
-
-
Method Detail
-
execute
Object execute(CosmosQuery query, Class<?> type, String container)
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
-
-