Package org.apache.iceberg.parquet
Class Parquet.WriteBuilder
java.lang.Object
org.apache.iceberg.parquet.Parquet.WriteBuilder
- Enclosing class:
- Parquet
-
Method Summary
Modifier and TypeMethodDescription<D> FileAppender<D>
build()
createWriterFunc
(Function<org.apache.parquet.schema.MessageType, ParquetValueWriter<?>> newCreateWriterFunc) metricsConfig
(MetricsConfig newMetricsConfig) overwrite
(boolean enabled) withAADPrefix
(ByteBuffer aadPrefix) withFileEncryptionKey
(ByteBuffer encryptionKey) writerVersion
(org.apache.parquet.column.ParquetProperties.WriterVersion version) writeSupport
(org.apache.parquet.hadoop.api.WriteSupport<?> newWriteSupport)
-
Method Details
-
forTable
-
schema
-
named
-
writeSupport
public Parquet.WriteBuilder writeSupport(org.apache.parquet.hadoop.api.WriteSupport<?> newWriteSupport) -
set
-
setAll
-
meta
-
createWriterFunc
public Parquet.WriteBuilder createWriterFunc(Function<org.apache.parquet.schema.MessageType, ParquetValueWriter<?>> newCreateWriterFunc) -
metricsConfig
-
overwrite
-
overwrite
-
writerVersion
public Parquet.WriteBuilder writerVersion(org.apache.parquet.column.ParquetProperties.WriterVersion version) -
withFileEncryptionKey
-
withAADPrefix
-
build
- Throws:
IOException
-