public final class ConversionSchemas extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ConversionSchemas.Builder |
Modifier and Type | Field and Description |
---|---|
static ConversionSchema |
V1
The V1 schema mapping, which retains strict backwards compatibility with
the original DynamoDB data model.
|
static ConversionSchema |
V2
The native V2 conversion schema.
|
static ConversionSchema |
V2_COMPATIBLE
A V2 conversion schema which retains backwards compatibility with the
V1 conversion schema for existing DynamoDB types, but adds the ability
to marshall recursive structures using the new List and Map types.
|
Modifier and Type | Method and Description |
---|---|
static ConversionSchemas.Builder |
v1Builder(String name)
A ConversionSchema builder that defaults to building
V1 . |
static ConversionSchemas.Builder |
v2Builder(String name)
A ConversionSchema builder that defaults to building
V2 . |
static ConversionSchemas.Builder |
v2CompatibleBuilder(String name)
A ConversionSchema builder that defaults to building
V2_COMPATIBLE . |
public static final ConversionSchema V1
Use me if you have other code still using an old version of the SDK that does not understand the new List and Map types and want to ensure that you don't accidentally start writing values using these types.
public static final ConversionSchema V2_COMPATIBLE
public static final ConversionSchema V2
public static ConversionSchemas.Builder v1Builder(String name)
V1
.public static ConversionSchemas.Builder v2CompatibleBuilder(String name)
V2_COMPATIBLE
.public static ConversionSchemas.Builder v2Builder(String name)
V2
.Copyright © 2019. All rights reserved.