public class GetHistogramsRequest extends SlsRequest
| 构造器和说明 |
|---|
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) |
GetAllParams, 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 © 2015. All Rights Reserved.