Package com.j_spaces.jdbc.batching
Class BatchResponsePacket
java.lang.Object
com.j_spaces.jdbc.ResponsePacket
com.j_spaces.jdbc.batching.BatchResponsePacket
- All Implemented Interfaces:
Serializable,Iterable<IEntryPacket>
A packet returned from a JDBC batch execution.
The result held in the packet is an array of Integers. Each Integer represents a result returned
from a single query execution from the batch.
The value indicates how many rows were affected by the execution.
- Since:
- 8.0
- Author:
- idan
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBatchResponsePacket(int[] result) Constructs a new batch response packet using the provided ints array. -
Method Summary
Methods inherited from class com.j_spaces.jdbc.ResponsePacket
getArray, getFirst, getIntResult, getNext, getResultEntry, getResultSet, iterator, setIntResult, setNext, setResultArray, setResultEntry, setResultSet, size, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
BatchResponsePacket
public BatchResponsePacket(int[] result) Constructs a new batch response packet using the provided ints array.
-
-
Method Details
-
getResult
public int[] getResult()Gets the batch response packet's result
-