Class OrcAcidUtils

java.lang.Object
org.apache.orc.impl.OrcAcidUtils

public class OrcAcidUtils extends Object
  • Field Details

  • Constructor Details

    • OrcAcidUtils

      public OrcAcidUtils()
  • Method Details

    • getSideFile

      public static Path getSideFile(Path main)
      Get the filename of the ORC ACID side file that contains the lengths of the intermediate footers.
      Parameters:
      main - the main ORC filename
      Returns:
      the name of the side file
    • getLastFlushLength

      public static long getLastFlushLength(FileSystem fs, Path deltaFile) throws IOException
      Read the side file to get the last flush length.
      Parameters:
      fs - the file system to use
      deltaFile - the path of the delta file
      Returns:
      the maximum size of the file to use
      Throws:
      IOException
    • parseAcidStats

      public static AcidStats parseAcidStats(Reader reader)