public static final class CosmosQueryExecution.SingleEntityExecution extends Object implements CosmosQueryExecution
CosmosQueryExecution.ContainerExecution, CosmosQueryExecution.CountExecution, CosmosQueryExecution.DeleteExecution, CosmosQueryExecution.ExistsExecution, CosmosQueryExecution.MultiEntityExecution, CosmosQueryExecution.PagedExecution, CosmosQueryExecution.SingleEntityExecution, CosmosQueryExecution.SliceExecution| Constructor and Description |
|---|
SingleEntityExecution(CosmosOperations operations,
org.springframework.data.repository.query.ReturnedType returnedType) |
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(CosmosQuery query,
Class<?> type,
String collection)
Declare an execute function for different operations to call
|
public SingleEntityExecution(CosmosOperations operations, org.springframework.data.repository.query.ReturnedType returnedType)
public Object execute(CosmosQuery query, Class<?> type, String collection)
CosmosQueryExecutionexecute in interface CosmosQueryExecutionquery - document query operationtype - domain typecollection - container to conduct queryVisit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.