Interface MutationOperationGroup

All Known Subinterfaces:
EntityMutationOperationGroup

@Deprecated(since="8.0", forRemoval=true) @SPI(USE) public interface MutationOperationGroup
Deprecated, for removal: This API element is subject to removal in a future version.
This contract is used only by the legacy action queue. The graph-based action queue decomposes mutations into individual flush operations.
Group of MutationOperation references for a specific logical operation (target + type)
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    Attempt to cast to the frequently uses subtype EntityMutationOperationGroup; returns null if this is not possible.
    default <O extends MutationOperation>
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Will be removed.
    Deprecated, for removal: This API element is subject to removal in a future version.
    The model-part being mutated
    Deprecated, for removal: This API element is subject to removal in a future version.
    The type of mutation (at the model-level) represented by this group.
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
    Number of operations in this group
    getOperation(int idx)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Gets a specific MutationOperation from the group
    getOperation(String tableName)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Get the operation for a specific table.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Get the singular operation, assuming there is just one.
    default <O extends MutationOperation>
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    Will be removed.
  • Method Details

    • getMutationType

      MutationType getMutationType()
      Deprecated, for removal: This API element is subject to removal in a future version.
      The type of mutation (at the model-level) represented by this group.
    • getMutationTarget

      MutationTarget getMutationTarget()
      Deprecated, for removal: This API element is subject to removal in a future version.
      The model-part being mutated
    • getNumberOfOperations

      int getNumberOfOperations()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Number of operations in this group
    • getSingleOperation

      MutationOperation getSingleOperation()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get the singular operation, assuming there is just one. Throws an exception if there are more than one.
    • getOperation

      MutationOperation getOperation(int idx)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Gets a specific MutationOperation from the group
      Parameters:
      idx - the index, starting from zero.
      Returns:
    • getOperation

      MutationOperation getOperation(String tableName)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get the operation for a specific table.
    • asEntityMutationOperationGroup

      default EntityMutationOperationGroup asEntityMutationOperationGroup()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Attempt to cast to the frequently uses subtype EntityMutationOperationGroup; returns null if this is not possible.
      Returns:
    • forEachOperation

      @Deprecated(forRemoval=true) default <O extends MutationOperation> void forEachOperation(BiConsumer<Integer,O> action)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Will be removed. Use the other methods to visit each operation.
    • hasMatching

      @Deprecated(forRemoval=true) default <O extends MutationOperation> boolean hasMatching(BiFunction<Integer,O,Boolean> matcher)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Will be removed. Use the other methods to visit each operation.