T
- data type of the rows to append.public interface FileAppenderFactory<T>
FileAppender
to write records.Modifier and Type | Method and Description |
---|---|
default FileAppender<T> |
newAppender(EncryptedOutputFile outputFile,
FileFormat fileFormat)
Create a new
FileAppender . |
FileAppender<T> |
newAppender(OutputFile outputFile,
FileFormat fileFormat)
Create a new
FileAppender . |
DataWriter<T> |
newDataWriter(EncryptedOutputFile outputFile,
FileFormat format,
StructLike partition)
Create a new
DataWriter . |
EqualityDeleteWriter<T> |
newEqDeleteWriter(EncryptedOutputFile outputFile,
FileFormat format,
StructLike partition)
Create a new
EqualityDeleteWriter . |
PositionDeleteWriter<T> |
newPosDeleteWriter(EncryptedOutputFile outputFile,
FileFormat format,
StructLike partition)
Create a new
PositionDeleteWriter . |
FileAppender<T> newAppender(OutputFile outputFile, FileFormat fileFormat)
FileAppender
.outputFile
- an OutputFile used to create an output stream.fileFormat
- File format.FileAppender
default FileAppender<T> newAppender(EncryptedOutputFile outputFile, FileFormat fileFormat)
FileAppender
.outputFile
- an EncryptedOutputFile used to create an output stream.fileFormat
- File format.FileAppender
DataWriter<T> newDataWriter(EncryptedOutputFile outputFile, FileFormat format, StructLike partition)
DataWriter
.outputFile
- an OutputFile used to create an output stream.format
- a file formatpartition
- a tuple of partition valuesDataWriter
for rowsEqualityDeleteWriter<T> newEqDeleteWriter(EncryptedOutputFile outputFile, FileFormat format, StructLike partition)
EqualityDeleteWriter
.outputFile
- an OutputFile used to create an output stream.format
- a file formatpartition
- a tuple of partition valuesEqualityDeleteWriter
for equality deletesPositionDeleteWriter<T> newPosDeleteWriter(EncryptedOutputFile outputFile, FileFormat format, StructLike partition)
PositionDeleteWriter
.outputFile
- an OutputFile used to create an output stream.format
- a file formatpartition
- a tuple of partition valuesPositionDeleteWriter
for position deletes