public static enum DynamoDBMapperConfig.PaginationLoadingStrategy extends java.lang.Enum<DynamoDBMapperConfig.PaginationLoadingStrategy>
Enum Constant and Description |
---|
EAGER_LOADING
Paginated list will eagerly load all the paginated results from
DynamoDB as soon as the list is initialized.
|
ITERATION_ONLY
Only supports using iterator to read from the paginated list.
|
LAZY_LOADING
Paginated list is lazily loaded when possible, and all loaded results
are kept in the memory.
|
Modifier and Type | Method and Description |
---|---|
static DynamoDBMapperConfig.PaginationLoadingStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DynamoDBMapperConfig.PaginationLoadingStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DynamoDBMapperConfig.PaginationLoadingStrategy LAZY_LOADING
By default, the mapper uses LAZY_LOADING.
public static final DynamoDBMapperConfig.PaginationLoadingStrategy ITERATION_ONLY
Use this configuration to reduce the memory overhead when handling large DynamoDB items.
public static final DynamoDBMapperConfig.PaginationLoadingStrategy EAGER_LOADING
public static DynamoDBMapperConfig.PaginationLoadingStrategy[] values()
for (DynamoDBMapperConfig.PaginationLoadingStrategy c : DynamoDBMapperConfig.PaginationLoadingStrategy.values()) System.out.println(c);
public static DynamoDBMapperConfig.PaginationLoadingStrategy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.