public static class DFSClient.DFSDataInputStream extends FSDataInputStream
FSDataInputStream
in
构造器和说明 |
---|
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, seekToNewSource
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytes
available, close, mark, markSupported, read, reset, skip
public DFSClient.DFSDataInputStream(DFSClient.DFSInputStream in) throws IOException
IOException
public DatanodeInfo getCurrentDatanode()
public Block getCurrentBlock()
public long getVisibleLength() throws IOException
IOException
Copyright © 2009 The Apache Software Foundation