public class PullLogsResponse extends Response
| Constructor and Description |
|---|
PullLogsResponse(Map<String,String> headers,
byte[] rawData)
Construct the response with http headers
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCount() |
long |
getCursorTime() |
LogGroupData |
getLogGroup(int index)
get one uncompressed log group by index
|
List<LogGroupData> |
getLogGroups()
get all uncompressed log groups
|
List<LogGroupData> |
getLogGroups(int offset)
get uncompressed log groups with offset
|
String |
getNextCursor() |
byte[] |
getRawData() |
int |
getRawDataCount() |
long |
getRawDataSize() |
int |
getRawSize() |
boolean |
isEndOfCursor() |
GetAllHeaders, GetHeader, GetRequestIdpublic PullLogsResponse(Map<String,String> headers, byte[] rawData) throws LogException
headers - http headersrawData - the response byte array dataLogException - if any error occurs in generating compressed log datapublic int getRawSize()
public long getRawDataSize()
public int getRawDataCount()
public long getCursorTime()
public boolean isEndOfCursor()
public String getNextCursor()
public int getCount()
public LogGroupData getLogGroup(int index) throws LogException
index - the index of log group arrayLogExceptionpublic List<LogGroupData> getLogGroups(int offset) throws LogException
offset - the offset to get log groups, starts with 0LogExceptionpublic List<LogGroupData> getLogGroups() throws LogException
LogExceptionpublic byte[] getRawData()
Copyright © 2025. All Rights Reserved.