public abstract class AbstractFloatSearchScript extends AbstractSearchScript
AbstractSearchScript for computations
that return a float number.| Constructor and Description |
|---|
AbstractFloatSearchScript() |
| Modifier and Type | Method and Description |
|---|---|
Object |
run()
Executes the script.
|
double |
runAsDouble() |
abstract 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 float runAsFloat()
runAsFloat in interface SearchScriptrunAsFloat in class AbstractSearchScriptpublic double runAsDouble()
runAsDouble in interface SearchScriptrunAsDouble in class AbstractSearchScriptpublic long runAsLong()
runAsLong in interface SearchScriptrunAsLong in class AbstractSearchScriptCopyright © 2009–2016. All rights reserved.