public class ParquetRowDataBuilder extends org.apache.parquet.hadoop.ParquetWriter.Builder<org.apache.flink.table.data.RowData,ParquetRowDataBuilder>
RowData of ParquetWriter.Builder.| 限定符和类型 | 类和说明 |
|---|---|
static class |
ParquetRowDataBuilder.FlinkParquetBuilder
Flink Row
ParquetBuilder. |
| 构造器和说明 |
|---|
ParquetRowDataBuilder(org.apache.parquet.io.OutputFile path,
org.apache.flink.table.types.logical.RowType rowType,
boolean utcTimestamp) |
| 限定符和类型 | 方法和说明 |
|---|---|
static ParquetWriterFactory<org.apache.flink.table.data.RowData> |
createWriterFactory(org.apache.flink.table.types.logical.RowType rowType,
org.apache.hadoop.conf.Configuration conf,
boolean utcTimestamp)
Create a parquet
BulkWriter.Factory. |
protected org.apache.parquet.hadoop.api.WriteSupport<org.apache.flink.table.data.RowData> |
getWriteSupport(org.apache.hadoop.conf.Configuration conf) |
protected ParquetRowDataBuilder |
self() |
build, config, enableDictionaryEncoding, enablePageWriteChecksum, enableValidation, withCompressionCodec, withConf, withDictionaryEncoding, withDictionaryPageSize, withMaxPaddingSize, withPageRowCountLimit, withPageSize, withPageWriteChecksumEnabled, withRowGroupSize, withValidation, withWriteMode, withWriterVersionpublic ParquetRowDataBuilder(org.apache.parquet.io.OutputFile path,
org.apache.flink.table.types.logical.RowType rowType,
boolean utcTimestamp)
protected ParquetRowDataBuilder self()
self 在类中 org.apache.parquet.hadoop.ParquetWriter.Builder<org.apache.flink.table.data.RowData,ParquetRowDataBuilder>protected org.apache.parquet.hadoop.api.WriteSupport<org.apache.flink.table.data.RowData> getWriteSupport(org.apache.hadoop.conf.Configuration conf)
getWriteSupport 在类中 org.apache.parquet.hadoop.ParquetWriter.Builder<org.apache.flink.table.data.RowData,ParquetRowDataBuilder>public static ParquetWriterFactory<org.apache.flink.table.data.RowData> createWriterFactory(org.apache.flink.table.types.logical.RowType rowType, org.apache.hadoop.conf.Configuration conf, boolean utcTimestamp)
BulkWriter.Factory.rowType - row type of parquet table.conf - hadoop configuration.utcTimestamp - Use UTC timezone or local timezone to the conversion between epoch time
and LocalDateTime. Hive 0.x/1.x/2.x use local timezone. But Hive 3.x use UTC timezone.Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.