io.dataspray.singletable.builder.Mappings Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of single-table Show documentation
Show all versions of single-table Show documentation
DynamoDB best practices encourages a single-table design that allows multiple record types to reside within the
same table. The goal of this library is to improve the experience of Java developers and make it safer to define
non-conflicting schema of each record, serializing and deserializing automatically and working with secondary
indexes.
The newest version!
package io.dataspray.singletable.builder;
import com.google.common.collect.ImmutableList;
public interface Mappings {
String fieldMapping(String fieldName);
String fieldMapping(ImmutableList fieldPath);
String fieldMapping(String fieldName, String fieldValue);
String valueMapping(String fieldName, Object object);
String constantMapping(String name, Object object);
String constantMapping(ImmutableList namePath, Object value);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy