T - The type of process data.P - Type of the specific operator class.public abstract class StreamProcessor<T,P extends Operator> extends Object implements Processor<T>
| Modifier and Type | Field and Description |
|---|---|
protected List<Collector> |
collectors |
protected P |
operator |
protected RuntimeContext |
runtimeContext |
| Constructor and Description |
|---|
StreamProcessor(P operator) |
| Modifier and Type | Method and Description |
|---|---|
void |
loadCheckpoint(Serializable checkpointObject)
|
void |
open(List<Collector> collectors,
RuntimeContext runtimeContext) |
Serializable |
saveCheckpoint()
|
String |
toString() |
protected RuntimeContext runtimeContext
public StreamProcessor(P operator)
public void open(List<Collector> collectors, RuntimeContext runtimeContext)
public Serializable saveCheckpoint()
ProcessorsaveCheckpoint in interface Processor<T>public void loadCheckpoint(Serializable checkpointObject)
ProcessorloadCheckpoint in interface Processor<T>Copyright © 2021. All rights reserved.