CosmosQueryExecution.ContainerExecution Class

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

Implements

public static final class CosmosQueryExecution.ContainerExecution
implements CosmosQueryExecution

Container operation implementation to execute a container name query

Constructor Summary

Constructor Description
ContainerExecution(CosmosOperations operations)

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

ContainerExecution

public ContainerExecution(CosmosOperations operations)

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