public final class MetadataReader extends Object implements ParquetMetadataSource
| Constructor and Description |
|---|
MetadataReader() |
| Modifier and Type | Method and Description |
|---|---|
ParquetFileMetadata |
getParquetMetadata(ParquetDataSource parquetDataSource,
long fileSize,
boolean cacheable,
long modificationTime) |
static ParquetFileMetadata |
readFooter(ParquetDataSource parquetDataSource,
long fileSize) |
static ParquetFileMetadata |
readFooter(ParquetDataSource parquetDataSource,
long fileSize,
long modificationTime) |
static org.apache.parquet.column.statistics.Statistics<?> |
readStats(org.apache.parquet.format.Statistics statistics,
org.apache.parquet.schema.PrimitiveType.PrimitiveTypeName type) |
public static ParquetFileMetadata readFooter(ParquetDataSource parquetDataSource, long fileSize) throws IOException
IOExceptionpublic static ParquetFileMetadata readFooter(ParquetDataSource parquetDataSource, long fileSize, long modificationTime) throws IOException
IOExceptionpublic static org.apache.parquet.column.statistics.Statistics<?> readStats(org.apache.parquet.format.Statistics statistics,
org.apache.parquet.schema.PrimitiveType.PrimitiveTypeName type)
public ParquetFileMetadata getParquetMetadata(ParquetDataSource parquetDataSource, long fileSize, boolean cacheable, long modificationTime) throws IOException
getParquetMetadata in interface ParquetMetadataSourceIOExceptionCopyright © 2012–2022. All rights reserved.