@InterfaceStability.Unstable public interface ProcessorContext<T> extends Serializable
Processor
.Modifier and Type | Method and Description |
---|---|
void |
forward(T input)
Forwards the input to all downstream processors.
|
void |
forward(T input,
String stream)
Forwards the input to downstream processors at specified stream.
|
Set<String> |
getWindowedParentStreams()
Returns the windowed parent streams.
|
boolean |
isWindowed()
Returns true if the processing is in a windowed context and should wait for punctuation before emitting results.
|
void forward(T input)
input
- the inputvoid forward(T input, String stream)
input
- the inputstream
- the stream to forwardboolean isWindowed()
Copyright © 2023 The Apache Software Foundation. All rights reserved.