Class ConversationSignalRowCodec
java.lang.Object
at.aimon.session.postgres.internal.ConversationSignalRowCodec
Jackson codec for the
payload JSONB column of conversation_signal.
conversation_id, kind, origin_node_id are stored as their own columns; the JSONB body holds
only the payload map. Decode rebuilds the ConversationSignal from the column values plus the JSONB
payload.
-
Constructor Summary
ConstructorsConstructorDescriptionConversationSignalRowCodec(com.fasterxml.jackson.databind.ObjectMapper mapper) -
Method Summary
Modifier and TypeMethodDescriptiondecodePayload(String json) encodePayload(Map<String, Object> payload)
-
Constructor Details
-
ConversationSignalRowCodec
public ConversationSignalRowCodec(com.fasterxml.jackson.databind.ObjectMapper mapper)
-
-
Method Details
-
encodePayload
-
decodePayload
-