private Map<String, ResultSetCache> resultSetCaches = new HashMap<String, ResultSetCache>();
DatabaseSnapshot(DatabaseObject[] examples, Database database, SnapshotControl snapshotControl) throws DatabaseException, InvalidExampleException {
this.database = database;
allFound = new DatabaseObjectCollection(database);
this.snapshotControl = snapshotControl;
this.originalExamples = examples;
init(examples);