Serializablepublic class GetHistogramsRequest extends Request
| 构造器 | 说明 |
|---|---|
GetHistogramsRequest(String project,
String logStore,
String topic,
String query,
int from,
int to) |
Construct a the request with full parameters
|
| 修饰符和类型 | 方法 | 说明 |
|---|---|---|
int |
GetFromTime() |
Get begin time,
|
String |
GetLogStore() |
Get log store name
|
String |
GetQuery() |
Get Query
|
String |
GetTopic() |
Get Topic
|
int |
GetToTime() |
Get end time
|
void |
SetFromTime(int from) |
Set begin time
|
void |
SetLogStore(String logStore) |
Set log store
|
void |
SetQuery(String query) |
Set query
|
void |
SetTopic(String topic) |
Set topic of the log store
|
void |
SetToTime(int to) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitGetAllParams, GetParam, GetProject, SetParampublic GetHistogramsRequest(String project, String logStore, String topic, String query, int from, int to)
project - sls projectlogStore - the logstore in the projecttopic - the topic of the logstorequery - user defined queryfrom - the begin timeto - the end timepublic void SetLogStore(String logStore)
logStore - log store namepublic String GetLogStore()
public void SetTopic(String topic)
topic - topic namepublic String GetTopic()
public void SetQuery(String query)
query - user define querypublic String GetQuery()
public void SetFromTime(int from)
from - begin timepublic int GetFromTime()
public void SetToTime(int to)
public int GetToTime()
Copyright © 2018. All Rights Reserved.