| 程序包 | 说明 |
|---|---|
| org.apache.flink.runtime.state | |
| org.apache.flink.runtime.state.heap |
This package contains the classes for key/value state backends that store the state on the JVM
heap as objects.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractKeyedStateBackend<K>
Base implementation of KeyedStateBackend.
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected InternalKeyContext<K> |
AbstractKeyedStateBackend.keyContext
The key context for this backend.
|
| 限定符和类型 | 方法和说明 |
|---|---|
InternalKeyContext<K> |
AbstractKeyedStateBackend.getKeyContext() |
| 构造器和说明 |
|---|
AbstractKeyedStateBackend(TaskKvStateRegistry kvStateRegistry,
org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer,
ClassLoader userCodeClassLoader,
org.apache.flink.api.common.ExecutionConfig executionConfig,
TtlTimeProvider ttlTimeProvider,
LatencyTrackingStateConfig latencyTrackingStateConfig,
org.apache.flink.core.fs.CloseableRegistry cancelStreamRegistry,
InternalKeyContext<K> keyContext) |
AbstractKeyedStateBackend(TaskKvStateRegistry kvStateRegistry,
org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer,
ClassLoader userCodeClassLoader,
org.apache.flink.api.common.ExecutionConfig executionConfig,
TtlTimeProvider ttlTimeProvider,
LatencyTrackingStateConfig latencyTrackingStateConfig,
org.apache.flink.core.fs.CloseableRegistry cancelStreamRegistry,
StreamCompressionDecorator keyGroupCompressionDecorator,
InternalKeyContext<K> keyContext) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
HeapKeyedStateBackend<K>
A
AbstractKeyedStateBackend that keeps state on the Java Heap and will serialize state to
streams provided by a CheckpointStreamFactory upon checkpointing. |
class |
InternalKeyContextImpl<K>
The default
InternalKeyContext implementation. |
| 限定符和类型 | 字段和说明 |
|---|---|
protected InternalKeyContext<K> |
StateTable.keyContext
The key context view on the backend.
|
| 构造器和说明 |
|---|
HeapKeyedStateBackend(TaskKvStateRegistry kvStateRegistry,
org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer,
ClassLoader userCodeClassLoader,
org.apache.flink.api.common.ExecutionConfig executionConfig,
TtlTimeProvider ttlTimeProvider,
LatencyTrackingStateConfig latencyTrackingStateConfig,
org.apache.flink.core.fs.CloseableRegistry cancelStreamRegistry,
StreamCompressionDecorator keyGroupCompressionDecorator,
Map<String,StateTable<K,?,?>> registeredKVStates,
Map<String,HeapPriorityQueueSnapshotRestoreWrapper<?>> registeredPQStates,
LocalRecoveryConfig localRecoveryConfig,
HeapPriorityQueueSetFactory priorityQueueSetFactory,
org.apache.flink.runtime.state.heap.HeapSnapshotStrategy<K> checkpointStrategy,
SnapshotExecutionType snapshotExecutionType,
org.apache.flink.runtime.state.heap.StateTableFactory<K> stateTableFactory,
InternalKeyContext<K> keyContext) |
StateTable(InternalKeyContext<K> keyContext,
RegisteredKeyValueStateBackendMetaInfo<N,S> metaInfo,
org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer) |
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.