public Batcher(DocumentDatabase database, Abstractions.Data.ScriptedIndexResults scriptedIndexResults, HashSet<string> forEntityNames)
            {
                this.database = database;
                this.scriptedIndexResults = scriptedIndexResults;
                this.forEntityNames = forEntityNames;

                if (Log.IsDebugEnabled)
                    Log.Debug("Created ScriptedIndexResultsBatcher for {0}", scriptedIndexResults.Id);
            }
            public Batcher(DocumentDatabase database, Abstractions.Data.ScriptedIndexResults scriptedIndexResults, HashSet<string> forEntityNames)
            {
                this.database = database;
                this.scriptedIndexResults = scriptedIndexResults;
                this.forEntityNames = forEntityNames;

                if (Log.IsDebugEnabled)
                    Log.Debug("Created ScriptedIndexResultsBatcher for {0}", scriptedIndexResults.Id);
            }
            public Batcher(DocumentDatabase database, Abstractions.Data.ScriptedIndexResults scriptedIndexResults, HashSet <string> forEntityNames)
            {
                this.database             = database;
                this.scriptedIndexResults = scriptedIndexResults;
                this.forEntityNames       = forEntityNames;
                hasPutScript    = string.IsNullOrWhiteSpace(scriptedIndexResults.IndexScript) == false;
                hasDeleteScript = string.IsNullOrWhiteSpace(scriptedIndexResults.DeleteScript) == false;

                if (Log.IsDebugEnabled)
                {
                    Log.Debug("Created ScriptedIndexResultsBatcher for {0}", scriptedIndexResults.Id);
                }
            }
Пример #4
0
 public Batcher(DocumentDatabase database, Abstractions.Data.ScriptedIndexResults scriptedIndexResults, HashSet <string> forEntityNames)
 {
     this.database             = database;
     this.scriptedIndexResults = scriptedIndexResults;
     this.forEntityNames       = forEntityNames;
 }
 public Batcher(DocumentDatabase database, Abstractions.Data.ScriptedIndexResults scriptedIndexResults, HashSet<string> forEntityNames)
 {
     this.database = database;
     this.scriptedIndexResults = scriptedIndexResults;
     this.forEntityNames = forEntityNames;
 }