public class PullLogsRequest extends Request
| 构造器和说明 |
|---|
PullLogsRequest(String project,
String logStore,
int shardId,
int count,
String cursor)
Construct a get cursor request
|
PullLogsRequest(String project,
String logStore,
int shardId,
int count,
String cursor,
String endCursor)
Construct a PullLogsRequest
|
PullLogsRequest(String project,
String logStore,
int shardId,
int count,
String cursor,
String endCursor,
String query)
Construct a PullLogsRequest
|
PullLogsRequest(String project,
String logStore,
int shardId,
int count,
String cursor,
String endCursor,
String query,
String pullmode)
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
Map<String,String> |
GetAllParams()
Get all the parameter in the request
|
Consts.CompressType |
getCompressType() |
int |
getCount() |
String |
getCursor() |
String |
getEndCursor() |
String |
getLogStore() |
String |
getProcessor() |
String |
getQuery() |
int |
getShardId() |
void |
setCompressType(Consts.CompressType compressType) |
void |
setCount(int count) |
void |
setCursor(String cursor) |
void |
setEndCursor(String endCursor) |
void |
setLogStore(String logStore) |
void |
setProcessor(String processor) |
void |
setPullMode(String pullMode)
已过时。
|
void |
setQuery(String query) |
void |
setShardId(int shardId) |
GetParam, GetProject, SetParampublic PullLogsRequest(String project, String logStore, int shardId, int count, String cursor)
project - project namelogStore - log stream nameshardId - shard idcursor - current cursorcount - LogGroup numberpublic PullLogsRequest(String project, String logStore, int shardId, int count, String cursor, String endCursor)
project - project namelogStore - log store nameshardId - shard idcursor - current cursorcount - LogGroup numberendCursor - the end cursorpublic PullLogsRequest(String project, String logStore, int shardId, int count, String cursor, String endCursor, String query)
project - project namelogStore - log store nameshardId - shard idcursor - current cursorcount - LogGroup numberendCursor - the end cursorquery - querypublic String getLogStore()
public void setLogStore(String logStore)
public int getShardId()
public void setShardId(int shardId)
public int getCount()
public void setCount(int count)
public String getCursor()
public void setCursor(String cursor)
public String getEndCursor()
public void setEndCursor(String endCursor)
public String getQuery()
public void setQuery(String query)
public String getProcessor()
public void setProcessor(String processor)
@Deprecated public void setPullMode(String pullMode)
public Consts.CompressType getCompressType()
public void setCompressType(Consts.CompressType compressType)
Copyright © 2026. All Rights Reserved.