Package org.apache.iceberg
Class MetadataUpdateParser
java.lang.Object
org.apache.iceberg.MetadataUpdateParser
-
Method Summary
Modifier and TypeMethodDescriptionstatic MetadataUpdate
fromJson
(com.fasterxml.jackson.databind.JsonNode jsonNode) static MetadataUpdate
Read MetadataUpdate from a JSON string.static String
toJson
(MetadataUpdate metadataUpdate) static String
toJson
(MetadataUpdate metadataUpdate, boolean pretty) static void
toJson
(MetadataUpdate metadataUpdate, com.fasterxml.jackson.core.JsonGenerator generator)
-
Method Details
-
toJson
-
toJson
-
toJson
public static void toJson(MetadataUpdate metadataUpdate, com.fasterxml.jackson.core.JsonGenerator generator) throws IOException - Throws:
IOException
-
fromJson
Read MetadataUpdate from a JSON string.- Parameters:
json
- a JSON string of a MetadataUpdate- Returns:
- a MetadataUpdate object
-
fromJson
-