CosmosQueryExecution.ExistsExecution Class

  • java.lang.Object
    • com.azure.spring.data.cosmos.repository.query.CosmosQueryExecution.ExistsExecution

Implements

public static final class CosmosQueryExecution.ExistsExecution
implements CosmosQueryExecution

exist operation implementation to execute a exists query

Constructor Summary

Constructor Description
ExistsExecution(CosmosOperations operations)

Creates a new instance of exists 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

ExistsExecution

public ExistsExecution(CosmosOperations operations)

Creates a new instance of exists execution.

Parameters:

operations - the Cosmos operations

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