Class ChecksumReader

Object
io.delta.kernel.internal.checksum.ChecksumReader

public class ChecksumReader extends Object
Utility method to load protocol and metadata from the Delta log checksum files.
  • Constructor Details

    • ChecksumReader

      public ChecksumReader()
  • Method Details

    • tryReadChecksumFile

      public static Optional<CRCInfo> tryReadChecksumFile(Engine engine, FileStatus checkSumFile)
      Load the CRCInfo from the provided checksum file.
      Parameters:
      engine - the engine to use for reading the checksum file
      checkSumFile - the file status of the checksum file to read
      Returns:
      Optional CRCInfo containing the information included in the checksum file, such as protocol, metadata.