public final class DefaultParameterizedBatchHandler extends Object implements ParameterizedBatchHandler
| Constructor and Description |
|---|
DefaultParameterizedBatchHandler(Protocol protocol) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToBatch(ParameterizedQuery query)
called when a set of parameters are added to a batch.
|
int[] |
executeBatch()
execute the batch using protocol.
|
public DefaultParameterizedBatchHandler(Protocol protocol)
public void addToBatch(ParameterizedQuery query)
ParameterizedBatchHandleraddToBatch in interface ParameterizedBatchHandlerquery - the parameterized query.public int[] executeBatch()
throws QueryException
ParameterizedBatchHandlerexecuteBatch in interface ParameterizedBatchHandlerQueryException - if something goes wrong executing the query.Copyright © 2016. All rights reserved.