Module org.apache.lucene.core
Package org.apache.lucene.document
Class FeatureDoubleValuesSource.FeatureDoubleValues
- java.lang.Object
-
- org.apache.lucene.search.DoubleValues
-
- org.apache.lucene.document.FeatureDoubleValuesSource.FeatureDoubleValues
-
- Enclosing class:
- FeatureDoubleValuesSource
static class FeatureDoubleValuesSource.FeatureDoubleValues extends DoubleValues
-
-
Field Summary
Fields Modifier and Type Field Description private PostingsEnum
currentReaderPostingsValues
-
Fields inherited from class org.apache.lucene.search.DoubleValues
EMPTY
-
-
Constructor Summary
Constructors Constructor Description FeatureDoubleValues(PostingsEnum currentReaderPostingsValues)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
advanceExact(int doc)
Advance this instance to the given document iddouble
doubleValue()
Get the double value for the current document-
Methods inherited from class org.apache.lucene.search.DoubleValues
withDefault
-
-
-
-
Field Detail
-
currentReaderPostingsValues
private final PostingsEnum currentReaderPostingsValues
-
-
Constructor Detail
-
FeatureDoubleValues
public FeatureDoubleValues(PostingsEnum currentReaderPostingsValues) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
doubleValue
public double doubleValue() throws java.io.IOException
Description copied from class:DoubleValues
Get the double value for the current document- Specified by:
doubleValue
in classDoubleValues
- Throws:
java.io.IOException
-
advanceExact
public boolean advanceExact(int doc) throws java.io.IOException
Description copied from class:DoubleValues
Advance this instance to the given document id- Specified by:
advanceExact
in classDoubleValues
- Returns:
- true if there is a value for this document
- Throws:
java.io.IOException
-
-