Package org.apache.storm.streams
Class ProcessorNode
java.lang.Object
org.apache.storm.streams.ProcessorNode
- All Implemented Interfaces:
Serializable
Node that wraps a processor in the stream.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionProcessorNode
(Processor<?> processor, String outputStream, Fields outputFields) ProcessorNode
(Processor<?> processor, String outputStream, Fields outputFields, boolean preservesKey) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Processor<?>
boolean
isBatch()
boolean
boolean
void
setEmitsPair
(boolean emitsPair) void
setWindowed
(boolean windowed) toString()
-
Field Details
-
outputFields
-
groupingInfo
protected org.apache.storm.streams.GroupingInfo groupingInfo -
componentId
-
parallelism
protected int parallelism
-
-
Constructor Details
-
ProcessorNode
-
ProcessorNode
-
-
Method Details
-
getProcessor
-
isBatch
public boolean isBatch() -
getWindowedParentStreams
-
isPreservesKey
public boolean isPreservesKey() -
toString
-
getOutputFields
-
isWindowed
public boolean isWindowed() -
setWindowed
public void setWindowed(boolean windowed) -
emitsPair
public boolean emitsPair() -
setEmitsPair
public void setEmitsPair(boolean emitsPair)
-