public class BatchGetLogRequest extends Request
| Modifier and Type | Field and Description |
|---|---|
protected String |
mLogStore |
protected int |
mShardId |
| Constructor and Description |
|---|
BatchGetLogRequest(String project,
String logStore,
int shardId,
int count,
String cursor)
Construct a get cursor request
|
BatchGetLogRequest(String project,
String logStore,
int shardId,
int count,
String cursor,
String end_cursor)
Construct a get cursor request
|
| Modifier and Type | Method and Description |
|---|---|
Consts.CompressType |
getCompressType() |
int |
GetCount() |
String |
GetCursor() |
String |
GetEndCursor()
get the end cursor
|
String |
GetLogStore() |
int |
GetShardId() |
void |
setCompressType(Consts.CompressType compressType) |
void |
SetCount(int count) |
void |
SetCursor(String cursor) |
void |
SetEndCursor(String end_cursor)
set end cursor
|
void |
SetLogStore(String logStore) |
void |
SetShardId(int shardId) |
GetAllParams, GetParam, GetProject, SetParamprotected String mLogStore
protected int mShardId
public BatchGetLogRequest(String project, String logStore, int shardId, int count, String cursor)
project - project namelogStore - log stream nameshardId - shard idcursor - current cursorcount - loggroup numpublic BatchGetLogRequest(String project, String logStore, int shardId, int count, String cursor, String end_cursor)
project - project namelogStore - log stream nameshardId - shard idcursor - current cursorcount - loggroup numend_cursor - the end cursorpublic String GetLogStore()
public void SetLogStore(String logStore)
logStore - the logStore to setpublic int GetShardId()
public void SetShardId(int shardId)
shardId - the shardId to setpublic String GetCursor()
public void SetCursor(String cursor)
cursor - the cursor to setpublic String GetEndCursor()
public void SetEndCursor(String end_cursor)
end_cursor - the end cursorpublic int GetCount()
public void SetCount(int count)
count - the count to setpublic Consts.CompressType getCompressType()
public void setCompressType(Consts.CompressType compressType)
Copyright © 2025. All Rights Reserved.