Class SortOrderParser


  • public class SortOrderParser
    extends java.lang.Object
    • Method Detail

      • toJson

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

        public static java.lang.String toJson​(SortOrder sortOrder)
      • toJson

        public static java.lang.String toJson​(SortOrder sortOrder,
                                              boolean pretty)
      • toJson

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

        public static java.lang.String toJson​(UnboundSortOrder sortOrder)
      • toJson

        public static java.lang.String toJson​(UnboundSortOrder sortOrder,
                                              boolean pretty)
      • fromJson

        public static SortOrder fromJson​(Schema schema,
                                         java.lang.String json)
      • fromJson

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

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

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