Package org.apache.iceberg.io
Class OutputFileFactory.Builder
- java.lang.Object
-
- org.apache.iceberg.io.OutputFileFactory.Builder
-
- Enclosing class:
- OutputFileFactory
public static class OutputFileFactory.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OutputFileFactorybuild()OutputFileFactory.BuilderdefaultSpec(PartitionSpec newDefaultSpec)OutputFileFactory.Builderformat(FileFormat newFormat)OutputFileFactory.BuilderioSupplier(java.util.function.Supplier<FileIO> newIoSupplier)Configures aFileIOsupplier, which can potentially be used to dynamically refresh the file IO instance when a table is refreshed.OutputFileFactory.BuilderoperationId(java.lang.String newOperationId)OutputFileFactory.Buildersuffix(java.lang.String newSuffix)
-
-
-
Method Detail
-
defaultSpec
public OutputFileFactory.Builder defaultSpec(PartitionSpec newDefaultSpec)
-
operationId
public OutputFileFactory.Builder operationId(java.lang.String newOperationId)
-
format
public OutputFileFactory.Builder format(FileFormat newFormat)
-
suffix
public OutputFileFactory.Builder suffix(java.lang.String newSuffix)
-
ioSupplier
public OutputFileFactory.Builder ioSupplier(java.util.function.Supplier<FileIO> newIoSupplier)
Configures aFileIOsupplier, which can potentially be used to dynamically refresh the file IO instance when a table is refreshed.- Parameters:
newIoSupplier- The file IO supplier- Returns:
- this builder instance
-
build
public OutputFileFactory build()
-
-