Package org.apache.hadoop.fs.s3a.tools
Class MarkerTool.ScanResult
java.lang.Object
org.apache.hadoop.fs.s3a.tools.MarkerTool.ScanResult
- Enclosing class:
- MarkerTool
Result of the scan operation.
-
Method Details
-
toString
-
getExitCode
public int getExitCode()- Returns:
- Exit code to report.
-
getTracker
- Returns:
- Tracker which did the scan.
-
getPurgeSummary
- Returns:
- Summary of purge. Null if none took place.
-
getTotalMarkerCount
public int getTotalMarkerCount() -
getFilteredMarkerCount
public int getFilteredMarkerCount() -
finish
public int finish() throws org.apache.hadoop.util.ExitUtil.ExitExceptionThrow an exception if the exit code is non-zero.- Returns:
- 0 if everything is good.
- Throws:
org.apache.hadoop.util.ExitUtil.ExitException- if code != 0
-