Module org.apache.lucene.core
Package org.apache.lucene.util.bkd
Class OfflinePointReader.OfflinePointValue
java.lang.Object
org.apache.lucene.util.bkd.OfflinePointReader.OfflinePointValue
- All Implemented Interfaces:
PointValue
- Enclosing class:
OfflinePointReader
Reusable implementation for a point value offline
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
packedValue
-
packedValueDocID
-
packedValueLength
final int packedValueLength
-
-
Constructor Details
-
OfflinePointValue
OfflinePointValue(BKDConfig config, byte[] value)
-
-
Method Details
-
setOffset
public void setOffset(int offset) Sets a new value by changing the offset. -
packedValue
Description copied from interface:PointValue
Returns the packed values for the dimensions- Specified by:
packedValue
in interfacePointValue
-
docID
public int docID()Description copied from interface:PointValue
Returns the docID- Specified by:
docID
in interfacePointValue
-
packedValueDocIDBytes
Description copied from interface:PointValue
Returns the byte representation of the packed value together with the docID- Specified by:
packedValueDocIDBytes
in interfacePointValue
-