示例#1
0
        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;
        }
示例#2
0
        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;
        }
示例#3
0
        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;
        }