T - Options typeTCallable - Callable typepublic abstract class AbstractScalarValueCallable<T extends Options,TCallable extends AbstractQueryCallable<T>> extends WrapperQueryCallable<T,TCallable>
| Constructor and Description |
|---|
AbstractScalarValueCallable(Runner<T> runner,
T options,
TCallable callable,
String var)
Creates a new scalar value callable
|
| Modifier and Type | Method and Description |
|---|---|
protected long |
countResults(T options,
ResultSet rset)
Counts results for queries that return a result set
|
protected abstract long |
nodeToLong(Node n)
Method that should be implemented by derived classes to convert the node
into an integer
|
call, countResults, countResults, createQueryExecution, customizeRequest, getQuerycancel, getOptions, getRunner, isCancelledprotected long countResults(T options, ResultSet rset)
AbstractQueryCallable
The default implementation either returns OperationRun.UNKNOWN if
the options indicate that counting is disabled or iterates over the
results to count them.
countResults in class WrapperQueryCallable<T extends Options,TCallable extends AbstractQueryCallable<T>>options - Optionsrset - Result Setprotected abstract long nodeToLong(Node n)
n - NodeCopyright © 2016. All rights reserved.