| 
 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||
java.lang.Objectjava.lang.Enum<DynamoDBMapperConfig.PaginationLoadingStrategy>
com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapperConfig.PaginationLoadingStrategy
public static enum DynamoDBMapperConfig.PaginationLoadingStrategy
Enumeration of pagination loading strategy.
| Enum Constant Summary | |
|---|---|
| EAGER_LOADINGPaginated list will eagerly load all the paginated results from DynamoDB as soon as the list is initialized. | |
| ITERATION_ONLYOnly supports using iterator to read from the paginated list. | |
| LAZY_LOADINGPaginated list is lazily loaded when possible, and all loaded results are kept in the memory. | |
| Method Summary | |
|---|---|
| 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. | 
| Methods inherited from class java.lang.Enum | 
|---|
| compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf | 
| Methods inherited from class java.lang.Object | 
|---|
| getClass, notify, notifyAll, wait, wait, wait | 
| Enum Constant Detail | 
|---|
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
| Method Detail | 
|---|
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 name
java.lang.NullPointerException - if the argument is null| 
 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||