Class CompressionInfoComponent


  • public class CompressionInfoComponent
    extends java.lang.Object
    • Constructor Detail

      • CompressionInfoComponent

        public CompressionInfoComponent()
    • Method Detail

      • verifyCompressionInfoExistenceIfApplicable

        public static void verifyCompressionInfoExistenceIfApplicable​(Descriptor descriptor,
                                                                      java.util.Set<Component> actualComponents)
                                                               throws CorruptSSTableException,
                                                                      FSReadError
        Best-effort checking to verify the expected compression info component exists, according to the TOC file. The verification depends on the existence of TOC file. If absent, the verification is skipped.
        Parameters:
        descriptor -
        actualComponents - actual components listed from the file system.
        Throws:
        CorruptSSTableException - if TOC expects compression info but not found from disk.
        FSReadError - if unable to read from TOC file.