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