T - The type of process data.P - Type of the specific operator class.public abstract class StreamProcessor<T,P extends io.ray.streaming.operator.Operator> extends Object implements Processor<T>
| Modifier and Type | Field and Description |
|---|---|
protected List<io.ray.streaming.api.collector.Collector> |
collectors |
protected P |
operator |
protected io.ray.streaming.api.context.RuntimeContext |
runtimeContext |
| Constructor and Description |
|---|
StreamProcessor(P operator) |
| Modifier and Type | Method and Description |
|---|---|
void |
open(List<io.ray.streaming.api.collector.Collector> collectors,
io.ray.streaming.api.context.RuntimeContext runtimeContext) |
String |
toString() |
protected List<io.ray.streaming.api.collector.Collector> collectors
protected io.ray.streaming.api.context.RuntimeContext runtimeContext
protected P extends io.ray.streaming.operator.Operator operator
public StreamProcessor(P operator)
Copyright © 2020. All rights reserved.