CosmosQueryExecution.SingleEntityExecution Class
- java.
lang. Object - com.
azure. spring. data. cosmos. repository. query. CosmosQueryExecution. SingleEntityExecution
- com.
Implements
public static final class CosmosQueryExecution.SingleEntityExecution
implements CosmosQueryExecution
Find operation implementation to execute a find query for a single item
Constructor Summary
Constructor | Description |
---|---|
SingleEntityExecution(CosmosOperations operations, ReturnedType returnedType) |
Creates a new instance of single-entity execution. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Object |
execute(CosmosQuery query, Class<?> type, String collection)
Declare an execute function for different operations to call |
Methods inherited from java.lang.Object
Constructor Details
SingleEntityExecution
public SingleEntityExecution(CosmosOperations operations, ReturnedType returnedType)
Creates a new instance of single-entity execution.
Parameters:
operations
- the Cosmos operations
returnedType
- the returned type
Method Details
execute
public Object execute(CosmosQuery query, Class type, String collection)
Declare an execute function for different operations to call
Parameters:
query
type
collection
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java