T - Options typeTCallable - Callable typepublic class LongValueCallable<T extends Options,TCallable extends AbstractQueryCallable<T>> extends AbstractScalarValueCallable<T,TCallable>
Usually used in conjunction with custom operations like
DatasetSizeOperation which calculate some aggregate on the data using
a SELECT query and want to return that aggregate value as the number
of results rather than the number of results rows as the basic
RemoteQueryCallable would return.
| Constructor and Description |
|---|
LongValueCallable(Runner<T> runner,
T options,
TCallable callable,
String var)
Creates a new callable
|
| Modifier and Type | Method and Description |
|---|---|
protected long |
nodeToLong(Node n)
Method that should be implemented by derived classes to convert the node
into an integer
|
countResultscall, countResults, countResults, createQueryExecution, customizeRequest, getQuerycancel, getOptions, getRunner, isCancelledprotected long nodeToLong(Node n)
AbstractScalarValueCallablenodeToLong in class AbstractScalarValueCallable<T extends Options,TCallable extends AbstractQueryCallable<T>>n - NodeCopyright © 2016. All rights reserved.