public class PartitionSpecParser
extends java.lang.Object
Modifier and Type | Method and 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) |
public static void toJson(PartitionSpec spec, com.fasterxml.jackson.core.JsonGenerator generator) throws java.io.IOException
java.io.IOException
public static java.lang.String toJson(PartitionSpec spec)
public static java.lang.String toJson(PartitionSpec spec, boolean pretty)
public static PartitionSpec fromJson(Schema schema, com.fasterxml.jackson.databind.JsonNode json)
public static PartitionSpec fromJson(Schema schema, java.lang.String json)