|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.appengine.api.log.LogQuery.Builder
public static final class LogQuery.Builder
An object that builds LogQuery objects based on the possible query
parameters for calls to LogService.fetch(LogQuery), or its
asynchronous counterpart LogService#fetchAsync(LogQuery). Users
should typically get the default LogQuery via
withDefaults() and modify it as needed via the
setters provided, or if only a single modification is needed, use the
convenience methods provided (e.g.,
withStartTimeUsec(long).
| Constructor Summary | |
|---|---|
LogQuery.Builder()
|
|
| Method Summary | |
|---|---|
static LogQuery |
withBatchSize(int batchSize)
Provides callers with a way to get a LogQuery object with only a single non-default parameter set: the number of items that a single underlying RPC should return. |
static LogQuery |
withDefaults()
Provides callers with a way to get a LogQuery object with only the default parameters set. |
static LogQuery |
withEndTimeUsec(long endTimeUsec)
Provides callers with a way to get a LogQuery object with only a single non-default parameter set: the latest time (in microseconds since epoch) that returned requests should possess. |
static LogQuery |
withIncludeAppLogs(boolean includeAppLogs)
Provides callers with a way to get a LogQuery object with only a single non-default parameter set: whether or not application-level logs should be returned in the results. |
static LogQuery |
withIncludeIncomplete(boolean includeIncomplete)
Provides callers with a way to get a LogQuery object with only a single non-default parameter set: whether or not incomplete requests should be included in the results. |
static LogQuery |
withMajorVersionIds(java.util.List<java.lang.String> versionIds)
Provides callers with a way to get a LogQuery object with only a single non-default parameter set: the major version IDs whose logs should be queried over. |
static LogQuery |
withMinLogLevel(LogService.LogLevel minLogLevel)
Provides callers with a way to get a LogQuery object with only a single non-default parameter set: the minimum application log level. |
static LogQuery |
withOffset(java.lang.String offset)
Provides callers with a way to get a LogQuery object with only a single non-default parameter set: an offset into the log stream representing where the next read should begin. |
static LogQuery |
withStartTimeUsec(long startTimeUsec)
Provides callers with a way to get a LogQuery object with only a single non-default parameter set: the earliest time (in microseconds since epoch) that returned requests should possess. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LogQuery.Builder()
| Method Detail |
|---|
public static LogQuery withOffset(java.lang.String offset)
offset - The String representation of where the next result should
be read from.
public static LogQuery withStartTimeUsec(long startTimeUsec)
startTimeUsec - The earliest time (inclusive) for returned requests.
public static LogQuery withEndTimeUsec(long endTimeUsec)
endTimeUsec - The latest time (exclusive) for returned requests.
public static LogQuery withBatchSize(int batchSize)
batchSize - The number of items to be retrieved from the
log storage system at a time.
public static LogQuery withMinLogLevel(LogService.LogLevel minLogLevel)
minLogLevel - The minimum application log level to search for in
request logs.
public static LogQuery withIncludeIncomplete(boolean includeIncomplete)
includeIncomplete - Whether or not incomplete requests should be
returned.
public static LogQuery withIncludeAppLogs(boolean includeAppLogs)
includeAppLogs - Whether or not application-level logs should be
included in the results.
public static LogQuery withMajorVersionIds(java.util.List<java.lang.String> versionIds)
versionIds - The list of major version IDs whose logs should be
queried over.
public static LogQuery withDefaults()
withMajorVersionIds(List).
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||