Package org.apache.iceberg.io
Interface SupportsRecoveryOperations
- All Known Implementing Classes:
- S3FileIO
public interface SupportsRecoveryOperations
This interface is intended as an extension for FileIO implementations to provide additional
 best-effort recovery operations that can be useful for repairing corrupted tables where there are
 reachable files missing from disk. (e.g. a live manifest points to data file entry which no
 longer exists on disk)
- 
Method SummaryModifier and TypeMethodDescriptionbooleanrecoverFile(String path) Perform a best-effort recovery of a file at a given path
- 
Method Details- 
recoverFilePerform a best-effort recovery of a file at a given path- Parameters:
- path- Absolute path of file to attempt recovery for
- Returns:
- true if recovery was successful, false otherwise
 
 
-