Package org.apache.iceberg
Class ReachableFileUtil
java.lang.Object
org.apache.iceberg.ReachableFileUtil
- 
Method SummaryModifier and TypeMethodDescriptionmanifestListLocations(Table table) Returns locations of manifest lists in a table.manifestListLocations(Table table, Set<Long> snapshotIds) Returns locations of manifest lists in a table.metadataFileLocations(Table table, boolean recursive) Returns locations of JSON metadata files in a table.statisticsFilesLocations(Table table) Returns locations of all statistics files in a table.statisticsFilesLocationsForSnapshots(Table table, Set<Long> snapshotIds) Returns locations of all statistics files for a table matching the given snapshot IDs.static StringversionHintLocation(Table table) Returns the location of the version hint file
- 
Method Details- 
versionHintLocationReturns the location of the version hint file- Parameters:
- table- table for which version hint file's path needs to be retrieved
- Returns:
- the location of the version hint file
 
- 
metadataFileLocationsReturns locations of JSON metadata files in a table.- Parameters:
- table- Table to get JSON metadata files from
- recursive- When true, recursively retrieves all the reachable JSON metadata files. When false, gets the all the JSON metadata files only from the current metadata.
- Returns:
- locations of JSON metadata files
 
- 
manifestListLocationsReturns locations of manifest lists in a table.- Parameters:
- table- table for which manifestList needs to be fetched
- Returns:
- the location of manifest lists
 
- 
manifestListLocationsReturns locations of manifest lists in a table.- Parameters:
- table- table for which manifestList needs to be fetched
- snapshotIds- ids of snapshots for which manifest lists will be returned
- Returns:
- the location of manifest lists
 
- 
statisticsFilesLocationsReturns locations of all statistics files in a table.- Parameters:
- table- table for which statistics files needs to be listed
- Returns:
- the location of statistics files
 
- 
statisticsFilesLocationsForSnapshotsReturns locations of all statistics files for a table matching the given snapshot IDs.- Parameters:
- table- table for which statistics files needs to be listed
- snapshotIds- ids of snapshots for which statistics files will be returned. If null, statistics files for all the snapshots will be returned.
- Returns:
- the location of statistics files
 
 
-