public class InsertBatchQuery extends BatchQuery
dataMap, dbAttributes, dbEntity, name, rows
Constructor and Description |
---|
InsertBatchQuery(DbEntity entity,
int batchCapacity)
Creates new InsertBatchQuery for a given DbEntity and estimated capacity.
|
Modifier and Type | Method and Description |
---|---|
void |
add(Map<String,Object> snapshot)
Adds a snapshot to batch.
|
void |
add(Map<String,Object> snapshot,
ObjectId id)
Adds a snapshot to batch.
|
acceptVisitor, createSQLAction, getDataMap, getDbAttributes, getDbEntity, getMetaData, getName, getRows, isUsingOptimisticLocking, route, setDataMap, setName, size
public InsertBatchQuery(DbEntity entity, int batchCapacity)
public void add(Map<String,Object> snapshot)
public void add(Map<String,Object> snapshot, ObjectId id)
Copyright © 2001–2015 Apache Cayenne. All rights reserved.