Package org.apache.iceberg.avro
Class Avro.DataWriteBuilder
java.lang.Object
org.apache.iceberg.avro.Avro.DataWriteBuilder
- Enclosing class:
- Avro
-
Method Summary
Modifier and TypeMethodDescription<T> DataWriter<T>
build()
createWriterFunc
(Function<org.apache.avro.Schema, org.apache.avro.io.DatumWriter<?>> newCreateWriterFunc) metricsConfig
(MetricsConfig newMetricsConfig) overwrite
(boolean enabled) withKeyMetadata
(EncryptionKeyMetadata metadata) withPartition
(StructLike newPartition) withSortOrder
(SortOrder newSortOrder) withSpec
(PartitionSpec newSpec)
-
Method Details
-
forTable
-
schema
-
set
-
setAll
-
meta
-
overwrite
-
overwrite
-
metricsConfig
-
createWriterFunc
public Avro.DataWriteBuilder createWriterFunc(Function<org.apache.avro.Schema, org.apache.avro.io.DatumWriter<?>> newCreateWriterFunc) -
withSpec
-
withPartition
-
withKeyMetadata
-
withSortOrder
-
build
- Throws:
IOException
-