public static class ORC.WriteBuilder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
<D> FileAppender<D> |
build() |
ORC.WriteBuilder |
config(java.lang.String property,
java.lang.String value)
Deprecated.
Please use #set(String, String) instead
|
ORC.WriteBuilder |
createWriterFunc(java.util.function.BiFunction<Schema,org.apache.orc.TypeDescription,OrcRowWriter<?>> writerFunction) |
ORC.WriteBuilder |
forTable(Table table) |
ORC.WriteBuilder |
metadata(java.lang.String property,
java.lang.String value) |
ORC.WriteBuilder |
metricsConfig(MetricsConfig newMetricsConfig) |
ORC.WriteBuilder |
overwrite() |
ORC.WriteBuilder |
overwrite(boolean enabled) |
ORC.WriteBuilder |
schema(Schema newSchema) |
ORC.WriteBuilder |
set(java.lang.String property,
java.lang.String value) |
ORC.WriteBuilder |
setAll(java.util.Map<java.lang.String,java.lang.String> properties) |
public ORC.WriteBuilder forTable(Table table)
public ORC.WriteBuilder metadata(java.lang.String property, java.lang.String value)
@Deprecated public ORC.WriteBuilder config(java.lang.String property, java.lang.String value)
property
- The property to setvalue
- The value to setpublic ORC.WriteBuilder set(java.lang.String property, java.lang.String value)
public ORC.WriteBuilder createWriterFunc(java.util.function.BiFunction<Schema,org.apache.orc.TypeDescription,OrcRowWriter<?>> writerFunction)
public ORC.WriteBuilder setAll(java.util.Map<java.lang.String,java.lang.String> properties)
public ORC.WriteBuilder schema(Schema newSchema)
public ORC.WriteBuilder overwrite()
public ORC.WriteBuilder overwrite(boolean enabled)
public ORC.WriteBuilder metricsConfig(MetricsConfig newMetricsConfig)
public <D> FileAppender<D> build()