Package org.apache.iceberg.parquet
Class Parquet.DataWriteBuilder
- java.lang.Object
-
- org.apache.iceberg.parquet.Parquet.DataWriteBuilder
-
- Enclosing class:
- Parquet
public static class Parquet.DataWriteBuilder extends java.lang.Object
-
-
Method Summary
-
-
-
Method Detail
-
forTable
public Parquet.DataWriteBuilder forTable(Table table)
-
schema
public Parquet.DataWriteBuilder schema(Schema newSchema)
-
set
public Parquet.DataWriteBuilder set(java.lang.String property, java.lang.String value)
-
setAll
public Parquet.DataWriteBuilder setAll(java.util.Map<java.lang.String,java.lang.String> properties)
-
meta
public Parquet.DataWriteBuilder meta(java.lang.String property, java.lang.String value)
-
overwrite
public Parquet.DataWriteBuilder overwrite()
-
overwrite
public Parquet.DataWriteBuilder overwrite(boolean enabled)
-
metricsConfig
public Parquet.DataWriteBuilder metricsConfig(MetricsConfig newMetricsConfig)
-
createWriterFunc
public Parquet.DataWriteBuilder createWriterFunc(java.util.function.Function<org.apache.parquet.schema.MessageType,ParquetValueWriter<?>> newCreateWriterFunc)
-
withSpec
public Parquet.DataWriteBuilder withSpec(PartitionSpec newSpec)
-
withPartition
public Parquet.DataWriteBuilder withPartition(StructLike newPartition)
-
withKeyMetadata
public Parquet.DataWriteBuilder withKeyMetadata(EncryptionKeyMetadata metadata)
-
withFileEncryptionKey
public Parquet.DataWriteBuilder withFileEncryptionKey(java.nio.ByteBuffer fileEncryptionKey)
-
withAADPrefix
public Parquet.DataWriteBuilder withAADPrefix(java.nio.ByteBuffer aadPrefix)
-
withSortOrder
public Parquet.DataWriteBuilder withSortOrder(SortOrder newSortOrder)
-
build
public <T> DataWriter<T> build() throws java.io.IOException
- Throws:
java.io.IOException
-
-