public final class OfflinePointReader extends Object implements PointReader
OfflinePointWriter.| Constructor and Description |
|---|
OfflinePointReader(BKDConfig config,
Directory tempDir,
String tempFileName,
long start,
long length,
byte[] reusableBuffer) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
next()
Returns false once iteration is done, else true.
|
PointValue |
pointValue()
Sets the packed value in the provided ByteRef
|
public OfflinePointReader(BKDConfig config, Directory tempDir, String tempFileName, long start, long length, byte[] reusableBuffer) throws IOException
IOExceptionpublic boolean next()
throws IOException
PointReadernext in interface PointReaderIOExceptionpublic PointValue pointValue()
PointReaderpointValue in interface PointReaderpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.