Package org.leo.aws.ddb.repositories
Interface AttributeMapper.Builder<T>
-
- All Known Implementing Classes:
AttributeMapper.AttributeMapperBuilder
- Enclosing class:
- AttributeMapper<T>
public static interface AttributeMapper.Builder<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AttributeMapper<T>build()AttributeMapper.Builder<T>constructor(Constructor<T> constructor)AttributeMapper.Builder<T>dateCreatedField(Tuple<String,Field> dateCreatedField)AttributeMapper.Builder<T>dateUpdatedField(Tuple<String,Field> dateUpdatedField)AttributeMapper.Builder<T>globalSecondaryIndexMap(Map<String,GSI> globalSecondaryIndexMap)AttributeMapper.Builder<T>mappedClass(Class<T> mappedClass)AttributeMapper.Builder<T>mappedFields(Map<String,Tuple<Field,DbAttribute>> mappedFields)AttributeMapper.Builder<T>primaryKeyMapping(Map<KeyType,Tuple<String,Field>> primaryKeyMapping)AttributeMapper.Builder<T>tableName(String tableName)AttributeMapper.Builder<T>versionAttributeField(Tuple<Field,DbAttribute> versionAttributeField)
-
-
-
Method Detail
-
mappedClass
AttributeMapper.Builder<T> mappedClass(Class<T> mappedClass)
-
mappedFields
AttributeMapper.Builder<T> mappedFields(Map<String,Tuple<Field,DbAttribute>> mappedFields)
-
constructor
AttributeMapper.Builder<T> constructor(Constructor<T> constructor)
-
primaryKeyMapping
AttributeMapper.Builder<T> primaryKeyMapping(Map<KeyType,Tuple<String,Field>> primaryKeyMapping)
-
tableName
AttributeMapper.Builder<T> tableName(String tableName)
-
dateUpdatedField
AttributeMapper.Builder<T> dateUpdatedField(Tuple<String,Field> dateUpdatedField)
-
dateCreatedField
AttributeMapper.Builder<T> dateCreatedField(Tuple<String,Field> dateCreatedField)
-
globalSecondaryIndexMap
AttributeMapper.Builder<T> globalSecondaryIndexMap(Map<String,GSI> globalSecondaryIndexMap)
-
versionAttributeField
AttributeMapper.Builder<T> versionAttributeField(Tuple<Field,DbAttribute> versionAttributeField)
-
build
AttributeMapper<T> build()
-
-