Interface FileWriterFactory<T>

  • All Known Implementing Classes:
    BaseFileWriterFactory

    public interface FileWriterFactory<T>
    A factory for creating data and delete writers.
    • Method Detail

      • newDataWriter

        DataWriter<T> newDataWriter​(EncryptedOutputFile file,
                                    PartitionSpec spec,
                                    StructLike partition)
        Creates a new DataWriter.
        Parameters:
        file - the output file
        spec - the partition spec written data belongs to
        partition - the partition written data belongs to or null if the spec is unpartitioned
        Returns:
        the constructed data writer