public class ParquetUtil extends Object
| Constructor and Description |
|---|
ParquetUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Pair<Map<String,org.apache.parquet.column.statistics.Statistics<?>>,SimpleStatsExtractor.FileInfo> |
extractColumnStats(FileIO fileIO,
Path path)
Extract stats from specified Parquet files path.
|
static ParquetFileReader |
getParquetReader(FileIO fileIO,
Path path,
FileIndexResult fileIndexResult)
Generate
ParquetFileReader instance to read the Parquet files at the given path. |
public static Pair<Map<String,org.apache.parquet.column.statistics.Statistics<?>>,SimpleStatsExtractor.FileInfo> extractColumnStats(FileIO fileIO, Path path) throws IOException
path - the path of parquet files to be readIOExceptionpublic static ParquetFileReader getParquetReader(FileIO fileIO, Path path, FileIndexResult fileIndexResult) throws IOException
ParquetFileReader instance to read the Parquet files at the given path.path - the path of parquet files to be readIOExceptionCopyright © 2023–2025 The Apache Software Foundation. All rights reserved.