public class HdfsFileInputStream extends BaseHdfsFileInputStream
mInputStream
Constructor and Description |
---|
HdfsFileInputStream(FileInStream inputStream,
org.apache.hadoop.fs.FileSystem.Statistics stats)
Constructs a new stream for reading a file from HDFS.
|
HdfsFileInputStream(FileSystem fs,
AlluxioURI uri,
org.apache.hadoop.fs.FileSystem.Statistics stats)
Constructs a new stream for reading a file from HDFS.
|
available, close, getPos, read, read, read, read, read, readFully, readFully, seek, seekToNewSource, skip
mark, markSupported, reset
public HdfsFileInputStream(FileSystem fs, AlluxioURI uri, org.apache.hadoop.fs.FileSystem.Statistics stats) throws IOException
fs
- the file systemuri
- the Alluxio file URIstats
- filesystem statisticsIOException
public HdfsFileInputStream(FileInStream inputStream, org.apache.hadoop.fs.FileSystem.Statistics stats)
inputStream
- the input streamstats
- filesystem statisticsCopyright © 2023. All Rights Reserved.