Uses of Class
tripleplay.syncdb.Codec
-
Uses of Codec in tripleplay.syncdb
Modifier and TypeClassDescriptionstatic class
Codec.EnumC<E extends Enum<E>>
A codec for enums which encodes to/fromEnum.name
.Modifier and TypeFieldDescriptionCodec.BOOLEAN
A codec for booleans.Codec.INT
A codec for ints.static final Codec<int[]>
Codec.INTS
A codec for int arrays.Codec.LONG
A codec for longs.Codec.STRING
A codec for strings.Modifier and TypeMethodDescriptionstatic <E> List<E>
DBUtil.decodeList
(String data, Codec<E> codec) Decodes a list encoded viaDBUtil.encodeList(java.util.List<E>, tripleplay.syncdb.Codec<E>)
.static <E> Set<E>
Decodes a set encoded viaDBUtil.encodeSet(java.util.Set<E>, tripleplay.syncdb.Codec<E>)
.static <E> String
DBUtil.encodeList
(List<E> list, Codec<E> codec) Encodes the supplied list as a string, using the supplied codec for its elements.static <E> String
Encodes the supplied set as a string, using the supplied codec for its elements.static <K> String
Computes the storage (fully qualified) key for the supplied map key.