| 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() |
org.apache.hadoop.fs.Path |
getPath() |
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 org.apache.hadoop.fs.Path getPath()
public SeekableInputStream newStream() throws IOException
newStream in interface InputFileIOExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.