Package org.apache.iceberg.metrics
Class ScanReportParser
java.lang.Object
org.apache.iceberg.metrics.ScanReportParser
- 
Method SummaryModifier and TypeMethodDescriptionstatic ScanReportfromJson(com.fasterxml.jackson.databind.JsonNode json) static ScanReportstatic StringtoJson(ScanReport scanReport) static StringtoJson(ScanReport scanReport, boolean pretty) static voidtoJson(ScanReport scanReport, com.fasterxml.jackson.core.JsonGenerator gen) static voidtoJsonWithoutStartEnd(ScanReport scanReport, com.fasterxml.jackson.core.JsonGenerator gen) This serializes theScanReportwithout writing a start/end object and is mainly used byReportMetricsRequestParser.
- 
Method Details- 
toJson
- 
toJson
- 
toJsonpublic static void toJson(ScanReport scanReport, com.fasterxml.jackson.core.JsonGenerator gen) throws IOException - Throws:
- IOException
 
- 
toJsonWithoutStartEndpublic static void toJsonWithoutStartEnd(ScanReport scanReport, com.fasterxml.jackson.core.JsonGenerator gen) throws IOException This serializes theScanReportwithout writing a start/end object and is mainly used byReportMetricsRequestParser.- Parameters:
- scanReport- The- ScanReportto serialize
- gen- The- JsonGeneratorto use
- Throws:
- IOException- If an error occurs while serializing
 
- 
fromJson
- 
fromJson
 
-