Class DelegatingSerializer<T>
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonSerializer<T>
-
- com.fasterxml.jackson.databind.ser.std.StdSerializer<T>
-
- com.amazonaws.athena.connector.lambda.serde.BaseSerializer<T>
-
- com.amazonaws.athena.connector.lambda.serde.DelegatingSerializer<T>
-
- All Implemented Interfaces:
VersionedSerDe.Serializer<T>
,com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
,com.fasterxml.jackson.databind.jsonschema.SchemaAware
,Serializable
- Direct Known Subclasses:
ArrowTypeSerDe.Serializer
,FederationExpressionSerDeV4.Serializer
,FederationRequestSerDe.Serializer
,FederationRequestSerDeV4.Serializer
,FederationRequestSerDeV5.Serializer
,FederationResponseSerDe.Serializer
,FederationResponseSerDeV4.Serializer
,SpillLocationSerDe.Serializer
,ValueSetSerDe.Serializer
public class DelegatingSerializer<T> extends BaseSerializer<T>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DelegatingSerializer(Class<T> clazz, Set<TypedSerializer<T>> serDes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doSerialize(T value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider)
Map<String,TypedSerializer<T>>
getDelegateSerDeMap()
-
Methods inherited from class com.amazonaws.athena.connector.lambda.serde.BaseSerializer
serialize, serializeWithType, writeStringArray, writeStringMap
-
Methods inherited from class 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
-
-
-
-
Constructor Detail
-
DelegatingSerializer
public DelegatingSerializer(Class<T> clazz, Set<TypedSerializer<T>> serDes)
-
-
Method Detail
-
doSerialize
public void doSerialize(T value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException
- Specified by:
doSerialize
in interfaceVersionedSerDe.Serializer<T>
- Specified by:
doSerialize
in classBaseSerializer<T>
- Throws:
IOException
-
getDelegateSerDeMap
public Map<String,TypedSerializer<T>> getDelegateSerDeMap()
-
-