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 Modifier and Type Method Description <D> FileAppender<D>
build()
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)
-
-
-
Method Detail
-
forTable
public ORC.WriteBuilder forTable(Table table)
-
metadata
public ORC.WriteBuilder metadata(java.lang.String property, java.lang.String value)
-
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()
-
-