Class SinkStreamlet<R>
- java.lang.Object
-
- org.apache.heron.streamlet.impl.StreamletBaseImpl<R>
-
- org.apache.heron.streamlet.impl.streamlets.SinkStreamlet<R>
-
- All Implemented Interfaces:
StreamletBase<R>
public class SinkStreamlet<R> extends StreamletBaseImpl<R>
SinkStreamlet represents en empty Streamlet that is made up of elements from the parent streamlet after consuming every element. Since elements of the parents are just consumed by the user passed consumer function, nothing is emitted, thus this streamlet is empty.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.heron.streamlet.impl.StreamletBaseImpl
StreamletBaseImpl.StreamletNamePrefix
-
-
Field Summary
-
Fields inherited from class org.apache.heron.streamlet.impl.StreamletBaseImpl
name, nPartitions
-
-
Constructor Summary
Constructors Constructor Description SinkStreamlet(StreamletImpl<R> parent, Sink<R> sink)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
doBuild(TopologyBuilder bldr, Set<String> stageNames)
-
Methods inherited from class org.apache.heron.streamlet.impl.StreamletBaseImpl
addChild, build, getChildren, getName, getNumPartitions, isBuilt, isFullyBuilt, setDefaultNameIfNone, setName, setNumPartitions
-
-
-
-
Constructor Detail
-
SinkStreamlet
public SinkStreamlet(StreamletImpl<R> parent, Sink<R> sink)
-
-
Method Detail
-
doBuild
public boolean doBuild(TopologyBuilder bldr, Set<String> stageNames)
- Specified by:
doBuild
in classStreamletBaseImpl<R>
-
-