Class JsonSerdes

java.lang.Object
dev.restate.sdk.JsonSerdes

@Deprecated(since="2.0", forRemoval=true) public abstract class JsonSerdes extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
For primitive types, simply use the overloads of the Context/StateKey/DurablePromiseKey methods accepting Class, for example ctx.run(String.class, myClosure) or ctx.awakeable(Integer.TYPE) or StateKey.of("key", String.class)
  • Field Summary Link icon

    Fields
    Modifier and Type
    Field
    Description
    static final Serde<@NonNull Boolean>
    Deprecated, for removal: This API element is subject to removal in a future version.
    For primitive types, simply use the overloads of the Context/StateKey/DurablePromiseKey methods accepting Class, for example ctx.run(String.class, myClosure) or ctx.awakeable(Integer.TYPE) or StateKey.of("key", String.class)
    static final Serde<@NonNull Byte>
    Deprecated, for removal: This API element is subject to removal in a future version.
    For primitive types, simply use the overloads of the Context/StateKey/DurablePromiseKey methods accepting Class, for example ctx.run(String.class, myClosure) or ctx.awakeable(Integer.TYPE) or StateKey.of("key", String.class)
    static final Serde<@NonNull Double>
    Deprecated, for removal: This API element is subject to removal in a future version.
    For primitive types, simply use the overloads of the Context/StateKey/DurablePromiseKey methods accepting Class, for example ctx.run(String.class, myClosure) or ctx.awakeable(Integer.TYPE) or StateKey.of("key", String.class)
    static final Serde<@NonNull Float>
    Deprecated, for removal: This API element is subject to removal in a future version.
    For primitive types, simply use the overloads of the Context/StateKey/DurablePromiseKey methods accepting Class, for example ctx.run(String.class, myClosure) or ctx.awakeable(Integer.TYPE) or StateKey.of("key", String.class)
    static final Serde<@NonNull Integer>
    Deprecated, for removal: This API element is subject to removal in a future version.
    For primitive types, simply use the overloads of the Context/StateKey/DurablePromiseKey methods accepting Class, for example ctx.run(String.class, myClosure) or ctx.awakeable(Integer.TYPE) or StateKey.of("key", String.class)
    static final Serde<@NonNull Long>
    Deprecated, for removal: This API element is subject to removal in a future version.
    For primitive types, simply use the overloads of the Context/StateKey/DurablePromiseKey methods accepting Class, for example ctx.run(String.class, myClosure) or ctx.awakeable(Integer.TYPE) or StateKey.of("key", String.class)
    static final Serde<@NonNull Short>
    Deprecated, for removal: This API element is subject to removal in a future version.
    For primitive types, simply use the overloads of the Context/StateKey/DurablePromiseKey methods accepting Class, for example ctx.run(String.class, myClosure) or ctx.awakeable(Integer.TYPE) or StateKey.of("key", String.class)
    static final Serde<@NonNull String>
    Deprecated, for removal: This API element is subject to removal in a future version.
    For primitive types, simply use the overloads of the Context/StateKey/DurablePromiseKey methods accepting Class, for example ctx.run(String.class, myClosure) or ctx.awakeable(Integer.TYPE) or StateKey.of("key", String.class)
  • Method Summary Link icon

    Methods inherited from class java.lang.Object Link icon

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details Link icon

    • STRING Link icon

      @Deprecated(since="2.0", forRemoval=true) public static final Serde<@NonNull String> STRING
      Deprecated, for removal: This API element is subject to removal in a future version.
      For primitive types, simply use the overloads of the Context/StateKey/DurablePromiseKey methods accepting Class, for example ctx.run(String.class, myClosure) or ctx.awakeable(Integer.TYPE) or StateKey.of("key", String.class)
    • BOOLEAN Link icon

      @Deprecated(since="2.0", forRemoval=true) public static final Serde<@NonNull Boolean> BOOLEAN
      Deprecated, for removal: This API element is subject to removal in a future version.
      For primitive types, simply use the overloads of the Context/StateKey/DurablePromiseKey methods accepting Class, for example ctx.run(String.class, myClosure) or ctx.awakeable(Integer.TYPE) or StateKey.of("key", String.class)
    • BYTE Link icon

      @Deprecated(since="2.0", forRemoval=true) public static final Serde<@NonNull Byte> BYTE
      Deprecated, for removal: This API element is subject to removal in a future version.
      For primitive types, simply use the overloads of the Context/StateKey/DurablePromiseKey methods accepting Class, for example ctx.run(String.class, myClosure) or ctx.awakeable(Integer.TYPE) or StateKey.of("key", String.class)
    • SHORT Link icon

      @Deprecated(since="2.0", forRemoval=true) public static final Serde<@NonNull Short> SHORT
      Deprecated, for removal: This API element is subject to removal in a future version.
      For primitive types, simply use the overloads of the Context/StateKey/DurablePromiseKey methods accepting Class, for example ctx.run(String.class, myClosure) or ctx.awakeable(Integer.TYPE) or StateKey.of("key", String.class)
    • INT Link icon

      @Deprecated(since="2.0", forRemoval=true) public static final Serde<@NonNull Integer> INT
      Deprecated, for removal: This API element is subject to removal in a future version.
      For primitive types, simply use the overloads of the Context/StateKey/DurablePromiseKey methods accepting Class, for example ctx.run(String.class, myClosure) or ctx.awakeable(Integer.TYPE) or StateKey.of("key", String.class)
    • LONG Link icon

      @Deprecated(since="2.0", forRemoval=true) public static final Serde<@NonNull Long> LONG
      Deprecated, for removal: This API element is subject to removal in a future version.
      For primitive types, simply use the overloads of the Context/StateKey/DurablePromiseKey methods accepting Class, for example ctx.run(String.class, myClosure) or ctx.awakeable(Integer.TYPE) or StateKey.of("key", String.class)
    • FLOAT Link icon

      @Deprecated(since="2.0", forRemoval=true) public static final Serde<@NonNull Float> FLOAT
      Deprecated, for removal: This API element is subject to removal in a future version.
      For primitive types, simply use the overloads of the Context/StateKey/DurablePromiseKey methods accepting Class, for example ctx.run(String.class, myClosure) or ctx.awakeable(Integer.TYPE) or StateKey.of("key", String.class)
    • DOUBLE Link icon

      @Deprecated(since="2.0", forRemoval=true) public static final Serde<@NonNull Double> DOUBLE
      Deprecated, for removal: This API element is subject to removal in a future version.
      For primitive types, simply use the overloads of the Context/StateKey/DurablePromiseKey methods accepting Class, for example ctx.run(String.class, myClosure) or ctx.awakeable(Integer.TYPE) or StateKey.of("key", String.class)