R
- record typepublic class DeleteAllBatch<R extends ActiveRecord<? super R>> extends ActiveOperation<R,java.lang.Integer>
Table.deleteAllBatch(Collection)
.Constructor and Description |
---|
DeleteAllBatch(ActiveTable<R> activeTable,
java.util.Collection<R> records) |
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 DeleteAllBatch(ActiveTable<R> activeTable, java.util.Collection<R> records)
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