Class CompactionPlan


  • @Deprecated(since="2.1.0",
                forRemoval=true)
    public class CompactionPlan
    extends Object
    Deprecated, for removal: This API element is subject to removal in a future version.
    A plan for a compaction: the input files, the files that are *not* inputs to a compaction that should simply be deleted, and the optional parameters used to create the resulting output file.
    • Field Detail

      • inputFiles

        public final List<StoredTabletFile> inputFiles
        Deprecated, for removal: This API element is subject to removal in a future version.
      • deleteFiles

        public final List<StoredTabletFile> deleteFiles
        Deprecated, for removal: This API element is subject to removal in a future version.
      • writeParameters

        public WriteParameters writeParameters
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Constructor Detail

      • CompactionPlan

        public CompactionPlan()
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • toString

        public String toString()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Overrides:
        toString in class Object
      • validate

        public final void validate​(Set<StoredTabletFile> allFiles)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Validate compaction plan.
        Parameters:
        allFiles - All possible files
        Throws:
        IllegalStateException - thrown when validation fails.