|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.cloudera.api.model.ApiTimeSeriesRequest
public class ApiTimeSeriesRequest
Request object containing information needed for querying timeseries data. Available since API v11.
Constructor Summary | |
---|---|
ApiTimeSeriesRequest()
|
|
ApiTimeSeriesRequest(String query,
String from,
String to)
|
|
ApiTimeSeriesRequest(String query,
String from,
String to,
String contentType,
String desiredRollup,
Boolean mustUseDesiredRollup)
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ApiTimeSeriesRequest(String query, String from, String to)
public ApiTimeSeriesRequest(String query, String from, String to, String contentType, String desiredRollup, Boolean mustUseDesiredRollup)
public ApiTimeSeriesRequest()
Method Detail |
---|
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)
public String toString()
toString
in class Object
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |