| Modifier and Type | Method and Description |
|---|---|
static HadoopInputFile |
fromPath(org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration conf) |
static HadoopInputFile |
fromStatus(org.apache.hadoop.fs.FileStatus stat,
org.apache.hadoop.conf.Configuration conf) |
org.apache.hadoop.conf.Configuration |
getConfiguration() |
long |
getLength() |
SeekableInputStream |
newStream() |
String |
toString() |
public static HadoopInputFile fromPath(org.apache.hadoop.fs.Path path, org.apache.hadoop.conf.Configuration conf) throws IOException
IOExceptionpublic static HadoopInputFile fromStatus(org.apache.hadoop.fs.FileStatus stat, org.apache.hadoop.conf.Configuration conf) throws IOException
IOExceptionpublic org.apache.hadoop.conf.Configuration getConfiguration()
public SeekableInputStream newStream() throws IOException
newStream in interface InputFileIOExceptionCopyright © 2019 The Apache Software Foundation. All rights reserved.