Package dev.restate.sdk.common
Interface RichSerde<T extends @Nullable Object>
- All Superinterfaces:
Serde<T>
Richer version of
Serde
containing schema information.
This API should be considered unstable to implement.
You can create one using withSchema(Object, Serde)
.
-
Field Summary
Fields inherited from interface dev.restate.sdk.common.Serde
BYTE_BUFFER, RAW, VOID
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> RichSerde
<T> withSchema
(Object jsonSchema, Serde<T> inner) Methods inherited from interface dev.restate.sdk.common.Serde
contentType, deserialize, deserialize, serialize, serializeToByteBuffer