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