AllDataFilesTable.java org::apache::iceberg::AllDataFilesTable org::apache::iceberg::AllDataFilesTable::AllDataFilesTableScan 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; publicclassAllDataFilesTableextendsBaseFilesTable{ AllDataFilesTable(Tabletable){ this(table,table.name()+".all_data_files"); } AllDataFilesTable(Tabletable,Stringname){ super(table,name); } @Override publicTableScannewScan(){ returnnewAllDataFilesTableScan(table(),schema()); } @Override MetadataTableTypemetadataTableType(){ returnMetadataTableType.ALL_DATA_FILES; } publicstaticclassAllDataFilesTableScanextendsBaseAllFilesTableScan{ AllDataFilesTableScan(Tabletable,Schemaschema){ super(table,schema,MetadataTableType.ALL_DATA_FILES); } privateAllDataFilesTableScan(Tabletable,Schemaschema,TableScanContextcontext){ super(table,schema,MetadataTableType.ALL_DATA_FILES,context); } @Override protectedTableScannewRefinedScan(Tabletable,Schemaschema,TableScanContextcontext){ returnnewAllDataFilesTableScan(table,schema,context); } @Override protectedCloseableIterable<ManifestFile>manifests(){ returnreachableManifests(snapshot->snapshot.dataManifests(table().io())); } } }