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 OutputFileFactory
build()
OutputFileFactory.Builder
defaultSpec(PartitionSpec newDefaultSpec)
OutputFileFactory.Builder
format(FileFormat newFormat)
OutputFileFactory.Builder
ioSupplier(java.util.function.Supplier<FileIO> newIoSupplier)
Configures aFileIO
supplier, which can potentially be used to dynamically refresh the file IO instance when a table is refreshed.OutputFileFactory.Builder
operationId(java.lang.String newOperationId)
OutputFileFactory.Builder
suffix(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 aFileIO
supplier, 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()
-
-