org.openanzo.common.rdb.sql
Class NodeSQL.BatchStoreBulkNode
java.lang.Object
org.openanzo.jdbc.utils.batchable.Batchable.BatchOperation
org.openanzo.common.rdb.sql.NodeSQL.BatchStoreBulkNode
- Enclosing class:
- NodeSQL
public static class NodeSQL.BatchStoreBulkNode
- extends Batchable.BatchOperation
Batch operation for adding parameters to the StoreBulkNode prepared statement
|
Method Summary |
void |
addBatch(java.sql.PreparedStatement ps)
Called by BatchExecutor when prepared statement is being readied for execution. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeSQL.BatchStoreBulkNode
public NodeSQL.BatchStoreBulkNode(NodeSQL.StoreBulkNodeParams params,
java.lang.String bulkNodeTableName)
- Create a batchable object for the storeBulkNode prepared statement.
- Parameters:
params - StoreBulkNodeParams containg input parametersbulkNodeTableName - template parameter
NodeSQL.BatchStoreBulkNode
public NodeSQL.BatchStoreBulkNode(long id,
java.lang.String value,
java.lang.String bulkNodeTableName)
- Create a batchable object for the storeBulkNode prepared statement.
- Parameters:
id - template parametervalue - template parameterbulkNodeTableName - template parameter
addBatch
public void addBatch(java.sql.PreparedStatement ps)
throws java.sql.SQLException
- Description copied from class:
Batchable.BatchOperation
- Called by BatchExecutor when prepared statement is being readied for execution. This adds a new batch onto the
preparedStatement in question.
- Specified by:
addBatch in class Batchable.BatchOperation
- Parameters:
ps - preparedStatement onto which batch is added
- Throws:
java.sql.SQLException - if there was an error adding a batch to the preparedStatement
Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.