public class ParquetUtil extends Object
Constructor and Description |
---|
ParquetUtil() |
Modifier and Type | Method and Description |
---|---|
static Map<String,org.apache.parquet.column.statistics.Statistics> |
extractColumnStats(org.apache.hadoop.fs.Path path)
Extract stats from specified Parquet files path.
|
static org.apache.parquet.hadoop.ParquetFileReader |
getParquetReader(org.apache.hadoop.fs.Path path)
Generate
ParquetFileReader instance to read the Parquet files at the given path. |
public static Map<String,org.apache.parquet.column.statistics.Statistics> extractColumnStats(org.apache.hadoop.fs.Path path) throws IOException
path
- the path of parquet files to be readIOException
public static org.apache.parquet.hadoop.ParquetFileReader getParquetReader(org.apache.hadoop.fs.Path path) throws IOException
ParquetFileReader
instance to read the Parquet files at the given path.path
- the path of parquet files to be readIOException
Copyright © 2019–2023 The Apache Software Foundation. All rights reserved.