Class OutputFileFactory


  • public class OutputFileFactory
    extends java.lang.Object
    Factory responsible for generating unique but recognizable data file names.
    • Constructor Detail

      • OutputFileFactory

        @Deprecated
        public OutputFileFactory​(Table table,
                                 FileFormat format,
                                 int partitionId,
                                 long taskId)
        Deprecated.
      • OutputFileFactory

        @Deprecated
        public OutputFileFactory​(Table table,
                                 PartitionSpec spec,
                                 FileFormat format,
                                 int partitionId,
                                 long taskId)
        Deprecated.
      • OutputFileFactory

        @Deprecated
        public OutputFileFactory​(PartitionSpec spec,
                                 FileFormat format,
                                 LocationProvider locations,
                                 FileIO io,
                                 EncryptionManager encryptionManager,
                                 int partitionId,
                                 long taskId)
        Deprecated.
        since 0.12.0, will be removed in 0.13.0; use builderFor(Table, int, long) instead.
        Constructor where a generated UUID is used as the operationId to ensure uniqueness.
        Parameters:
        spec - Partition specification used by the location provider
        format - File format used for the extension
        locations - Location provider used for generating locations
        io - FileIO to store the files
        encryptionManager - Encryption manager used for encrypting the files
        partitionId - First part of the file name
        taskId - Second part of the file name
      • OutputFileFactory

        @Deprecated
        public OutputFileFactory​(PartitionSpec spec,
                                 FileFormat format,
                                 LocationProvider locations,
                                 FileIO io,
                                 EncryptionManager encryptionManager,
                                 int partitionId,
                                 long taskId,
                                 java.lang.String operationId)
        Deprecated.
        since 0.12.0, will be removed in 0.13.0; use builderFor(Table, int, long) instead.
        Constructor with specific operationId. The [partitionId, taskId, operationId] triplet has to be unique across JVM instances otherwise the same file name could be generated by different instances of the OutputFileFactory.
        Parameters:
        spec - Partition specification used by the location provider
        format - File format used for the extension
        locations - Location provider used for generating locations
        io - FileIO to store the files
        encryptionManager - Encryption manager used for encrypting the files
        partitionId - First part of the file name
        taskId - Second part of the file name
        operationId - Third part of the file name