Class BatchResult<ENTITY>

java.lang.Object
org.seasar.doma.jdbc.BatchResult<ENTITY>
Type Parameters:
ENTITY - the entity type

public class BatchResult<ENTITY> extends Object
A batch processing result for immutable entities.
  • Constructor Details

    • BatchResult

      public BatchResult(int[] counts, List<ENTITY> entities)
      Creates an instance.
      Parameters:
      counts - the array of the affected row count
      entities - the entity list
  • Method Details

    • getCounts

      public int[] getCounts()
      Returns the array of the affected row count.
      Returns:
      the array of the affected row count
    • getEntities

      public List<ENTITY> getEntities()
      Returns the entity list.
      Returns:
      the entity list
    • component1

      public List<ENTITY> component1()
      Returns the entity list.
      Returns:
      the entity list
      See Also:
    • component2

      public int[] component2()
      Returns the array of the affected row count.
      Returns:
      the array of the affected row count
      See Also:
    • toString

      public String toString()
      Overrides:
      toString in class Object