Class FileNameUtils


  • public class FileNameUtils
    extends Object
    • Constructor Detail

      • FileNameUtils

        public FileNameUtils()
    • Method Detail

      • fileName

        public static String fileName​(String appName,
                                      String table,
                                      int partition,
                                      long start,
                                      long end)
        generate file name File Name Format: app/table/partition/start_end_timeStamp.fileFormat.gz Note: all file names should using the this format
        Parameters:
        appName - connector name
        table - table name
        partition - partition number
        start - start offset
        end - end offset
        Returns:
        file name