Cheshire3 Object Model - ResultSetStore


class cheshire3.baseObjects.ResultSetStore(session, config, parent=None)[source]

A persistent storage mechanism for ResultSet objects.

create_resultSet(session, rset=None)[source]

Create an identifier, store and return a ResultSet

Generate a new identifier. If a ResultSet is given, assign the identifier and store it using store_resultSet. If ResultSet is not given create a placeholder ResultSet. Return the ResultSet.

delete_resultSet(session, id)[source]

Delete a ResultSet with the given identifier from storage.

fetch_resultSet(session, id)[source]

Fetch and return Resultset with the given identifier.

store_resultSet(session, rset)[source]

Store a ResultSet that already has an identifier assigned.


The following implementations are included in the distribution by default:

class cheshire3.resultSetStore.BdbResultSetStore(session, config, parent)[source]

In addition to the default implementation, the cheshire3.sql provides the following implementations: