Class PostgresBlobStore

    • Constructor Detail

      • PostgresBlobStore

        public PostgresBlobStore​(javax.sql.DataSource dataSource)
    • Method Detail

      • getValueTypeFromSQLType

        protected byte[] getValueTypeFromSQLType​(java.sql.ResultSet resultSet,
                                                 java.lang.String columnName)
                                          throws java.sql.SQLException
        Description copied from class: AbstractPostgresKeyValueStore
        Sub classes must override this method to provide handling for converting from the JDBC result to type T.
        Specified by:
        getValueTypeFromSQLType in class AbstractPostgresKeyValueStore<byte[],​byte[]>
        Throws:
        java.sql.SQLException
      • getPkConstraintName

        protected java.lang.String getPkConstraintName()
        Specified by:
        getPkConstraintName in class AbstractPostgresKeyValueStore<byte[],​byte[]>
        Returns:
        the name of the primary key constraint for the table this store persists to