Package org.apache.iceberg
Class SchemaParser
- java.lang.Object
-
- org.apache.iceberg.SchemaParser
-
public class SchemaParser extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Schema
fromJson(com.fasterxml.jackson.databind.JsonNode json)
static Schema
fromJson(java.lang.String json)
static java.lang.String
toJson(Schema schema)
static java.lang.String
toJson(Schema schema, boolean pretty)
static void
toJson(Schema schema, com.fasterxml.jackson.core.JsonGenerator generator)
-
-
-
Method Detail
-
toJson
public static void toJson(Schema schema, com.fasterxml.jackson.core.JsonGenerator generator) throws java.io.IOException
- Throws:
java.io.IOException
-
toJson
public static java.lang.String toJson(Schema schema)
-
toJson
public static java.lang.String toJson(Schema schema, boolean pretty)
-
fromJson
public static Schema fromJson(com.fasterxml.jackson.databind.JsonNode json)
-
fromJson
public static Schema fromJson(java.lang.String json)
-
-