public interface StreamOperatorStateContext
Modifier and Type | Method and Description |
---|---|
InternalTimeServiceManager<?,?> |
internalTimerServiceManager()
Returns the internal timer service manager for the stream operator.
|
boolean |
isRestored()
Returns true, the states provided by this context are restored from a checkpoint/savepoint.
|
AbstractKeyedStateBackend<?> |
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.
|
boolean isRestored()
OperatorStateBackend operatorStateBackend()
AbstractKeyedStateBackend<?> keyedStateBackend()
InternalTimeServiceManager<?,?> internalTimerServiceManager()
CloseableIterable<StatePartitionStreamProvider> rawOperatorStateInputs()
CloseableIterable<KeyGroupStatePartitionStreamProvider> rawKeyedStateInputs()
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.