R
- record typepublic class InsertBatch<R extends ActiveRecord<? super R>> extends ActiveOperation<R,java.lang.Integer>
Table.insertBatch(Object)
.Constructor and Description |
---|
InsertBatch(ActiveTable<R> activeTable,
R record) |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
operate()
Invoked by
ActiveOperation.execute() to perform the operation. |
attach, attach, close, execute, getOperationDatabase, getTable, isLocalTransaction
public InsertBatch(ActiveTable<R> activeTable, R record)
public java.lang.Integer operate() throws java.lang.Exception
ActiveOperation
ActiveOperation.execute()
to perform the operation. Subclasses must implement.operate
in class ActiveOperation<R extends ActiveRecord<? super R>,java.lang.Integer>
java.lang.Exception
- if error