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 PostingsEnumcurrentReaderPostingsValues-
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 booleanadvanceExact(int doc)Advance this instance to the given document iddoubledoubleValue()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.IOExceptionDescription copied from class:DoubleValuesGet the double value for the current document- Specified by:
doubleValuein classDoubleValues- Throws:
java.io.IOException
-
advanceExact
public boolean advanceExact(int doc) throws java.io.IOExceptionDescription copied from class:DoubleValuesAdvance this instance to the given document id- Specified by:
advanceExactin classDoubleValues- Returns:
- true if there is a value for this document
- Throws:
java.io.IOException
-
-