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