Interface InfluxQLQueryService


public interface InfluxQLQueryService
  • Method Summary

    Modifier and Type
    Method
    Description
    retrofit2.Call<okhttp3.ResponseBody>
    query(String query, String db, String retentionPolicy, String epoch, String zapTraceSpan, String accept)
     
  • 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