public class ParquetRowDataBuilder extends org.apache.parquet.hadoop.ParquetWriter.Builder<RowData,ParquetRowDataBuilder>
RowData
of ParquetWriter.Builder
.Modifier and Type | Class and Description |
---|---|
static class |
ParquetRowDataBuilder.FlinkParquetBuilder
Flink Row
ParquetBuilder . |
Constructor and Description |
---|
ParquetRowDataBuilder(org.apache.parquet.io.OutputFile path,
RowType rowType,
boolean utcTimestamp) |
Modifier and Type | Method and Description |
---|---|
static ParquetWriterFactory<RowData> |
createWriterFactory(RowType rowType,
Configuration conf,
boolean utcTimestamp)
Create a parquet
BulkWriter.Factory . |
protected org.apache.parquet.hadoop.api.WriteSupport<RowData> |
getWriteSupport(Configuration conf) |
protected ParquetRowDataBuilder |
self() |
build, config, enableDictionaryEncoding, enableValidation, withCompressionCodec, withConf, withDictionaryEncoding, withDictionaryPageSize, withMaxPaddingSize, withPageSize, withRowGroupSize, withValidation, withWriteMode, withWriterVersion
public ParquetRowDataBuilder(org.apache.parquet.io.OutputFile path, RowType rowType, boolean utcTimestamp)
protected ParquetRowDataBuilder self()
self
in class org.apache.parquet.hadoop.ParquetWriter.Builder<RowData,ParquetRowDataBuilder>
protected org.apache.parquet.hadoop.api.WriteSupport<RowData> getWriteSupport(Configuration conf)
getWriteSupport
in class org.apache.parquet.hadoop.ParquetWriter.Builder<RowData,ParquetRowDataBuilder>
public static ParquetWriterFactory<RowData> createWriterFactory(RowType rowType, 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–2024 The Apache Software Foundation. All rights reserved.