Class MetadataRequestSerializer
- 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.TypedSerializer<FederationRequest>
-
- com.amazonaws.athena.connector.lambda.serde.v2.MetadataRequestSerializer
-
- All Implemented Interfaces:
VersionedSerDe.Serializer<FederationRequest>
,com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
,com.fasterxml.jackson.databind.jsonschema.SchemaAware
,Serializable
- Direct Known Subclasses:
GetDataSourceCapabilitiesRequestSerDeV4.Serializer
,GetSplitsRequestSerDe.Serializer
,GetTableLayoutRequestSerDe.Serializer
,GetTableRequestSerDe.Serializer
,GetTableRequestSerDeV5.Serializer
,ListSchemasRequestSerDe.Serializer
,ListTablesRequestSerDe.Serializer
public abstract class MetadataRequestSerializer extends TypedSerializer<FederationRequest>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MetadataRequestSerializer(Class<? extends FederationRequest> subType, FederatedIdentitySerDe.Serializer identitySerializer)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
doRequestSerialize(FederationRequest federationRequest, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider)
protected void
doTypedSerialize(FederationRequest federationRequest, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider)
-
Methods inherited from class com.amazonaws.athena.connector.lambda.serde.TypedSerializer
doSerialize, getSubType
-
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
-
Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer
getDelegatee, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, unwrappingSerializer, usesObjectId, withFilterId, withIgnoredProperties
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.amazonaws.athena.connector.lambda.serde.VersionedSerDe.Serializer
serialize
-
-
-
-
Constructor Detail
-
MetadataRequestSerializer
protected MetadataRequestSerializer(Class<? extends FederationRequest> subType, FederatedIdentitySerDe.Serializer identitySerializer)
-
-
Method Detail
-
doTypedSerialize
protected void doTypedSerialize(FederationRequest federationRequest, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException
- Specified by:
doTypedSerialize
in classTypedSerializer<FederationRequest>
- Throws:
IOException
-
doRequestSerialize
protected abstract void doRequestSerialize(FederationRequest federationRequest, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException
- Throws:
IOException
-
-