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

    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

    Methods inherited from class java.lang.Object

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

    • STRING

      @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

      @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

      @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

      @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

      @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

      @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

      @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

      @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)