public class FiniteInMemorySpout extends InMemorySpout<String> implements FiniteSpout
counter, source
ATTRIBUTE_LINE, collector
Constructor and Description |
---|
FiniteInMemorySpout(String[] source) |
Modifier and Type | Method and Description |
---|---|
boolean |
reachedEnd()
When returns true, the spout has reached the end of the stream.
|
nextTuple
ack, activate, close, deactivate, declareOutputFields, fail, getComponentConfiguration, open
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public FiniteInMemorySpout(String[] source)
public boolean reachedEnd()
FiniteSpout
reachedEnd
in interface FiniteSpout
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.