public static class ValuesSource.Numeric.WithScript extends ValuesSource.Numeric
ValuesSource.Bytes, ValuesSource.GeoPoint, ValuesSource.NumericValuesSource.Numeric.FieldData, ValuesSource.Numeric.Script, ValuesSource.Numeric.WithScriptEMPTY| Constructor | Description |
|---|---|
WithScript(ValuesSource.Numeric delegate,
SearchScript.LeafFactory script) |
| Modifier and Type | Method | Description |
|---|---|---|
SortedBinaryDocValues |
bytesValues(org.apache.lucene.index.LeafReaderContext context) |
Get the current
ValuesSource.WithScript.BytesValues. |
SortedNumericDoubleValues |
doubleValues(org.apache.lucene.index.LeafReaderContext context) |
Get the current
SortedNumericDoubleValues. |
boolean |
isFloatingPoint() |
Whether the underlying data is floating-point or not.
|
org.apache.lucene.index.SortedNumericDocValues |
longValues(org.apache.lucene.index.LeafReaderContext context) |
Get the current
SortedNumericDocValues. |
boolean |
needsScores() |
Whether this values source needs scores.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdocsWithValuepublic WithScript(ValuesSource.Numeric delegate, SearchScript.LeafFactory script)
public boolean isFloatingPoint()
ValuesSource.NumericisFloatingPoint in class ValuesSource.Numericpublic boolean needsScores()
ValuesSourceneedsScores in class ValuesSourcepublic SortedBinaryDocValues bytesValues(org.apache.lucene.index.LeafReaderContext context) throws java.io.IOException
ValuesSourceValuesSource.WithScript.BytesValues.bytesValues in class ValuesSourcejava.io.IOExceptionpublic org.apache.lucene.index.SortedNumericDocValues longValues(org.apache.lucene.index.LeafReaderContext context)
throws java.io.IOException
ValuesSource.NumericSortedNumericDocValues.longValues in class ValuesSource.Numericjava.io.IOExceptionpublic SortedNumericDoubleValues doubleValues(org.apache.lucene.index.LeafReaderContext context) throws java.io.IOException
ValuesSource.NumericSortedNumericDoubleValues.doubleValues in class ValuesSource.Numericjava.io.IOException