AllDeleteFilesTable.java org::apache::iceberg::AllDeleteFilesTable org::apache::iceberg::AllDeleteFilesTable::AllDeleteFilesTableScan org::apache::iceberg /* *LicensedtotheApacheSoftwareFoundation(ASF)underone *ormorecontributorlicenseagreements.SeetheNOTICEfile *distributedwiththisworkforadditionalinformation *regardingcopyrightownership.TheASFlicensesthisfile *toyouundertheApacheLicense,Version2.0(the *"License");youmaynotusethisfileexceptincompliance *withtheLicense.YoumayobtainacopyoftheLicenseat * *http://www.apache.org/licenses/LICENSE-2.0 * *Unlessrequiredbyapplicablelaworagreedtoinwriting, *softwaredistributedundertheLicenseisdistributedonan *"ASIS"BASIS,WITHOUTWARRANTIESORCONDITIONSOFANY *KIND,eitherexpressorimplied.SeetheLicenseforthe *specificlanguagegoverningpermissionsandlimitations *undertheLicense. */ packageorg.apache.iceberg; importorg.apache.iceberg.io.CloseableIterable; publicclassAllDeleteFilesTableextendsBaseFilesTable{ AllDeleteFilesTable(Tabletable){ this(table,table.name()+".all_delete_files"); } AllDeleteFilesTable(Tabletable,Stringname){ super(table,name); } @Override publicTableScannewScan(){ returnnewAllDeleteFilesTableScan(table(),schema()); } @Override MetadataTableTypemetadataTableType(){ returnMetadataTableType.ALL_DELETE_FILES; } publicstaticclassAllDeleteFilesTableScanextendsBaseAllFilesTableScan{ AllDeleteFilesTableScan(Tabletable,Schemaschema){ super(table,schema,MetadataTableType.ALL_DELETE_FILES); } privateAllDeleteFilesTableScan(Tabletable,Schemaschema,TableScanContextcontext){ super(table,schema,MetadataTableType.ALL_DELETE_FILES,context); } @Override protectedTableScannewRefinedScan(Tabletable,Schemaschema,TableScanContextcontext){ returnnewAllDeleteFilesTableScan(table,schema,context); } @Override protectedCloseableIterable<ManifestFile>manifests(){ returnreachableManifests(snapshot->snapshot.deleteManifests(table().io())); } } }