public static class Parquet.WriteBuilder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
<D> FileAppender<D> |
build() |
Parquet.WriteBuilder |
createWriterFunc(java.util.function.Function<org.apache.parquet.schema.MessageType,ParquetValueWriter<?>> newCreateWriterFunc) |
Parquet.WriteBuilder |
forTable(Table table) |
Parquet.WriteBuilder |
meta(java.lang.String property,
java.lang.String value) |
Parquet.WriteBuilder |
metricsConfig(MetricsConfig newMetricsConfig) |
Parquet.WriteBuilder |
named(java.lang.String newName) |
Parquet.WriteBuilder |
overwrite() |
Parquet.WriteBuilder |
overwrite(boolean enabled) |
Parquet.WriteBuilder |
schema(Schema newSchema) |
Parquet.WriteBuilder |
set(java.lang.String property,
java.lang.String value) |
Parquet.WriteBuilder |
setAll(java.util.Map<java.lang.String,java.lang.String> properties) |
Parquet.WriteBuilder |
writerVersion(org.apache.parquet.column.ParquetProperties.WriterVersion version) |
Parquet.WriteBuilder |
writeSupport(org.apache.parquet.hadoop.api.WriteSupport<?> newWriteSupport) |
public Parquet.WriteBuilder forTable(Table table)
public Parquet.WriteBuilder schema(Schema newSchema)
public Parquet.WriteBuilder named(java.lang.String newName)
public Parquet.WriteBuilder writeSupport(org.apache.parquet.hadoop.api.WriteSupport<?> newWriteSupport)
public Parquet.WriteBuilder set(java.lang.String property, java.lang.String value)
public Parquet.WriteBuilder setAll(java.util.Map<java.lang.String,java.lang.String> properties)
public Parquet.WriteBuilder meta(java.lang.String property, java.lang.String value)
public Parquet.WriteBuilder createWriterFunc(java.util.function.Function<org.apache.parquet.schema.MessageType,ParquetValueWriter<?>> newCreateWriterFunc)
public Parquet.WriteBuilder metricsConfig(MetricsConfig newMetricsConfig)
public Parquet.WriteBuilder overwrite()
public Parquet.WriteBuilder overwrite(boolean enabled)
public Parquet.WriteBuilder writerVersion(org.apache.parquet.column.ParquetProperties.WriterVersion version)
public <D> FileAppender<D> build() throws java.io.IOException
java.io.IOException