public abstract static class ValuesSource.Numeric extends ValuesSource
Modifier and Type | Class and Description |
---|---|
static class |
ValuesSource.Numeric.FieldData |
static class |
ValuesSource.Numeric.Script |
static class |
ValuesSource.Numeric.WithScript |
ValuesSource.Bytes, ValuesSource.GeoPoint, ValuesSource.Numeric
Modifier and Type | Field and Description |
---|---|
static ValuesSource.Numeric |
EMPTY |
Constructor and Description |
---|
Numeric() |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.util.Bits |
docsWithValue(org.apache.lucene.index.LeafReaderContext context) |
abstract SortedNumericDoubleValues |
doubleValues(org.apache.lucene.index.LeafReaderContext context)
Get the current
SortedNumericDoubleValues . |
abstract boolean |
isFloatingPoint()
Whether the underlying data is floating-point or not.
|
abstract org.apache.lucene.index.SortedNumericDocValues |
longValues(org.apache.lucene.index.LeafReaderContext context)
Get the current
SortedNumericDocValues . |
bytesValues, needsScores
public static final ValuesSource.Numeric EMPTY
public abstract boolean isFloatingPoint()
public abstract org.apache.lucene.index.SortedNumericDocValues longValues(org.apache.lucene.index.LeafReaderContext context) throws java.io.IOException
SortedNumericDocValues
.java.io.IOException
public abstract SortedNumericDoubleValues doubleValues(org.apache.lucene.index.LeafReaderContext context) throws java.io.IOException
SortedNumericDoubleValues
.java.io.IOException
public org.apache.lucene.util.Bits docsWithValue(org.apache.lucene.index.LeafReaderContext context) throws java.io.IOException
docsWithValue
in class ValuesSource
java.io.IOException