Package org.apache.iceberg.rest.requests
Class UpdateRequirementParser
- java.lang.Object
-
- org.apache.iceberg.rest.requests.UpdateRequirementParser
-
public class UpdateRequirementParser extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UpdateTableRequest.UpdateRequirement
fromJson(com.fasterxml.jackson.databind.JsonNode jsonNode)
static UpdateTableRequest.UpdateRequirement
fromJson(java.lang.String json)
Read MetadataUpdate from a JSON string.static java.lang.String
toJson(UpdateTableRequest.UpdateRequirement updateRequirement)
static java.lang.String
toJson(UpdateTableRequest.UpdateRequirement updateRequirement, boolean pretty)
static void
toJson(UpdateTableRequest.UpdateRequirement updateRequirement, com.fasterxml.jackson.core.JsonGenerator generator)
-
-
-
Method Detail
-
toJson
public static java.lang.String toJson(UpdateTableRequest.UpdateRequirement updateRequirement)
-
toJson
public static java.lang.String toJson(UpdateTableRequest.UpdateRequirement updateRequirement, boolean pretty)
-
toJson
public static void toJson(UpdateTableRequest.UpdateRequirement updateRequirement, com.fasterxml.jackson.core.JsonGenerator generator) throws java.io.IOException
- Throws:
java.io.IOException
-
fromJson
public static UpdateTableRequest.UpdateRequirement 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 UpdateTableRequest.UpdateRequirement fromJson(com.fasterxml.jackson.databind.JsonNode jsonNode)
-
-