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, setDocument, setScorer, setSource, sourcesetNextVar, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetNextVar, unwrappublic Object run()
ExecutableScriptpublic abstract double runAsDouble()
runAsDouble in interface LeafSearchScriptrunAsDouble in class AbstractSearchScriptpublic long runAsLong()
runAsLong in interface LeafSearchScriptrunAsLong in class AbstractSearchScriptpublic float runAsFloat()
runAsFloat in interface LeafSearchScriptrunAsFloat in class AbstractSearchScriptCopyright © 2009–2016. All rights reserved.