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