Package org.apache.iceberg.orc
Class ORC.WriteBuilder
- java.lang.Object
-
- org.apache.iceberg.orc.ORC.WriteBuilder
-
- Enclosing class:
- ORC
public static class ORC.WriteBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description <D> FileAppender<D>
build()
ORC.WriteBuilder
config(java.lang.String property, java.lang.String value)
Deprecated.Please use #set(String, String) insteadORC.WriteBuilder
createWriterFunc(java.util.function.BiFunction<Schema,org.apache.orc.TypeDescription,OrcRowWriter<?>> writerFunction)
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)
-
-
-
Method Detail
-
metadata
public ORC.WriteBuilder metadata(java.lang.String property, java.lang.String value)
-
config
@Deprecated public ORC.WriteBuilder config(java.lang.String property, java.lang.String value)
Deprecated.Please use #set(String, String) insteadSetting a specific configuration value for the writer.- Parameters:
property
- The property to setvalue
- The value to set- Returns:
- The resulting builder for chaining purposes
-
set
public ORC.WriteBuilder set(java.lang.String property, java.lang.String value)
-
createWriterFunc
public ORC.WriteBuilder createWriterFunc(java.util.function.BiFunction<Schema,org.apache.orc.TypeDescription,OrcRowWriter<?>> writerFunction)
-
setAll
public ORC.WriteBuilder setAll(java.util.Map<java.lang.String,java.lang.String> properties)
-
schema
public ORC.WriteBuilder schema(Schema newSchema)
-
overwrite
public ORC.WriteBuilder overwrite()
-
overwrite
public ORC.WriteBuilder overwrite(boolean enabled)
-
metricsConfig
public ORC.WriteBuilder metricsConfig(MetricsConfig newMetricsConfig)
-
build
public <D> FileAppender<D> build()
-
-