- All Known Subinterfaces:
- NonPartitionedContext<OUT>, TwoOutputNonPartitionedContext<OUT1,OUT2>
- All Known Implementing Classes:
- DefaultNonPartitionedContext, DefaultRuntimeContext, DefaultTwoOutputNonPartitionedContext
@Experimental
public interface RuntimeContext
A RuntimeContext contains information about the context in which process functions are executed.
Each parallel instance of the function will have a context through which it can access contextual
information, such as the current key and execution mode. Through this context, we can also
interact with the execution layer, such as getting state, emitting watermark, registering timer,
etc.