Class JdbcStore.Builder
java.lang.Object
io.agentscope.extensions.jdbc.store.JdbcStore.Builder
- Enclosing class:
- JdbcStore
Builder for
JdbcStore.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the JdbcStore.dialect(StoreDialect dialect) Sets the store dialect (required).initializeSchema(boolean initializeSchema) When true, runs the dialect's CREATE TABLE during construction.objectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) Sets a custom Jackson ObjectMapper.
-
Method Details
-
dialect
Sets the store dialect (required). -
objectMapper
Sets a custom Jackson ObjectMapper. -
initializeSchema
When true, runs the dialect's CREATE TABLE during construction. -
build
Builds the JdbcStore.
-