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
IOException
public static HadoopInputFile fromStatus(org.apache.hadoop.fs.FileStatus stat, org.apache.hadoop.conf.Configuration conf) throws IOException
IOException
public org.apache.hadoop.conf.Configuration getConfiguration()
public org.apache.hadoop.fs.Path getPath()
public SeekableInputStream newStream() throws IOException
newStream
in interface InputFile
IOException
Copyright © 2021 The Apache Software Foundation. All rights reserved.