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