org.openrdf.sail.rdbms.schema
Class Batch
java.lang.Object
org.openrdf.sail.rdbms.schema.Batch
- Direct Known Subclasses:
- TripleBatch, ValueBatch
public class Batch
- extends Object
- Author:
- James Leigh
|
Constructor Summary |
Batch()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLOSED_SIGNAL
public static Batch CLOSED_SIGNAL
Batch
public Batch()
getMaxBatchSize
public int getMaxBatchSize()
setMaxBatchSize
public void setMaxBatchSize(int batchSize)
setTemporary
public void setTemporary(RdbmsTable temporary)
setBatchStatement
public void setBatchStatement(PreparedStatement insert)
setInsertStatement
public void setInsertStatement(PreparedStatement insert)
size
public int size()
isFull
public boolean isFull()
isReady
public boolean isReady()
setObject
public void setObject(int parameterIndex,
Object x)
throws SQLException
- Throws:
SQLException
setString
public void setString(int parameterIndex,
String x)
throws SQLException
- Throws:
SQLException
addBatch
public void addBatch()
throws SQLException
- Throws:
SQLException
flush
public int flush()
throws SQLException
- Returns:
-1 if already flushed
- Throws:
SQLException
Copyright © 2001-2010 Aduna. All Rights Reserved.