Class SSTableReaderLoadingBuilder<R extends SSTableReader,​B extends SSTableReader.Builder<R,​B>>

    • Constructor Detail

      • SSTableReaderLoadingBuilder

        public SSTableReaderLoadingBuilder​(SSTable.Builder<?,​?> builder)
    • Method Detail

      • build

        public R build​(SSTable.Owner owner,
                       boolean validate,
                       boolean online)
      • buildKeyReader

        public abstract KeyReader buildKeyReader​(TableMetrics tableMetrics)
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • openComponents

        protected abstract void openComponents​(B builder,
                                               SSTable.Owner owner,
                                               boolean validate,
                                               boolean online)
                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • validatePartitioner

        protected void validatePartitioner​(TableMetadata metadata,
                                           ValidationMetadata validationMetadata)
        Check if sstable is created using same partitioner. Partitioner can be null, which indicates older version of sstable or no stats available. In that case, we skip the check.