public class PostgresBlobStore extends AbstractPostgresKeyValueStore<byte[],byte[]> implements BlobStore
Constructor and Description |
---|
PostgresBlobStore(DataSource dataSource) |
Modifier and Type | Method and Description |
---|---|
protected String |
getPkConstraintName() |
protected String |
getTableName() |
protected byte[] |
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, getValueStatementPlaceholder, 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 PostgresBlobStore(DataSource dataSource)
protected byte[] getValueTypeFromSQLType(ResultSet resultSet, String columnName) throws SQLException
AbstractPostgresKeyValueStore
getValueTypeFromSQLType
in class AbstractPostgresKeyValueStore<byte[],byte[]>
SQLException
protected String getTableName()
getTableName
in class AbstractPostgresKeyValueStore<byte[],byte[]>
protected String getPkConstraintName()
getPkConstraintName
in class AbstractPostgresKeyValueStore<byte[],byte[]>
Copyright © 2020. All rights reserved.