Package org.apache.iceberg.puffin
Class Puffin.WriteBuilder
- java.lang.Object
-
- org.apache.iceberg.puffin.Puffin.WriteBuilder
-
- Enclosing class:
- Puffin
public static class Puffin.WriteBuilder extends java.lang.Object
A builder forPuffinWriter
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PuffinWriter
build()
Puffin.WriteBuilder
compressBlobs(PuffinCompressionCodec compression)
Configures the writer to compress the blobs.Puffin.WriteBuilder
compressFooter()
Configures the writer to compress the footer.Puffin.WriteBuilder
createdBy(java.lang.String applicationIdentifier)
Sets file-level "created-by" property.Puffin.WriteBuilder
set(java.lang.String property, java.lang.String value)
Sets file-level property to be writtenPuffin.WriteBuilder
setAll(java.util.Map<java.lang.String,java.lang.String> props)
Sets file-level properties to be written
-
-
-
Method Detail
-
set
public Puffin.WriteBuilder set(java.lang.String property, java.lang.String value)
Sets file-level property to be written
-
setAll
public Puffin.WriteBuilder setAll(java.util.Map<java.lang.String,java.lang.String> props)
Sets file-level properties to be written
-
createdBy
public Puffin.WriteBuilder createdBy(java.lang.String applicationIdentifier)
Sets file-level "created-by" property.
-
compressFooter
public Puffin.WriteBuilder compressFooter()
Configures the writer to compress the footer.
-
compressBlobs
public Puffin.WriteBuilder compressBlobs(PuffinCompressionCodec compression)
Configures the writer to compress the blobs. Can be overwritten byBlob
attribute.
-
build
public PuffinWriter build()
-
-