Package org.apache.iceberg.io
Class OutputFileFactory
- java.lang.Object
-
- org.apache.iceberg.io.OutputFileFactory
-
public class OutputFileFactory extends java.lang.Object
Factory responsible for generating unique but recognizable data file names.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OutputFileFactory.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OutputFileFactory.Builder
builderFor(Table table, int partitionId, long taskId)
EncryptedOutputFile
newOutputFile()
Generates anEncryptedOutputFile
for unpartitioned writes.EncryptedOutputFile
newOutputFile(PartitionSpec spec, StructLike partition)
Generates anEncryptedOutputFile
for partitioned writes in a given spec.EncryptedOutputFile
newOutputFile(StructLike partition)
Generates anEncryptedOutputFile
for partitioned writes in the default spec.
-
-
-
Method Detail
-
builderFor
public static OutputFileFactory.Builder builderFor(Table table, int partitionId, long taskId)
-
newOutputFile
public EncryptedOutputFile newOutputFile()
Generates anEncryptedOutputFile
for unpartitioned writes.
-
newOutputFile
public EncryptedOutputFile newOutputFile(StructLike partition)
Generates anEncryptedOutputFile
for partitioned writes in the default spec.
-
newOutputFile
public EncryptedOutputFile newOutputFile(PartitionSpec spec, StructLike partition)
Generates anEncryptedOutputFile
for partitioned writes in a given spec.
-
-