Package com.influxdb.client.service
Interface InfluxQLQueryService
public interface InfluxQLQueryService
-
Method Summary
-
Method Details
-
query
@Headers("Content-Type:application/x-www-form-urlencoded") @FormUrlEncoded @POST("query") retrofit2.Call<okhttp3.ResponseBody> query(@Field("q") String query, @Nonnull @Query("db") String db, @Query("rp") String retentionPolicy, @Query("epoch") String epoch, @Header("Zap-Trace-Span") String zapTraceSpan, @Header("Accept") String accept) - Parameters:
query
- (required)db
- Bucket to query (required)retentionPolicy
- Retention policy name (optional)zapTraceSpan
- OpenTracing span context (optional)- Returns:
- response in csv format
-