public class OutputFileFactory
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
OutputFileFactory.Builder |
Modifier and Type | Method and Description |
---|---|
static OutputFileFactory.Builder |
builderFor(Table table,
int partitionId,
long taskId) |
EncryptedOutputFile |
newOutputFile()
Generates an
EncryptedOutputFile for unpartitioned writes. |
EncryptedOutputFile |
newOutputFile(PartitionSpec spec,
StructLike partition)
Generates an
EncryptedOutputFile for partitioned writes in a given spec. |
EncryptedOutputFile |
newOutputFile(StructLike partition)
Generates an
EncryptedOutputFile for partitioned writes in the default spec. |
public static OutputFileFactory.Builder builderFor(Table table, int partitionId, long taskId)
public EncryptedOutputFile newOutputFile()
EncryptedOutputFile
for unpartitioned writes.public EncryptedOutputFile newOutputFile(StructLike partition)
EncryptedOutputFile
for partitioned writes in the default spec.public EncryptedOutputFile newOutputFile(PartitionSpec spec, StructLike partition)
EncryptedOutputFile
for partitioned writes in a given spec.