public interface StreamOperatorStateContext
| Modifier and Type | Method and Description |
|---|---|
OptionalLong |
getRestoredCheckpointId()
Returns non-empty if the states provided by this context are restored from a
checkpoint/savepoint.
|
InternalTimeServiceManager<?> |
internalTimerServiceManager()
Returns the internal timer service manager for the stream operator.
|
default boolean |
isRestored()
Returns true if the states provided by this context are restored from a checkpoint/savepoint.
|
org.apache.flink.runtime.state.CheckpointableKeyedStateBackend<?> |
keyedStateBackend()
Returns the keyed state backend for the stream operator.
|
org.apache.flink.runtime.state.OperatorStateBackend |
operatorStateBackend()
Returns the operator state backend for the stream operator.
|
org.apache.flink.util.CloseableIterable<org.apache.flink.runtime.state.KeyGroupStatePartitionStreamProvider> |
rawKeyedStateInputs()
Returns an iterable to obtain input streams for previously stored keyed state partitions that
are assigned to this operator.
|
org.apache.flink.util.CloseableIterable<org.apache.flink.runtime.state.StatePartitionStreamProvider> |
rawOperatorStateInputs()
Returns an iterable to obtain input streams for previously stored operator state partitions
that are assigned to this stream operator.
|
default boolean isRestored()
OptionalLong getRestoredCheckpointId()
org.apache.flink.runtime.state.OperatorStateBackend operatorStateBackend()
org.apache.flink.runtime.state.CheckpointableKeyedStateBackend<?> keyedStateBackend()
InternalTimeServiceManager<?> internalTimerServiceManager()
org.apache.flink.util.CloseableIterable<org.apache.flink.runtime.state.StatePartitionStreamProvider> rawOperatorStateInputs()
org.apache.flink.util.CloseableIterable<org.apache.flink.runtime.state.KeyGroupStatePartitionStreamProvider> rawKeyedStateInputs()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.