Package org.apache.iceberg
Class SortOrderParser
- java.lang.Object
-
- org.apache.iceberg.SortOrderParser
-
public class SortOrderParser extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UnboundSortOrder
fromJson(com.fasterxml.jackson.databind.JsonNode json)
static UnboundSortOrder
fromJson(java.lang.String json)
static SortOrder
fromJson(Schema schema, com.fasterxml.jackson.databind.JsonNode json)
static SortOrder
fromJson(Schema schema, com.fasterxml.jackson.databind.JsonNode json, int defaultSortOrderId)
static SortOrder
fromJson(Schema schema, java.lang.String json)
static java.lang.String
toJson(SortOrder sortOrder)
static java.lang.String
toJson(SortOrder sortOrder, boolean pretty)
static void
toJson(SortOrder sortOrder, com.fasterxml.jackson.core.JsonGenerator generator)
static java.lang.String
toJson(UnboundSortOrder sortOrder)
static java.lang.String
toJson(UnboundSortOrder sortOrder, boolean pretty)
static void
toJson(UnboundSortOrder sortOrder, com.fasterxml.jackson.core.JsonGenerator generator)
-
-
-
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, 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(java.lang.String json)
-
fromJson
public static UnboundSortOrder fromJson(com.fasterxml.jackson.databind.JsonNode json)
-
-