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.
|
CheckpointableKeyedStateBackend<?> |
keyedStateBackend()
Returns the keyed state backend for the stream operator.
|
OperatorStateBackend |
operatorStateBackend()
Returns the operator state backend for the stream operator.
|
CloseableIterable<KeyGroupStatePartitionStreamProvider> |
rawKeyedStateInputs()
Returns an iterable to obtain input streams for previously stored keyed state partitions that
are assigned to this operator.
|
CloseableIterable<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()
OperatorStateBackend operatorStateBackend()
CheckpointableKeyedStateBackend<?> keyedStateBackend()
InternalTimeServiceManager<?> internalTimerServiceManager()
CloseableIterable<StatePartitionStreamProvider> rawOperatorStateInputs()
CloseableIterable<KeyGroupStatePartitionStreamProvider> rawKeyedStateInputs()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.