Interface DynamoDBMapperConfig.TableNameResolver
- All Known Implementing Classes:
DynamoDBMapperConfig.DefaultTableNameResolver
- Enclosing class:
DynamoDBMapperConfig
public static interface DynamoDBMapperConfig.TableNameResolver
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 isn't available such as in
DynamoDBMapper.query(Class, DynamoDBQueryExpression)- Author:
- Raniz
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetTableName(Class<?> clazz, DynamoDBMapperConfig config) Get the table name for a class.
-
Method Details
-
getTableName
Get the table name for a class. This method is used when an object is not available such as when creating requests for scan or query operations.- Parameters:
clazz- The class to get the table name forconfig- TheDynamoDBMapperConfig- Returns:
- The table name to use for instances of clazz
-