Class ChecksumReader
Object
io.delta.kernel.internal.checksum.ChecksumReader
Utility method to load protocol and metadata from the Delta log checksum files.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontryReadChecksumFile(Engine engine, FileStatus checkSumFile) Load the CRCInfo from the provided checksum file.
-
Constructor Details
-
ChecksumReader
public ChecksumReader()
-
-
Method Details
-
tryReadChecksumFile
Load the CRCInfo from the provided checksum file.- Parameters:
engine- the engine to use for reading the checksum filecheckSumFile- the file status of the checksum file to read- Returns:
- Optional
CRCInfocontaining the information included in the checksum file, such as protocol, metadata.
-