public abstract class AbstractDoubleSearchScript extends AbstractSearchScript
AbstractSearchScript for computations
that return a double number.| Constructor and Description |
|---|
AbstractDoubleSearchScript() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
run()
Executes the script.
|
abstract double |
runAsDouble()
Return the result as a double.
|
long |
runAsLong()
Return the result as a long.
|
doc, docFieldDoubles, docFieldLongs, docFieldStrings, fields, indexLookup, score, setDocument, setScorer, setSource, sourcesetNextVarclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetNextAggregationValue, setNextVarunwrappublic java.lang.Object run()
ExecutableScriptpublic abstract double runAsDouble()
LeafSearchScriptrunAsDouble in interface LeafSearchScriptrunAsDouble in class AbstractSearchScriptpublic long runAsLong()
LeafSearchScriptrunAsLong in interface LeafSearchScriptrunAsLong in class AbstractSearchScript