Class ExpandingVectorValues
- java.lang.Object
-
- org.apache.lucene.search.DocIdSetIterator
-
- org.apache.lucene.index.VectorValues
-
- org.apache.lucene.index.FilterVectorValues
-
- org.apache.lucene.codecs.lucene94.ExpandingVectorValues
-
public class ExpandingVectorValues extends FilterVectorValues
reads from byte-encoded data
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.lucene.index.VectorValues
VectorValues.SortingVectorValues
-
-
Field Summary
-
Fields inherited from class org.apache.lucene.index.FilterVectorValues
in
-
Fields inherited from class org.apache.lucene.index.VectorValues
EMPTY, MAX_DIMENSIONS
-
Fields inherited from class org.apache.lucene.search.DocIdSetIterator
NO_MORE_DOCS
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ExpandingVectorValues(VectorValues in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float[]
vectorValue()
Return the vector value for the current document ID.-
Methods inherited from class org.apache.lucene.index.FilterVectorValues
advance, binaryValue, cost, dimension, docID, nextDoc, size
-
Methods inherited from class org.apache.lucene.search.DocIdSetIterator
all, empty, range, slowAdvance
-
-
-
-
Constructor Detail
-
ExpandingVectorValues
protected ExpandingVectorValues(VectorValues in)
- Parameters:
in
- the wrapped values
-
-
Method Detail
-
vectorValue
public float[] vectorValue() throws IOException
Description copied from class:VectorValues
Return the vector value for the current document ID. It is illegal to call this method when the iterator is not positioned: before advancing, or after failing to advance. The returned array may be shared across calls, re-used, and modified as the iterator advances.- Overrides:
vectorValue
in classFilterVectorValues
- Returns:
- the vector value
- Throws:
IOException
-
-