public class SimpleDequeueResult extends DequeueResult
DequeueResult
DequeueResult.Interceptor
CLOSED, GOOD, leadershipStatus, props, throwable, TIMEOUT
Constructor and Description |
---|
SimpleDequeueResult(List<Tuple> tuples,
StreamProperties props,
StreamBaseURI server,
Constants.LeadershipStatus leadershipStatus) |
Modifier and Type | Method and Description |
---|---|
int |
getTupleCount()
Returns the number of tuples dequeued.
|
Iterator<Tuple> |
iterator()
Returns an iterator of all tuples.
|
checkStatus, getLeadershipStatus, getSchema, getServerURI, getStatus, getStreamName, getStreamProperties
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public SimpleDequeueResult(List<Tuple> tuples, StreamProperties props, StreamBaseURI server, Constants.LeadershipStatus leadershipStatus)
public int getTupleCount()
DequeueResult
getTupleCount
in class DequeueResult
public Iterator<Tuple> iterator()
DequeueResult
iterator
in interface Iterable<Tuple>
iterator
in class DequeueResult