Package io.datarouter.storage.util
Class PrimaryKeyPercentCodecTool
java.lang.Object
io.datarouter.storage.util.PrimaryKeyPercentCodecTool
public class PrimaryKeyPercentCodecTool extends Object
-
Constructor Summary
Constructors Constructor Description PrimaryKeyPercentCodecTool() -
Method Summary
Modifier and Type Method Description static <PK extends io.datarouter.model.key.primary.PrimaryKey<PK>>
PKdecode(Class<PK> pkClass, String encodedPk)static <PK extends io.datarouter.model.key.primary.PrimaryKey<PK>>
List<PK>decodeMulti(Class<PK> pkClass, char delimiter, String encodedPks)static Stringencode(io.datarouter.model.key.primary.PrimaryKey<?> pk)static <PK extends io.datarouter.model.key.primary.PrimaryKey<PK>>
StringencodeMulti(Collection<PK> pks, char delimiter)
-
Constructor Details
-
PrimaryKeyPercentCodecTool
public PrimaryKeyPercentCodecTool()
-
-
Method Details
-
encode
-
encodeMulti
public static <PK extends io.datarouter.model.key.primary.PrimaryKey<PK>> String encodeMulti(Collection<PK> pks, char delimiter) -
decode
-
decodeMulti
-