public static class ValuesSource.Numeric.FieldData extends ValuesSource.Numeric
ValuesSource.Numeric.FieldData, ValuesSource.Numeric.Script, ValuesSource.Numeric.WithScriptValuesSource.Bytes, ValuesSource.GeoPoint, ValuesSource.Numeric| Modifier and Type | Field and Description |
|---|---|
protected IndexNumericFieldData |
indexFieldData |
EMPTY| Constructor and Description |
|---|
FieldData(IndexNumericFieldData indexFieldData) |
| Modifier and Type | Method and 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. |
docsWithValueneedsScoresprotected final IndexNumericFieldData indexFieldData
public FieldData(IndexNumericFieldData indexFieldData)
public boolean isFloatingPoint()
ValuesSource.NumericisFloatingPoint in class ValuesSource.Numericpublic SortedBinaryDocValues bytesValues(org.apache.lucene.index.LeafReaderContext context)
ValuesSourceValuesSource.WithScript.BytesValues.bytesValues in class ValuesSourcepublic org.apache.lucene.index.SortedNumericDocValues longValues(org.apache.lucene.index.LeafReaderContext context)
ValuesSource.NumericSortedNumericDocValues.longValues in class ValuesSource.Numericpublic SortedNumericDoubleValues doubleValues(org.apache.lucene.index.LeafReaderContext context)
ValuesSource.NumericSortedNumericDoubleValues.doubleValues in class ValuesSource.NumericCopyright © 2009–2016. All rights reserved.