Class CosmosQueryExecution.DeleteExecution

java.lang.Object
com.azure.spring.data.cosmos.repository.query.CosmosQueryExecution.DeleteExecution
All Implemented Interfaces:
CosmosQueryExecution
Enclosing interface:
CosmosQueryExecution

public static final class CosmosQueryExecution.DeleteExecution extends Object implements CosmosQueryExecution
delete operation implementation to execute a delete query
  • Constructor Details

    • DeleteExecution

      public DeleteExecution(CosmosOperations operations)
      Creates a new instance of delete execution.
      Parameters:
      operations - the Cosmos operations
  • Method Details

    • execute

      public Object execute(CosmosQuery query, Class<?> type, String container)
      Description copied from interface: CosmosQueryExecution
      Declare an execute function for different operations to call
      Specified by:
      execute in interface CosmosQueryExecution
      Parameters:
      query - document query operation
      type - domain type
      container - container to conduct query
      Returns:
      Object according to execution result