@ Override public RequestLogs next ( ) throws NoSuchElementException { Preconditions . checkNotNull ( logIterator , "Reader was not initialized via beginSlice()" ) ; if ( logIterator . hasNext ( ) ) { lastLog = logIterator . next ( ) ; return lastLog ; } else { log . fine ( "Shard completed: " + shardLogQuery . getStartTimeUsec ( ) + "-" + shardLogQuery . getEndTimeUsec ( ) ) ; throw new NoSuchElementException ( ) ; } }
Retrieve the next RequestLog