public final class HeapPointReader extends PointReader
| Constructor and Description |
|---|
HeapPointReader(List<byte[]> blocks,
int valuesPerBlock,
int packedBytesLength,
int[] ords,
long[] ordsLong,
int[] docIDs,
int start,
int end,
boolean singleValuePerDoc) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
docID()
DocID for this point
|
boolean |
next()
Returns false once iteration is done, else true.
|
long |
ord()
Point ordinal
|
byte[] |
packedValue()
Returns the packed byte[] value
|
markOrds, splitpublic HeapPointReader(List<byte[]> blocks, int valuesPerBlock, int packedBytesLength, int[] ords, long[] ordsLong, int[] docIDs, int start, int end, boolean singleValuePerDoc)
public boolean next()
PointReadernext in class PointReaderpublic byte[] packedValue()
PointReaderpackedValue in class PointReaderpublic int docID()
PointReaderdocID in class PointReaderpublic long ord()
PointReaderord in class PointReaderpublic void close()
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.