Package org.apache.iceberg.avro
Class Avro.WriteBuilder
java.lang.Object
org.apache.iceberg.avro.Avro.WriteBuilder
- Enclosing class:
Avro
-
Method Summary
Modifier and TypeMethodDescription<D> FileAppender
<D> build()
createWriterFunc
(Function<org.apache.avro.Schema, org.apache.avro.io.DatumWriter<?>> writerFunction) metricsConfig
(MetricsConfig newMetricsConfig) overwrite
(boolean enabled)
-
Method Details
-
forTable
-
schema
-
named
-
createWriterFunc
public Avro.WriteBuilder createWriterFunc(Function<org.apache.avro.Schema, org.apache.avro.io.DatumWriter<?>> writerFunction) -
set
-
setAll
-
meta
-
meta
-
metricsConfig
-
overwrite
-
overwrite
-
build
- Throws:
IOException
-