public final class FSDataInputChannel extends SeekableInputChannel
| Constructor and Description |
|---|
FSDataInputChannel(org.apache.hadoop.fs.FSDataInputStream inputStream) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
implCloseChannel() |
long |
position() |
int |
read(ByteBuffer dst) |
void |
seek(long offset) |
long |
size() |
read, readbegin, close, end, isOpenpublic FSDataInputChannel(org.apache.hadoop.fs.FSDataInputStream inputStream)
throws IOException
IOExceptionpublic int read(ByteBuffer dst) throws IOException
IOExceptionpublic void seek(long offset)
throws IOException
IOExceptionpublic long position()
throws IOException
IOExceptionpublic long size()
throws IOException
IOExceptionprotected void implCloseChannel()
throws IOException
implCloseChannel in class AbstractInterruptibleChannelIOExceptionCopyright © 2016 Apache Software Foundation. All Rights Reserved.