public class ParquetTableSchemaResolver extends TableSchemaResolver
metaClient| Constructor and Description |
|---|
ParquetTableSchemaResolver(HoodieTableMetaClient metaClient) |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.parquet.schema.MessageType |
convertAvroSchemaToParquet(org.apache.avro.Schema schema,
org.apache.hadoop.conf.Configuration hadoopConf) |
org.apache.parquet.schema.MessageType |
getTableParquetSchema()
Gets full schema (user + metadata) for a hoodie table in Parquet format.
|
org.apache.parquet.schema.MessageType |
getTableParquetSchema(boolean includeMetadataField)
Gets users data schema for a hoodie table in Parquet format.
|
appendPartitionColumns, getTableAvroSchema, getTableAvroSchema, getTableAvroSchema, getTableAvroSchema, getTableAvroSchemaFromDataFile, getTableAvroSchemaFromLatestCommit, getTableAvroSchemaIfPresent, getTableAvroSchemaWithoutMetadataFields, getTableHistorySchemaStrFromCommitMetadata, getTableInternalSchemaFromCommitMetadata, getTableInternalSchemaFromCommitMetadata, hasOperationField, readSchemaFromLastCompaction, readSchemaFromLogFilepublic ParquetTableSchemaResolver(HoodieTableMetaClient metaClient)
public static org.apache.parquet.schema.MessageType convertAvroSchemaToParquet(org.apache.avro.Schema schema,
org.apache.hadoop.conf.Configuration hadoopConf)
public org.apache.parquet.schema.MessageType getTableParquetSchema()
throws Exception
ExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.