public class FooterGatherer extends Object
Constructor and Description |
---|
FooterGatherer() |
Modifier and Type | Method and Description |
---|---|
static List<org.apache.parquet.hadoop.Footer> |
getFooters(org.apache.hadoop.conf.Configuration conf,
List<org.apache.hadoop.fs.FileStatus> statuses,
int parallelism)
A function to get a list of footers.
|
static org.apache.parquet.hadoop.Footer |
readFooter(org.apache.hadoop.conf.Configuration config,
org.apache.hadoop.fs.FileStatus status)
An updated footer reader that tries to read the entire footer without knowing the length.
|
public static List<org.apache.parquet.hadoop.Footer> getFooters(org.apache.hadoop.conf.Configuration conf, List<org.apache.hadoop.fs.FileStatus> statuses, int parallelism) throws IOException
conf
- configuration for file systemstatuses
- list of file statusesparallelism
- parallelismIOException
public static org.apache.parquet.hadoop.Footer readFooter(org.apache.hadoop.conf.Configuration config, org.apache.hadoop.fs.FileStatus status) throws IOException
config
- configuration for file systemstatus
- file statusIOException
Copyright © 1970 The Apache Software Foundation. All rights reserved.