Example #1
0
 public SumoQuery(string query, ISumoQueryExecutor executor)
 {
     this.executor = executor;
     this.query    = query;
     this.to       = DateTime.UtcNow;
     this.from     = to.Subtract(TimeSpan.FromMinutes(15));
 }
Example #2
0
 internal SumoQueryPipeFragmentBuilder(StringBuilder query, ISumoQueryExecutor executor)
 {
     this.query    = query;
     this.executor = executor;
 }
Example #3
0
 public SumoQueryBuilder(ISumoQueryExecutor executor)
 {
     this.executor = executor;
     this.query    = new StringBuilder(256);
 }
Example #4
0
 internal SumoClientImpl(EndPointConfig config)
 {
     this.config   = config;
     this.executor = new SumoQueryExecutor(config);
 }