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
| Modifier and Type | Class and Description |
|---|---|
static interface |
StateBootstrapFunction.Context
Context that
StateBootstrapFunction's can use for getting additional data about an
input record. |
| Constructor and Description |
|---|
StateBootstrapFunction() |
| Modifier and Type | Method and Description |
|---|---|
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–2021 The Apache Software Foundation. All rights reserved.