Class PrimaryKeyPercentCodecTool

java.lang.Object
io.datarouter.storage.util.PrimaryKeyPercentCodecTool

public class PrimaryKeyPercentCodecTool extends Object
  • Constructor Details

    • PrimaryKeyPercentCodecTool

      public PrimaryKeyPercentCodecTool()
  • Method Details

    • encode

      public static String encode(io.datarouter.model.key.primary.PrimaryKey<?> pk)
    • encodeMulti

      public static <PK extends io.datarouter.model.key.primary.PrimaryKey<PK>> String encodeMulti(Collection<PK> pks, char delimiter)
    • decode

      public static <PK extends io.datarouter.model.key.primary.PrimaryKey<PK>> PK decode(Supplier<PK> pkSupplier, String encodedPk)
    • decodeMulti

      public static <PK extends io.datarouter.model.key.primary.PrimaryKey<PK>> List<PK> decodeMulti(Supplier<PK> pkSupplier, char delimiter, String encodedPks)