Constructor and Description |
---|
PythonOperatorUtils() |
Modifier and Type | Method and Description |
---|---|
static <K> boolean |
inBatchExecutionMode(KeyedStateBackend<K> stateBackend) |
static <K> void |
setCurrentKeyForStreaming(KeyedStateBackend<K> stateBackend,
K currentKey)
Set the current key for streaming operator.
|
static <K,N> void |
setCurrentKeyForTimerService(InternalTimerService<N> internalTimerService,
K currentKey)
Set the current key for the timer service.
|
public static <K> void setCurrentKeyForStreaming(KeyedStateBackend<K> stateBackend, K currentKey)
public static <K,N> void setCurrentKeyForTimerService(InternalTimerService<N> internalTimerService, K currentKey) throws Exception
Exception
public static <K> boolean inBatchExecutionMode(KeyedStateBackend<K> stateBackend)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.