static class HeapPointReader.HeapPointValue extends java.lang.Object implements PointValue
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
docID |
(package private) BytesRef |
docIDBytes |
(package private) BytesRef |
packedValue |
| Constructor and Description |
|---|
HeapPointValue(byte[] value,
int packedLength) |
| Modifier and Type | Method and Description |
|---|---|
int |
docID()
Returns the document id
|
BytesRef |
docIDBytes()
Returns the byte representation of the document id
|
BytesRef |
packedValue()
Returns the packed values for the dimensions
|
void |
setValue(int offset,
int docID)
Sets a new value by changing the offset and docID.
|
public void setValue(int offset,
int docID)
public BytesRef packedValue()
PointValuepackedValue in interface PointValuepublic int docID()
PointValuedocID in interface PointValuepublic BytesRef docIDBytes()
PointValuedocIDBytes in interface PointValue