public abstract class AbstractLongSearchScript extends AbstractSearchScript
AbstractSearchScript
for computations
that return a long number.Constructor and Description |
---|
AbstractLongSearchScript() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
run()
Executes the script.
|
double |
runAsDouble() |
abstract long |
runAsLong() |
doc, docFieldDoubles, docFieldLongs, docFieldStrings, fields, indexLookup, score, setDocument, setScorer, setSource, source
setNextVar
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setNextAggregationValue
setNextVar, unwrap
public java.lang.Object run()
ExecutableScript
public abstract long runAsLong()
runAsLong
in interface LeafSearchScript
runAsLong
in class AbstractSearchScript
public double runAsDouble()
runAsDouble
in interface LeafSearchScript
runAsDouble
in class AbstractSearchScript