Class VersionedObjectMapperFactory
- java.lang.Object
-
- com.amazonaws.athena.connector.lambda.serde.VersionedObjectMapperFactory
-
public class VersionedObjectMapperFactory extends Object
VendsObjectMapperinstances that correspond to SerDe versions.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.fasterxml.jackson.databind.ObjectMappercreate(BlockAllocator allocator)Creates anObjectMapperusing the current SDK SerDe version.static com.fasterxml.jackson.databind.ObjectMappercreate(BlockAllocator allocator, int version)Creates anObjectMapperusing the provided SerDe version.
-
-
-
Method Detail
-
create
public static com.fasterxml.jackson.databind.ObjectMapper create(BlockAllocator allocator)
Creates anObjectMapperusing the current SDK SerDe version.- Parameters:
allocator-- Returns:
-
create
public static com.fasterxml.jackson.databind.ObjectMapper create(BlockAllocator allocator, int version)
Creates anObjectMapperusing the provided SerDe version.- Parameters:
allocator-version-- Returns:
-
-