com.amazonaws.mobileconnectors.dynamodbv2.dynamodbmapper
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:
DynamoDBMapperConfig.ObjectTableNameResolver
getTableName
java.lang.String getTableName(java.lang.Class<?> clazz,
DynamoDBMapperConfig config)
- 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
- The DynamoDBMapperConfig
- Returns:
- The table name to use for instances of clazz
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.