public class PullLogsRequest extends Request
| Constructor and Description |
|---|
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)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
GetAllParams()
Get all the parameter in the request
|
Consts.CompressType |
getCompressType() |
int |
getCount() |
String |
getCursor() |
String |
getEndCursor() |
String |
getLogStore() |
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 |
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 void setPullMode(String pullMode)
public Consts.CompressType getCompressType()
public void setCompressType(Consts.CompressType compressType)
Copyright © 2025. All Rights Reserved.