public virtual async Task <IEnumerable <IEnumerable <Serie> > > MultiQueryAsync(IEnumerable <string> queries, string dbName = null, string epochFormat = null, long?chunkSize = null) { var results = await base.ResolveGetSeriesResultAsync(queries.ToSemicolonSpaceSeparatedString(), dbName, epochFormat, chunkSize).ConfigureAwait(false); var resultSeries = _basicResponseParser.MapResultsSeries(results); return(resultSeries); }
public virtual async Task <IEnumerable <IEnumerable <Serie> > > MultiQueryAsync(string dbName, IEnumerable <string> queries) { var results = await base.ResolveGetSeriesResultAsync(dbName, queries.ToSemicolonSpaceSeparatedString()).ConfigureAwait(false); var resultSeries = _basicResponseParser.MapResultsSeries(results); return(resultSeries); }
public virtual async Task <IEnumerable <IEnumerable <Serie> > > MultiQueryAsync(string dbName, IEnumerable <string> queries) { var response = await base.RequestClient.QueryAsync(dbName, queries.ToSemicolonSpaceSeparatedString()).ConfigureAwait(false); var results = response.ReadAs <QueryResponse>().Validate().Results; var resultSeries = _basicResponseParser.MapResultsSeries(results); return(resultSeries); }