Interface IDfBatchGroup


public interface IDfBatchGroup
This interface describes the batch group object used in batch inserts. The batch group treats the objects and insert statement inside the group as an atomic entity. Any error caused by one object will roll back all objects and insert statements in the group, but not affect other groups.
  • Method Details

    • getObjects

      Retrieve all objects in the batch group.
      Returns:
      objects in the group
    • getInsertStmt

      List<String> getInsertStmt()
      Retrieve all insert statements for registered tables.
      Returns:
      insert statements
    • getFailedObjects

      List<IDfPersistentObject> getFailedObjects()
      Retrieve the failed objects from the group. These objects will have been removed by the server. They can only be used to get attributes for diagnosis. Any write operation will return an error.
      Returns:
      failed objects
    • getErrorMessages

      List<String> getErrorMessages()
      Retrieve the error messages for the failed objects.
      Returns:
      error messages