Class PartitionSpecParser


  • public class PartitionSpecParser
    extends java.lang.Object
    • 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)
      • toJson

        public static void toJson​(UnboundPartitionSpec spec,
                                  com.fasterxml.jackson.core.JsonGenerator generator)
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • fromJson

        public static PartitionSpec fromJson​(Schema schema,
                                             com.fasterxml.jackson.databind.JsonNode json)
      • fromJson

        public static UnboundPartitionSpec fromJson​(com.fasterxml.jackson.databind.JsonNode json)