public LevelDbQueryProcessor(DB db, DqlQueryReader reader, DqlQueryPlanBuilder optimizer) { if (db == null) { throw new ArgumentNullException("db"); } if (reader == null) { throw new ArgumentNullException("reader"); } if (optimizer == null) { throw new ArgumentNullException("optimizer"); } this.db = db; this.reader = reader; this.optimizer = optimizer; }
public QueryProcessor(IStorage storage, DqlQueryReader reader, DqlQueryPlanBuilder optimizer) { if (storage == null) { throw new ArgumentNullException("storage"); } if (reader == null) { throw new ArgumentNullException("reader"); } if (optimizer == null) { throw new ArgumentNullException("optimizer"); } this.storage = storage; this.reader = reader; this.optimizer = optimizer; }