public final class OfflinePointReader extends Object implements PointReader
OfflinePointWriter
.Constructor and Description |
---|
OfflinePointReader(Directory tempDir,
String tempFileName,
int packedBytesLength,
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(Directory tempDir, String tempFileName, int packedBytesLength, long start, long length, byte[] reusableBuffer) throws IOException
IOException
public boolean next() throws IOException
PointReader
next
in interface PointReader
IOException
public PointValue pointValue()
PointReader
pointValue
in interface PointReader
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.