Class SerializedValueSerializer
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.util.SerializedValue<?>>
org.apache.flink.runtime.rest.messages.json.SerializedValueSerializer
- 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
public class SerializedValueSerializer
extends org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.ser.std.StdSerializer<org.apache.flink.util.SerializedValue<?>>
JSON serializer for
SerializedValue.
SerializedValue's byte array will be base64 encoded.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.JsonSerializer
org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.JsonSerializer.None -
Field Summary
Fields inherited from class org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.ser.std.StdSerializer
_handledType -
Constructor Summary
ConstructorsConstructorDescriptionSerializedValueSerializer(org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.JavaType javaType) -
Method Summary
Modifier and TypeMethodDescriptionvoidserialize(org.apache.flink.util.SerializedValue<?> value, org.apache.flink.shaded.jackson2.com.fasterxml.jackson.core.JsonGenerator gen, org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.SerializerProvider provider) 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, wrapAndThrowMethods inherited from class org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.JsonSerializer
getDelegatee, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId
-
Constructor Details
-
SerializedValueSerializer
public SerializedValueSerializer() -
SerializedValueSerializer
public SerializedValueSerializer(org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.JavaType javaType)
-
-
Method Details
-
serialize
public void serialize(org.apache.flink.util.SerializedValue<?> value, org.apache.flink.shaded.jackson2.com.fasterxml.jackson.core.JsonGenerator gen, org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException - Specified by:
serializein classorg.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.ser.std.StdSerializer<org.apache.flink.util.SerializedValue<?>>- Throws:
IOException
-