public class OpenFile
extends java.lang.Object
Constructor and Description |
---|
OpenFile(java.nio.channels.FileChannel rwChannel,
java.nio.ByteBuffer buffer) |
OpenFile(java.nio.channels.FileChannel rwChannel,
java.nio.ByteBuffer byteBuffer,
java.util.List<Tuple> kValues,
int total) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.nio.ByteBuffer |
getByteBuffer() |
java.util.List<Tuple> |
getKeyValues() |
java.nio.channels.FileChannel |
getRwChannel() |
int |
getTotalBytes() |
public OpenFile(java.nio.channels.FileChannel rwChannel, java.nio.ByteBuffer buffer)
public OpenFile(java.nio.channels.FileChannel rwChannel, java.nio.ByteBuffer byteBuffer, java.util.List<Tuple> kValues, int total)
public java.nio.channels.FileChannel getRwChannel()
public java.nio.ByteBuffer getByteBuffer()
public void close() throws java.io.IOException
java.io.IOException
public java.util.List<Tuple> getKeyValues()
public int getTotalBytes()