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
static class OfflinePointReader.OfflinePointValue extends java.lang.Object implements PointValue
Reusable implementation for a point value offline
-
-
Field Summary
Fields Modifier and Type Field Description (package private) BytesRef
packedValue
(package private) BytesRef
packedValueDocID
(package private) int
packedValueLength
-
Constructor Summary
Constructors Constructor Description OfflinePointValue(byte[] value, int packedValueLength)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
docID()
Returns the docIDBytesRef
packedValue()
Returns the packed values for the dimensionsBytesRef
packedValueDocIDBytes()
Returns the byte representation of the packed value together with the docIDvoid
setOffset(int offset)
Sets a new value by changing the offset.
-
-
-
Method Detail
-
setOffset
public void setOffset(int offset)
Sets a new value by changing the offset.
-
packedValue
public BytesRef 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
public BytesRef packedValueDocIDBytes()
Description copied from interface:PointValue
Returns the byte representation of the packed value together with the docID- Specified by:
packedValueDocIDBytes
in interfacePointValue
-
-