public class Batch extends Object
| Modifier and Type | Field and Description |
|---|---|
static Batch |
CLOSED_SIGNAL |
| Constructor and Description |
|---|
Batch() |
| Modifier and Type | Method and Description |
|---|---|
void |
addBatch() |
int |
flush() |
int |
getMaxBatchSize() |
boolean |
isFull() |
boolean |
isReady() |
void |
setBatchStatement(PreparedStatement insert) |
void |
setInsertStatement(PreparedStatement insert) |
void |
setMaxBatchSize(int batchSize) |
void |
setObject(int parameterIndex,
Object x) |
void |
setString(int parameterIndex,
String x) |
void |
setTemporary(RdbmsTable temporary) |
int |
size() |
public static Batch CLOSED_SIGNAL
public int getMaxBatchSize()
public void setMaxBatchSize(int batchSize)
public void setTemporary(RdbmsTable temporary)
public void setBatchStatement(PreparedStatement insert)
public void setInsertStatement(PreparedStatement insert)
public int size()
public boolean isFull()
public boolean isReady()
public void setObject(int parameterIndex,
Object x)
throws SQLException
SQLExceptionpublic void setString(int parameterIndex,
String x)
throws SQLException
SQLExceptionpublic void addBatch()
throws SQLException
SQLExceptionpublic int flush()
throws SQLException
-1 if already flushedSQLExceptionCopyright © 2001-2014 Aduna. All Rights Reserved.