Uses of Interface
org.apache.flink.runtime.state.StateObject
Packages that use StateObject
Package
Description
-
Uses of StateObject in org.apache.flink.runtime.checkpoint
Classes in org.apache.flink.runtime.checkpoint with type parameters of type StateObjectModifier and TypeClassDescriptionclassStateObjectCollection<T extends StateObject>This class represents a generic collection forStateObjects.Classes in org.apache.flink.runtime.checkpoint that implement StateObjectModifier and TypeClassDescriptionclassA specializedOperatorSubtaskStaterepresenting the subtask is finished.classA special operator state implementation representing the operators whose instances are all finished.classSimple container class which contains the raw/managed operator state and key-group state handles from all subtasks of an operator and therefore represents the complete state of a logical operator.classThis class encapsulates the state for one parallel instance of an operator.classStateObjectCollection<T extends StateObject>This class represents a generic collection forStateObjects.classDeprecated.Internal class for savepoint backwards compatibility.classDeprecated.Internal class for savepoint backwards compatibility.classThis class encapsulates state handles to the snapshots of all operator instances executed within one task.Methods in org.apache.flink.runtime.checkpoint with type parameters of type StateObjectModifier and TypeMethodDescriptionstatic <T extends StateObject>
StateObjectCollection<T>StateObjectCollection.empty()static <T extends StateObject>
StateObjectCollection<T>StateObjectCollection.emptyIfNull(StateObjectCollection<T> collection) static <T extends StateObject>
voidStateAssignmentOperation.reDistributePartitionableStates(Map<OperatorID, OperatorState> oldOperatorStates, int newParallelism, Function<OperatorSubtaskState, StateObjectCollection<T>> extractHandle, OperatorStateRepartitioner<T> stateRepartitioner, Map<OperatorInstanceID, List<T>> result) static <T extends StateObject>
StateObjectCollection<T>StateObjectCollection.singleton(T stateObject) static <T extends StateObject>
StateObjectCollection<T>StateObjectCollection.singletonOrEmpty(T stateObject) Methods in org.apache.flink.runtime.checkpoint that return types with arguments of type StateObjectModifier and TypeMethodDescriptionOperatorState.getDiscardables()OperatorSubtaskState.getDiscardables() -
Uses of StateObject in org.apache.flink.runtime.state
Classes in org.apache.flink.runtime.state with type parameters of type StateObjectModifier and TypeClassDescriptionclassChainedStateHandle<T extends StateObject>Handle to state handles for the operators in an operator chain.interfaceSnapshotable<S extends StateObject>Interface for objects that can snapshot its state (state backends currently).classSnapshotResult<T extends StateObject>This class contains the combined results from the snapshot of a state backend: A state object representing the state that will be reported to the Job Manager to acknowledge the checkpoint.interfaceSnapshotStrategy<S extends StateObject,SR extends SnapshotResources> Interface for different snapshot approaches in state backends.static interfaceA supplier for aSnapshotResultwith an access to aCloseableRegistryfor io tasks that need to be closed when cancelling the async part of the checkpoint.final classSnapshotStrategyRunner<T extends StateObject,SR extends SnapshotResources> A class to execute aSnapshotStrategy.Subinterfaces of StateObject in org.apache.flink.runtime.stateModifier and TypeInterfaceDescriptioninterfaceKeyedStateHandlethat is bound to a specific checkpoint.interfaceBase of all snapshots that are taken byStateBackends and some other components in tasks.interfaceCommon interface to all incrementalKeyedStateHandle.interfaceBase for the handles of the checkpointed states in keyed streams.interfaceInterface of a state handle for operator state.interfaceRetrievableStateHandle<T extends Serializable>Handle to state that can be read back again viaRetrievableStateHandle.retrieveState().interfaceAKeyedStateHandlethat points to a savepoint taken in the unified format.interfaceAStateObjectthat represents state that was written to a stream.Classes in org.apache.flink.runtime.state that implement StateObjectModifier and TypeClassDescriptionclassAbstract channel state handle.classAbstract superclass for allIncrementalKeyedStateHandle.classChainedStateHandle<T extends StateObject>Handle to state handles for the operators in an operator chain.classThis state handle represents a directory.classState handle for local copies ofIncrementalRemoteKeyedStateHandle.classThe handle to states of an incremental snapshot.classHandleto anInputChannelstate.classAKeyGroupsStateHandlethat describes a savepoint in the unified format.classA handle to the partitioned stream operator state after it has been checkpointed.classState handle for partitionable operator state.classA placeholder state handle for shared state that will replaced by an original that was created in a previous checkpoint.classHandleto aResultSubpartitionstate.classRetrievableStreamStateHandle<T extends Serializable>Wrapper around aStreamStateHandleto make the referenced state object retrievable trough a simple get call.static classAn object with empty discardState for registering.classSnapshotResult<T extends StateObject>This class contains the combined results from the snapshot of a state backend: A state object representing the state that will be reported to the Job Manager to acknowledge the checkpoint.Methods in org.apache.flink.runtime.state with type parameters of type StateObjectModifier and TypeMethodDescriptionstatic <T extends StateObject>
SnapshotResult<T>SnapshotResult.empty()static <T extends StateObject>
SnapshotResult<T>SnapshotResult.of(T jobManagerState) static <T extends StateObject>
SnapshotResult<T>SnapshotResult.withLocalState(T jobManagerState, T localState) static <T extends StateObject>
ChainedStateHandle<T>ChainedStateHandle.wrapSingleHandle(T stateHandleToWrap) Methods in org.apache.flink.runtime.state with parameters of type StateObjectModifier and TypeMethodDescriptionstatic voidStateUtil.discardStateObjectQuietly(StateObject stateObject) static longStateUtil.getStateSize(StateObject handle) Returns the size of a state object.Method parameters in org.apache.flink.runtime.state with type arguments of type StateObjectModifier and TypeMethodDescriptionstatic voidStateUtil.bestEffortDiscardAllStateObjects(Iterable<? extends StateObject> handlesToDiscard) Iterates through the passed state handles and calls discardState() on each handle that is not null.StateUtil.discardStateFuture(Future<? extends StateObject> stateFuture) Discards the given state future by first trying to cancel it.static RuntimeExceptionStateUtil.unexpectedStateHandleException(Class<? extends StateObject> expectedStateHandleClass, Class<? extends StateObject> actualStateHandleClass) Creates anRuntimeExceptionthat signals that an operation did not get the type ofStateObjectthat was expected. -
Uses of StateObject in org.apache.flink.runtime.state.changelog
Subinterfaces of StateObject in org.apache.flink.runtime.state.changelogModifier and TypeInterfaceDescriptioninterfaceA handle to ChangelogStateBackend state.interfaceA handle to savedstate changes.Classes in org.apache.flink.runtime.state.changelog that implement StateObjectModifier and TypeClassDescriptionstatic classclassState handle for local copies ofChangelogStateHandleStreamImpl.final classChangelogStateHandleimplementation based onStreamStateHandle. -
Uses of StateObject in org.apache.flink.runtime.state.changelog.inmemory
Classes in org.apache.flink.runtime.state.changelog.inmemory that implement StateObject -
Uses of StateObject in org.apache.flink.runtime.state.filemerging
Classes in org.apache.flink.runtime.state.filemerging that implement StateObjectModifier and TypeClassDescriptionclassThis state handle represents a directory, usually used to be registered toSharedStateRegistryto track the life cycle of the directory.classAn emptyFileMergingOperatorStreamStateHandlethat is only used as a placeholder to prevent file merging directory from being deleted.classAn emptySegmentFileStateHandlethat is only used as a placeholder.classAOperatorStreamStateHandlethat works for file merging checkpoints.classFileStateHandlefor state that was written to a file segment. -
Uses of StateObject in org.apache.flink.runtime.state.filesystem
Classes in org.apache.flink.runtime.state.filesystem that implement StateObjectModifier and TypeClassDescriptionclassStreamStateHandlefor state that was written to a file stream.classAStreamStateHandlefor state that was written to a file stream. -
Uses of StateObject in org.apache.flink.runtime.state.memory
Classes in org.apache.flink.runtime.state.memory that implement StateObjectModifier and TypeClassDescriptionclassA state handle that contains stream state in a byte array. -
Uses of StateObject in org.apache.flink.runtime.util
Methods in org.apache.flink.runtime.util with parameters of type StateObjectModifier and TypeMethodDescriptionstatic byte[]StateHandleStoreUtils.serializeOrDiscard(StateObject stateObject) Serializes the passedStateObjectand discards the state in case of failure. -
Uses of StateObject in org.apache.flink.streaming.api.operators
Classes in org.apache.flink.streaming.api.operators with type parameters of type StateObjectModifier and TypeClassDescriptionclassBackendRestorerProcedure<T extends Closeable & org.apache.flink.util.Disposable,S extends StateObject> This class implements the logic that creates (and potentially restores) a state backend.