@JvmStatic fun open(jdbcUrl: String): SQLKeyValueStore
(source)
Open a relational database backed key-value store.
jdbcUrl
- The JDBC url to connect to the database.
IOException
- If an I/O error occurs.
Return
A key-value store.
@JvmStatic fun open(jdbcUrl: String, tableName: String, keyColumn: String, valueColumn: String): SQLKeyValueStore
(source)
Open a relational database backed key-value store.
jdbcUrl
- The JDBC url to connect to the database.
tableName
- the name of the table to use for storage.
keyColumn
- the key column of the store.
valueColumn
- the value column of the store.
IOException
- If an I/O error occurs.
Return
A key-value store.