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