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
SQLException
public void setString(int parameterIndex, String x) throws SQLException
SQLException
public void addBatch() throws SQLException
SQLException
public int flush() throws SQLException
-1
if already flushedSQLException
Copyright © 2001-2016 Aduna. All Rights Reserved.