public class InsertBatchQuery extends BatchQuery
dbAttributes, dbEntity, 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.
|
createSQLAction, getDbAttributes, getDbEntity, getMetaData, getRows, isUsingOptimisticLocking, route
public InsertBatchQuery(DbEntity entity, int batchCapacity)
public void add(Map<String,Object> snapshot)
public void add(Map<String,Object> snapshot, ObjectId id)
Copyright © 2001–2019 Apache Cayenne. All rights reserved.