public static class Avro.WriteBuilder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
<D> FileAppender<D> |
build() |
Avro.WriteBuilder |
createWriterFunc(java.util.function.Function<org.apache.avro.Schema,org.apache.avro.io.DatumWriter<?>> writerFunction) |
Avro.WriteBuilder |
forTable(Table table) |
Avro.WriteBuilder |
meta(java.util.Map<java.lang.String,java.lang.String> properties) |
Avro.WriteBuilder |
meta(java.lang.String property,
java.lang.String value) |
Avro.WriteBuilder |
metricsConfig(MetricsConfig newMetricsConfig) |
Avro.WriteBuilder |
named(java.lang.String newName) |
Avro.WriteBuilder |
overwrite() |
Avro.WriteBuilder |
overwrite(boolean enabled) |
Avro.WriteBuilder |
schema(Schema newSchema) |
Avro.WriteBuilder |
set(java.lang.String property,
java.lang.String value) |
Avro.WriteBuilder |
setAll(java.util.Map<java.lang.String,java.lang.String> properties) |
public Avro.WriteBuilder forTable(Table table)
public Avro.WriteBuilder schema(Schema newSchema)
public Avro.WriteBuilder named(java.lang.String newName)
public Avro.WriteBuilder createWriterFunc(java.util.function.Function<org.apache.avro.Schema,org.apache.avro.io.DatumWriter<?>> writerFunction)
public Avro.WriteBuilder set(java.lang.String property, java.lang.String value)
public Avro.WriteBuilder setAll(java.util.Map<java.lang.String,java.lang.String> properties)
public Avro.WriteBuilder meta(java.lang.String property, java.lang.String value)
public Avro.WriteBuilder meta(java.util.Map<java.lang.String,java.lang.String> properties)
public Avro.WriteBuilder metricsConfig(MetricsConfig newMetricsConfig)
public Avro.WriteBuilder overwrite()
public Avro.WriteBuilder overwrite(boolean enabled)
public <D> FileAppender<D> build() throws java.io.IOException
java.io.IOException