Class IdempotencyEntryRowCodec
java.lang.Object
at.aimon.session.postgres.internal.IdempotencyEntryRowCodec
Jackson codec for the
idempotency_entry.result_blob JSONB column.
Only the AgentExecutionResult subset needed for replay is serialized — see
StoredAgentExecutionResult. The remaining IdempotencyEntry fields live in
their own columns
(key, conversation_id, input_hash, status, holder_id, created_at, last_touched_at, expires_at); only the
result_blob round-trips through JSON.
-
Constructor Summary
ConstructorsConstructorDescriptionIdempotencyEntryRowCodec(com.fasterxml.jackson.databind.ObjectMapper mapper) -
Method Summary
Modifier and TypeMethodDescriptionOptional<at.aimon.core.agent.AgentExecutionResult> decodeResult(String json) encodeResult(at.aimon.core.agent.AgentExecutionResult result)
-
Constructor Details
-
IdempotencyEntryRowCodec
public IdempotencyEntryRowCodec(com.fasterxml.jackson.databind.ObjectMapper mapper)
-
-
Method Details
-
encodeResult
-
decodeResult
-