public class ApiTimeSeriesRequest extends Object
Constructor and Description |
---|
ApiTimeSeriesRequest() |
ApiTimeSeriesRequest(String query,
String from,
String to) |
ApiTimeSeriesRequest(String query,
String from,
String to,
String contentType,
String desiredRollup,
Boolean mustUseDesiredRollup) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getContentType()
contentType to return the response in.
|
String |
getDesiredRollup()
Aggregate rollup level desired for the response data.
|
String |
getFrom()
Start of the period to query in ISO 8601 format (defaults to 5 minutes
before the end of the period).
|
Boolean |
getMustUseDesiredRollup()
If set to true, then the tsquery will return data with the desired
aggregate rollup level.
|
String |
getQuery()
tsquery to run against the CM time-series data store.
|
String |
getTo()
End of the period to query in ISO 8601 format (defaults to current time).
|
int |
hashCode() |
void |
setContentType(String contentType) |
void |
setDesiredRollup(String desiredRollup) |
void |
setFrom(String from) |
void |
setMustUseDesiredRollup(Boolean mustUseDesiredRollup) |
void |
setQuery(String query) |
void |
setTo(String to) |
String |
toString() |
public ApiTimeSeriesRequest(String query, String from, String to, String contentType, String desiredRollup, Boolean mustUseDesiredRollup)
public ApiTimeSeriesRequest()
public String getQuery()
public void setQuery(String query)
public String getFrom()
public void setFrom(String from)
public String getTo()
public void setTo(String to)
public String getContentType()
public void setContentType(String contentType)
public String getDesiredRollup()
public void setDesiredRollup(String desiredRollup)
public Boolean getMustUseDesiredRollup()
public void setMustUseDesiredRollup(Boolean mustUseDesiredRollup)
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.