Package org.bsc.langgraph4j.checkpoint
Class AbstractPostgresSaverV2
java.lang.Object
org.bsc.langgraph4j.checkpoint.AbstractCheckpointSaver
org.bsc.langgraph4j.checkpoint.AbstractPostgresSaver
org.bsc.langgraph4j.checkpoint.AbstractPostgresSaverV2
- All Implemented Interfaces:
BaseCheckpointSaver,LG4JLoggable
- Direct Known Subclasses:
PostgresSaverV2,PostgresSaverV2Dashboard
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bsc.langgraph4j.checkpoint.AbstractPostgresSaver
AbstractPostgresSaver.AbstractBuilder<B extends AbstractPostgresSaver.AbstractBuilder<B>>Nested classes/interfaces inherited from interface org.bsc.langgraph4j.checkpoint.BaseCheckpointSaver
BaseCheckpointSaver.SubGraphSaver, BaseCheckpointSaver.Tag -
Field Summary
FieldsFields inherited from class org.bsc.langgraph4j.checkpoint.AbstractPostgresSaver
datasource, sqlCommandsFields inherited from interface org.bsc.langgraph4j.checkpoint.BaseCheckpointSaver
THREAD_ID_DEFAULTFields inherited from interface org.bsc.langgraph4j.LG4JLoggable
log -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionfinal RunnableConfigaddThreadRowId(RunnableConfig config, long threadRowId) tag(RunnableConfig config, Integer version) Methods inherited from class org.bsc.langgraph4j.checkpoint.AbstractPostgresSaver
clearCheckpointsCache, decodeState, encoderStateSerializer, encodeState, execTransaction, getConnection, initTable, insertCheckpoint, insertedCheckpoint, loadCheckpoints, registerInterruption, releaseCheckpoints, releaseCheckpointsOnError, sqlCommandsResourcePath, sqlInitResourcePath, updatedCheckpointMethods inherited from class org.bsc.langgraph4j.checkpoint.AbstractCheckpointSaver
get, list, listSubGraphSaver, put, putSubGraphSaver, release, release, releaseOnErrorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bsc.langgraph4j.checkpoint.BaseCheckpointSaver
lastTag, threadId
-
Field Details
-
POSTGRES_THREAD_ROW_ID
- See Also:
-
-
Constructor Details
-
AbstractPostgresSaverV2
protected AbstractPostgresSaverV2(AbstractPostgresSaver.AbstractBuilder<?> builder) throws Exception - Throws:
Exception
-
-
Method Details
-
addThreadRowId
-
tag
public Optional<BaseCheckpointSaver.Tag> tag(RunnableConfig config, Integer version) throws Exception - Throws:
Exception
-