Beispiel #1
0
 private ExplainQueryProcessor(ExplainDataset dataset)
     : base(dataset)
 {
     _depthCounter     = new ThreadIsolatedValue <int>(() => 0);
     _startTimes       = new ThreadIsolatedReference <Stack <DateTime> >(() => new Stack <DateTime>());
     dataset.Processor = this;
 }
Beispiel #2
0
 /// <summary>
 /// Creates a new Explain Query Processor that will use the Default Explanation Level
 /// </summary>
 /// <param name="dataset">Dataset</param>
 public ExplainQueryProcessor(ISparqlDataset dataset)
     : base(dataset)
 {
     this._depthCounter = new ThreadIsolatedValue <int>(() => 0);
     this._startTimes   = new ThreadIsolatedReference <Stack <DateTime> >(() => new Stack <DateTime>());
 }