public static class DFSClient.DFSDataInputStream extends FSDataInputStream
FSDataInputStreamin| 构造器和说明 |
|---|
DFSClient.DFSDataInputStream(DFSClient.DFSInputStream in) |
| 限定符和类型 | 方法和说明 |
|---|---|
Block |
getCurrentBlock()
Returns the block containing the target position.
|
DatanodeInfo |
getCurrentDatanode()
Returns the datanode from which the stream is currently reading.
|
long |
getVisibleLength() |
getFileDescriptor, getPos, read, readFully, readFully, seek, seekToNewSourceread, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytesavailable, close, mark, markSupported, read, reset, skippublic DFSClient.DFSDataInputStream(DFSClient.DFSInputStream in) throws IOException
IOExceptionpublic DatanodeInfo getCurrentDatanode()
public Block getCurrentBlock()
public long getVisibleLength()
throws IOException
IOExceptionCopyright © 2009 The Apache Software Foundation