Package org.apache.parquet.hadoop.util
Class HadoopInputFile
- java.lang.Object
-
- org.apache.parquet.hadoop.util.HadoopInputFile
-
- All Implemented Interfaces:
org.apache.parquet.io.InputFile
public class HadoopInputFile extends Object implements org.apache.parquet.io.InputFile
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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()
org.apache.parquet.io.SeekableInputStream
newStream()
String
toString()
-
-
-
Method Detail
-
fromPath
public static HadoopInputFile fromPath(org.apache.hadoop.fs.Path path, org.apache.hadoop.conf.Configuration conf) throws IOException
- Throws:
IOException
-
fromStatus
public static HadoopInputFile fromStatus(org.apache.hadoop.fs.FileStatus stat, org.apache.hadoop.conf.Configuration conf) throws IOException
- Throws:
IOException
-
getConfiguration
public org.apache.hadoop.conf.Configuration getConfiguration()
-
getPath
public org.apache.hadoop.fs.Path getPath()
-
getLength
public long getLength()
- Specified by:
getLength
in interfaceorg.apache.parquet.io.InputFile
-
newStream
public org.apache.parquet.io.SeekableInputStream newStream() throws IOException
- Specified by:
newStream
in interfaceorg.apache.parquet.io.InputFile
- Throws:
IOException
-
-