@Internal public final class StreamingFunctionUtils extends Object
Functions
. This is similar to FunctionUtils
but has additional methods for invoking interfaces that only exist in the streaming API.Modifier and Type | Method and Description |
---|---|
static void |
restoreFunctionState(StateInitializationContext context,
Function userFunction) |
static <T> void |
setOutputType(Function userFunction,
TypeInformation<T> outTypeInfo,
ExecutionConfig executionConfig) |
static void |
snapshotFunctionState(StateSnapshotContext context,
OperatorStateBackend backend,
Function userFunction) |
public static <T> void setOutputType(Function userFunction, TypeInformation<T> outTypeInfo, ExecutionConfig executionConfig)
public static void snapshotFunctionState(StateSnapshotContext context, OperatorStateBackend backend, Function userFunction) throws Exception
Exception
public static void restoreFunctionState(StateInitializationContext context, Function userFunction) throws Exception
Exception
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.