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