/// <summary> /// Executes the query and returns a deferred result that can be iterated over as they /// are returned by the database. /// /// It does not make sense to use this method unless you are returning a big payload and /// have enabled chunking through InfluxQueryOptions. /// </summary> /// <typeparam name="TInfluxRow"></typeparam> /// <param name="client">The IInfluxClient that performs operation.</param> /// <param name="db"></param> /// <param name="query"></param> /// <param name="options"></param> /// <returns></returns> public static Task <InfluxChunkedResultSet <TInfluxRow> > ReadChunkedAsync <TInfluxRow>(this IInfluxClient client, string db, string query, InfluxQueryOptions options) where TInfluxRow : new() { return(client.ReadChunkedAsync <TInfluxRow>(db, query, null, options)); }
/// <summary> /// Executes the query and returns a deferred result that can be iterated over as they /// are returned by the database. /// /// It does not make sense to use this method unless you are returning a big payload and /// have enabled chunking through InfluxQueryOptions. /// </summary> /// <typeparam name="TInfluxRow"></typeparam> /// <param name="client">The IInfluxClient that performs operation.</param> /// <param name="db"></param> /// <param name="query"></param> /// <param name="parameters"></param> /// <returns></returns> public static Task <InfluxChunkedResultSet <TInfluxRow> > ReadChunkedAsync <TInfluxRow>(this IInfluxClient client, string db, string query, object parameters) where TInfluxRow : new() { return(client.ReadChunkedAsync <TInfluxRow>(db, query, parameters, client.DefaultQueryOptions)); }