@Path(value="/db/{tenantId}/series")
@Produces(value="application/json")
@ApplicationScoped
public class InfluxSeriesHandler
extends Object
| Constructor and Description |
|---|
InfluxSeriesHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
query(javax.ws.rs.container.AsyncResponse asyncResponse,
String tenantId,
String queryString,
InfluxTimeUnit timePrecision) |
void |
write(javax.ws.rs.container.AsyncResponse asyncResponse,
String tenantId,
InfluxTimeUnit timePrecision,
List<InfluxObject> influxObjects) |
@POST
@Consumes(value="application/json")
public void write(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse,
@PathParam(value="tenantId")
String tenantId,
@QueryParam(value="time_precision")
InfluxTimeUnit timePrecision,
List<InfluxObject> influxObjects)
@GET
public void query(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse,
@PathParam(value="tenantId")
String tenantId,
@QueryParam(value="q")
String queryString,
@QueryParam(value="time_precision")
InfluxTimeUnit timePrecision)
Copyright © 2014–2016 Red Hat, Inc.. All rights reserved.