Class LogicalTypeJsonSerializer
- java.lang.Object
-
- org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.JsonSerializer<T>
-
- org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.ser.std.StdSerializer<org.apache.flink.table.types.logical.LogicalType>
-
- org.apache.flink.table.gateway.rest.serde.LogicalTypeJsonSerializer
-
- All Implemented Interfaces:
Serializable,org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable,org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.jsonschema.SchemaAware
@Internal public final class LogicalTypeJsonSerializer extends org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.ser.std.StdSerializer<org.apache.flink.table.types.logical.LogicalType>Json serializer forLogicalType.- See Also:
for the reverse operation., Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringFIELD_NAME_CLASSstatic StringFIELD_NAME_ELEMENT_TYPEstatic StringFIELD_NAME_FIELD_NAMEstatic StringFIELD_NAME_FIELD_TYPEstatic StringFIELD_NAME_FIELDSstatic StringFIELD_NAME_FILED_DESCRIPTIONstatic StringFIELD_NAME_FRACTIONAL_PRECISIONstatic StringFIELD_NAME_KEY_TYPEstatic StringFIELD_NAME_LENGTHstatic StringFIELD_NAME_NULLABLEstatic StringFIELD_NAME_PRECISIONstatic StringFIELD_NAME_RESOLUTIONstatic StringFIELD_NAME_SCALEstatic StringFIELD_NAME_SERIALIZERstatic StringFIELD_NAME_TYPE_NAMEstatic StringFIELD_NAME_VALUE_TYPE
-
Constructor Summary
Constructors Constructor Description LogicalTypeJsonSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidserialize(org.apache.flink.table.types.logical.LogicalType logicalType, org.apache.flink.shaded.jackson2.com.fasterxml.jackson.core.JsonGenerator jsonGenerator, org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.SerializerProvider serializerProvider)-
Methods inherited from class org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.ser.std.StdSerializer
_neitherNull, _nonEmpty, acceptJsonFormatVisitor, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findConvertingContentSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, getSchema, getSchema, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrow
-
-
-
-
Field Detail
-
FIELD_NAME_TYPE_NAME
public static final String FIELD_NAME_TYPE_NAME
- See Also:
- Constant Field Values
-
FIELD_NAME_NULLABLE
public static final String FIELD_NAME_NULLABLE
- See Also:
- Constant Field Values
-
FIELD_NAME_LENGTH
public static final String FIELD_NAME_LENGTH
- See Also:
- Constant Field Values
-
FIELD_NAME_PRECISION
public static final String FIELD_NAME_PRECISION
- See Also:
- Constant Field Values
-
FIELD_NAME_SCALE
public static final String FIELD_NAME_SCALE
- See Also:
- Constant Field Values
-
FIELD_NAME_KEY_TYPE
public static final String FIELD_NAME_KEY_TYPE
- See Also:
- Constant Field Values
-
FIELD_NAME_VALUE_TYPE
public static final String FIELD_NAME_VALUE_TYPE
- See Also:
- Constant Field Values
-
FIELD_NAME_ELEMENT_TYPE
public static final String FIELD_NAME_ELEMENT_TYPE
- See Also:
- Constant Field Values
-
FIELD_NAME_FIELDS
public static final String FIELD_NAME_FIELDS
- See Also:
- Constant Field Values
-
FIELD_NAME_FIELD_NAME
public static final String FIELD_NAME_FIELD_NAME
- See Also:
- Constant Field Values
-
FIELD_NAME_FIELD_TYPE
public static final String FIELD_NAME_FIELD_TYPE
- See Also:
- Constant Field Values
-
FIELD_NAME_FILED_DESCRIPTION
public static final String FIELD_NAME_FILED_DESCRIPTION
- See Also:
- Constant Field Values
-
FIELD_NAME_CLASS
public static final String FIELD_NAME_CLASS
- See Also:
- Constant Field Values
-
FIELD_NAME_SERIALIZER
public static final String FIELD_NAME_SERIALIZER
- See Also:
- Constant Field Values
-
FIELD_NAME_RESOLUTION
public static final String FIELD_NAME_RESOLUTION
- See Also:
- Constant Field Values
-
FIELD_NAME_FRACTIONAL_PRECISION
public static final String FIELD_NAME_FRACTIONAL_PRECISION
- See Also:
- Constant Field Values
-
-
Method Detail
-
serialize
public void serialize(org.apache.flink.table.types.logical.LogicalType logicalType, org.apache.flink.shaded.jackson2.com.fasterxml.jackson.core.JsonGenerator jsonGenerator, org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.SerializerProvider serializerProvider) throws IOException- Specified by:
serializein classorg.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.ser.std.StdSerializer<org.apache.flink.table.types.logical.LogicalType>- Throws:
IOException
-
-