Class NumericDoubleValues
- java.lang.Object
-
- org.apache.lucene.search.DoubleValues
-
- org.hibernate.search.backend.lucene.lowlevel.docvalues.impl.NumericDoubleValues
-
public abstract class NumericDoubleValues extends org.apache.lucene.search.DoubleValuesA per-document numeric value.Copied and adapted from
org.elasticsearch.index.fielddata.NumericDoubleValuesclass of Elasticsearch project.
-
-
Field Summary
Fields Modifier and Type Field Description static NumericDoubleValuesEMPTYAn empty NumericDoubleValues instance that always returnsfalsefromDoubleValues.advanceExact(int)
-
Constructor Summary
Constructors Modifier Constructor Description protectedNumericDoubleValues()Sole constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NumericDoubleValuesfromField(org.apache.lucene.index.NumericDocValues values, LongToDoubleFunction decoder)org.apache.lucene.index.NumericDocValuesgetRawDoubleValues()Returns numeric docvalues view of raw double bitsorg.apache.lucene.index.NumericDocValuesgetRawFloatValues()Returns numeric docvalues view of raw float bits
-
-
-
Field Detail
-
EMPTY
public static final NumericDoubleValues EMPTY
An empty NumericDoubleValues instance that always returnsfalsefromDoubleValues.advanceExact(int)
-
-
Method Detail
-
getRawDoubleValues
public org.apache.lucene.index.NumericDocValues getRawDoubleValues()
Returns numeric docvalues view of raw double bits- Returns:
- numeric
-
getRawFloatValues
public org.apache.lucene.index.NumericDocValues getRawFloatValues()
Returns numeric docvalues view of raw float bits- Returns:
- numeric
-
fromField
public static NumericDoubleValues fromField(org.apache.lucene.index.NumericDocValues values, LongToDoubleFunction decoder)
-
-