IN - The type of the input.@PublicEvolving
public abstract class StateBootstrapFunction<IN>
extends org.apache.flink.api.common.functions.AbstractRichFunction
implements org.apache.flink.streaming.api.checkpoint.CheckpointedFunction
| 限定符和类型 | 类和说明 |
|---|---|
static interface |
StateBootstrapFunction.Context
Context that
StateBootstrapFunction's can use for getting additional data about an input
record. |
| 构造器和说明 |
|---|
StateBootstrapFunction() |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract void |
processElement(IN value,
StateBootstrapFunction.Context ctx)
Writes the given value to operator state.
|
close, getIterationRuntimeContext, getRuntimeContext, open, setRuntimeContextpublic abstract void processElement(IN value, StateBootstrapFunction.Context ctx) throws Exception
value - The input record.Exception - This method may throw exceptions. Throwing an exception will cause the
operation to fail and may trigger recovery.Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.