Package io.datarouter.storage.util
Class PrimaryKeyPercentCodecTool
java.lang.Object
io.datarouter.storage.util.PrimaryKeyPercentCodecTool
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <PK extends io.datarouter.model.key.primary.PrimaryKey<PK>>
PKstatic <PK extends io.datarouter.model.key.primary.PrimaryKey<PK>>
List<PK>decodeMulti(Supplier<PK> pkSupplier, 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
-