public final class LogInputReader extends InputReader<com.google.appengine.api.log.RequestLogs>
Modifier and Type | Field and Description |
---|---|
protected com.google.appengine.api.log.LogQuery |
shardLogQuery |
Modifier and Type | Method and Description |
---|---|
void |
beginShard()
Performs setup at the beginning of the shard.
|
void |
beginSlice()
Prepare this slice for reading.
|
void |
endSlice()
Prepares the
InputReader for serialization. |
Double |
getProgress()
Determine the approximate progress for this shard assuming the RequestLogs are uniformly
distributed across the entire time range.
|
com.google.appengine.api.log.RequestLogs |
next()
Retrieve the next RequestLog
|
close, endShard, estimateMemoryRequirement, getContext, open, setContext
public void beginShard()
InputReader
InputReader.beginSlice()
. It will not be invoked again unless the shard restarts. When a shard is
restarted, this method is invoked and the input should be read from the beginning.beginShard
in class InputReader<com.google.appengine.api.log.RequestLogs>
public void beginSlice()
beginSlice
in class InputReader<com.google.appengine.api.log.RequestLogs>
public void endSlice()
InputReader
InputReader
for serialization.endSlice
in class InputReader<com.google.appengine.api.log.RequestLogs>
public com.google.appengine.api.log.RequestLogs next() throws NoSuchElementException
next
in class InputReader<com.google.appengine.api.log.RequestLogs>
NoSuchElementException
public Double getProgress()
getProgress
in class InputReader<com.google.appengine.api.log.RequestLogs>
Copyright © 2015 Google. All rights reserved.