public abstract class AbstractDoubleSearchScript extends AbstractSearchScript
AbstractSearchScript for computations
that return a double number.| Constructor and Description |
|---|
AbstractDoubleSearchScript() |
| Modifier and Type | Method and Description |
|---|---|
Object |
run()
Executes the script.
|
abstract double |
runAsDouble() |
float |
runAsFloat() |
long |
runAsLong() |
doc, docFieldDoubles, docFieldLongs, docFieldStrings, fields, indexLookup, score, setNextDocId, setNextReader, setNextSource, setScorer, sourcesetNextVar, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetNextVar, unwrappublic Object run()
ExecutableScriptpublic abstract double runAsDouble()
runAsDouble in interface SearchScriptrunAsDouble in class AbstractSearchScriptpublic long runAsLong()
runAsLong in interface SearchScriptrunAsLong in class AbstractSearchScriptpublic float runAsFloat()
runAsFloat in interface SearchScriptrunAsFloat in class AbstractSearchScriptCopyright © 2009–2016. All rights reserved.