ENTITY - the entity typepublic class BatchResult<ENTITY>
extends java.lang.Object
| Constructor and Description |
|---|
BatchResult(int[] counts,
java.util.List<ENTITY> entities)
Creates an instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ENTITY> |
component1()
Returns the entity list.
|
int[] |
component2()
Returns the array of the affected row count.
|
int[] |
getCounts()
Returns the array of the affected row count.
|
java.util.List<ENTITY> |
getEntities()
Returns the entity list.
|
java.lang.String |
toString() |
public BatchResult(int[] counts,
java.util.List<ENTITY> entities)
counts - the array of the affected row countentities - the entity listpublic int[] getCounts()
public java.util.List<ENTITY> getEntities()
public java.util.List<ENTITY> component1()
public int[] component2()
public java.lang.String toString()
toString in class java.lang.Object