@Internal public class JsonFormatOptionsUtil extends Object
JsonFormatOptions
.Modifier and Type | Field and Description |
---|---|
static String |
ISO_8601 |
static String |
JSON_MAP_NULL_KEY_MODE_DROP |
static String |
JSON_MAP_NULL_KEY_MODE_FAIL |
static String |
JSON_MAP_NULL_KEY_MODE_LITERAL |
static String |
SQL |
static Set<String> |
TIMESTAMP_FORMAT_ENUM |
Modifier and Type | Method and Description |
---|---|
static JsonFormatOptions.MapNullKeyMode |
getMapNullKeyMode(ReadableConfig config)
Creates handling mode for null key map data.
|
static TimestampFormat |
getTimestampFormat(ReadableConfig config) |
static void |
validateDecodingFormatOptions(ReadableConfig tableOptions)
Validator for json decoding format.
|
static void |
validateEncodingFormatOptions(ReadableConfig tableOptions)
Validator for json encoding format.
|
public static final String SQL
public static final String ISO_8601
public static final String JSON_MAP_NULL_KEY_MODE_FAIL
public static final String JSON_MAP_NULL_KEY_MODE_DROP
public static final String JSON_MAP_NULL_KEY_MODE_LITERAL
public static TimestampFormat getTimestampFormat(ReadableConfig config)
public static JsonFormatOptions.MapNullKeyMode getMapNullKeyMode(ReadableConfig config)
See JSON_MAP_NULL_KEY_MODE_FAIL
, JSON_MAP_NULL_KEY_MODE_DROP
, and JSON_MAP_NULL_KEY_MODE_LITERAL
for more information.
public static void validateDecodingFormatOptions(ReadableConfig tableOptions)
public static void validateEncodingFormatOptions(ReadableConfig tableOptions)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.