Class PostgresJsonStore

    • Constructor Detail

      • PostgresJsonStore

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

      • getTableName

        protected java.lang.String getTableName()
        Specified by:
        getTableName in class AbstractPostgresKeyValueStore<java.lang.String,​java.lang.String>
        Returns:
        the name of the table for this store
      • getValueTypeFromSQLType

        protected java.lang.String 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<java.lang.String,​java.lang.String>
        Throws:
        java.sql.SQLException
      • getPkConstraintName

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