Modifier and Type | Method and Description |
---|---|
static HadoopInputFile |
fromPath(org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration conf) |
static HadoopInputFile |
fromPathUnchecked(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 fromPathUnchecked(org.apache.hadoop.fs.Path path, org.apache.hadoop.conf.Configuration conf)
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 © 2023 The Apache Software Foundation. All rights reserved.