public class PostgresJsonStore extends AbstractPostgresKeyValueStore<String,String> implements JsonStore
Constructor and Description |
---|
PostgresJsonStore(DataSource dataSource) |
Modifier and Type | Method and Description |
---|---|
protected String |
getPkConstraintName() |
protected String |
getTableName() |
protected String |
getValueStatementPlaceholder()
Sub classes should override this to add additional specificity to the SQL placeholder in the prepared statements
if necessary.
|
protected String |
getValueTypeFromSQLType(ResultSet resultSet,
String columnName)
Sub classes must override this method to provide handling for converting from the JDBC result to type T.
|
delete, enumerateContext, get, getIfStale, getLastUpdated, getName, getSQLTypeFromValueType, put, truncateContext
deleteAsync, enumerateContextAsync, getAsync, getIfStaleAsync, getLastUpdatedAsync, putAsync, truncateContextAsync
put, putAsync
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
delete, deleteAsync, enumerateContext, enumerateContextAsync, get, getAsync, getIfStale, getIfStaleAsync, getLastUpdated, getLastUpdatedAsync, getName, put, put, putAsync, putAsync, truncateContext, truncateContextAsync
public PostgresJsonStore(DataSource dataSource)
protected String getTableName()
getTableName
in class AbstractPostgresKeyValueStore<String,String>
protected String getValueStatementPlaceholder()
AbstractPostgresKeyValueStore
getValueStatementPlaceholder
in class AbstractPostgresKeyValueStore<String,String>
protected String getValueTypeFromSQLType(ResultSet resultSet, String columnName) throws SQLException
AbstractPostgresKeyValueStore
getValueTypeFromSQLType
in class AbstractPostgresKeyValueStore<String,String>
SQLException
protected String getPkConstraintName()
getPkConstraintName
in class AbstractPostgresKeyValueStore<String,String>
Copyright © 2020. All rights reserved.