public interface FileWriterFactory<T>
| Modifier and Type | Method and Description |
|---|---|
DataWriter<T> |
newDataWriter(EncryptedOutputFile file,
PartitionSpec spec,
StructLike partition)
Creates a new
DataWriter. |
EqualityDeleteWriter<T> |
newEqualityDeleteWriter(EncryptedOutputFile file,
PartitionSpec spec,
StructLike partition)
Creates a new
EqualityDeleteWriter. |
PositionDeleteWriter<T> |
newPositionDeleteWriter(EncryptedOutputFile file,
PartitionSpec spec,
StructLike partition)
Creates a new
PositionDeleteWriter. |
DataWriter<T> newDataWriter(EncryptedOutputFile file, PartitionSpec spec, StructLike partition)
DataWriter.file - the output filespec - the partition spec written data belongs topartition - the partition written data belongs to or null if the spec is unpartitionedEqualityDeleteWriter<T> newEqualityDeleteWriter(EncryptedOutputFile file, PartitionSpec spec, StructLike partition)
EqualityDeleteWriter.file - the output filespec - the partition spec written deletes belong topartition - the partition written deletes belong to or null if the spec is unpartitionedPositionDeleteWriter<T> newPositionDeleteWriter(EncryptedOutputFile file, PartitionSpec spec, StructLike partition)
PositionDeleteWriter.file - the output filespec - the partition spec written deletes belong topartition - the partition written deletes belong to or null if the spec is unpartitioned