Interface DynamoDBMapperConfig.ObjectTableNameResolver
- Enclosing class:
DynamoDBMapperConfig
public static interface DynamoDBMapperConfig.ObjectTableNameResolver
Interface for a strategy used to determine the table name of an object based on it's class.
This resolver is used when an object is available such as in
.
If no table name resolver for objects is set,
invalid reference
DynamoDBMapper#batchLoad(java.util.List)
DynamoDBMapper reverts to using the
DynamoDBMapperConfig.TableNameResolver on each object's class.- Author:
- Raniz
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetTableName(Object object, DynamoDBMapperConfig config) Get the table name for an object.
-
Method Details
-
getTableName
Get the table name for an object.- Parameters:
object- The object to get the table name forconfig- TheDynamoDBMapperConfig- Returns:
- The table name to use for object
-