public static class ORC.DataWriteBuilder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
<T> DataWriter<T> |
build() |
ORC.DataWriteBuilder |
createWriterFunc(java.util.function.BiFunction<Schema,org.apache.orc.TypeDescription,OrcRowWriter<?>> writerFunction) |
ORC.DataWriteBuilder |
forTable(Table table) |
ORC.DataWriteBuilder |
meta(java.lang.String property,
java.lang.String value) |
ORC.DataWriteBuilder |
metricsConfig(MetricsConfig newMetricsConfig) |
ORC.DataWriteBuilder |
overwrite() |
ORC.DataWriteBuilder |
overwrite(boolean enabled) |
ORC.DataWriteBuilder |
schema(Schema newSchema) |
ORC.DataWriteBuilder |
set(java.lang.String property,
java.lang.String value) |
ORC.DataWriteBuilder |
setAll(java.util.Map<java.lang.String,java.lang.String> properties) |
ORC.DataWriteBuilder |
withKeyMetadata(EncryptionKeyMetadata metadata) |
ORC.DataWriteBuilder |
withPartition(StructLike newPartition) |
ORC.DataWriteBuilder |
withSortOrder(SortOrder newSortOrder) |
ORC.DataWriteBuilder |
withSpec(PartitionSpec newSpec) |
public ORC.DataWriteBuilder forTable(Table table)
public ORC.DataWriteBuilder schema(Schema newSchema)
public ORC.DataWriteBuilder set(java.lang.String property, java.lang.String value)
public ORC.DataWriteBuilder setAll(java.util.Map<java.lang.String,java.lang.String> properties)
public ORC.DataWriteBuilder meta(java.lang.String property, java.lang.String value)
public ORC.DataWriteBuilder overwrite()
public ORC.DataWriteBuilder overwrite(boolean enabled)
public ORC.DataWriteBuilder metricsConfig(MetricsConfig newMetricsConfig)
public ORC.DataWriteBuilder createWriterFunc(java.util.function.BiFunction<Schema,org.apache.orc.TypeDescription,OrcRowWriter<?>> writerFunction)
public ORC.DataWriteBuilder withSpec(PartitionSpec newSpec)
public ORC.DataWriteBuilder withPartition(StructLike newPartition)
public ORC.DataWriteBuilder withKeyMetadata(EncryptionKeyMetadata metadata)
public ORC.DataWriteBuilder withSortOrder(SortOrder newSortOrder)
public <T> DataWriter<T> build()