你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ReactiveCosmosQueryExecution.SingleEntityExecution Class

  • java.lang.Object
    • com.azure.spring.data.cosmos.repository.query.ReactiveCosmosQueryExecution.SingleEntityExecution

Implements

public static final class ReactiveCosmosQueryExecution.SingleEntityExecution
implements ReactiveCosmosQueryExecution

Find operation implementation to execute a find query for a single item

Constructor Summary

Constructor Description
SingleEntityExecution(ReactiveCosmosOperations 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 container)

Declare an execute function for different operations to call

Methods inherited from java.lang.Object

Constructor Details

SingleEntityExecution

public SingleEntityExecution(ReactiveCosmosOperations operations, ReturnedType returnedType)

Creates a new instance of single-entity execution.

Parameters:

operations - Reactive Cosmos operations
returnedType - Return type

Method Details

execute

public Object execute(CosmosQuery query, Class<?> type, String container)

Declare an execute function for different operations to call

Parameters:

query
type
container

Applies to