| Package | Description |
|---|---|
| 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.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SnappyStreamCompressionDecorator
This implementation decorates the stream with snappy compression.
|
class |
UncompressedStreamCompressionDecorator
This implementation does not decorate the stream with any compression.
|
| Modifier and Type | Field and Description |
|---|---|
static StreamCompressionDecorator |
UncompressedStreamCompressionDecorator.INSTANCE |
static StreamCompressionDecorator |
SnappyStreamCompressionDecorator.INSTANCE |
protected StreamCompressionDecorator |
AbstractKeyedStateBackend.keyGroupCompressionDecorator
Decorates the input and output streams to write key-groups compressed.
|
protected StreamCompressionDecorator |
AbstractKeyedStateBackendBuilder.keyGroupCompressionDecorator |
| Modifier and Type | Method and Description |
|---|---|
static StreamCompressionDecorator |
AbstractStateBackend.getCompressionDecorator(org.apache.flink.api.common.ExecutionConfig executionConfig) |
StreamCompressionDecorator |
AbstractKeyedStateBackend.getKeyGroupCompressionDecorator() |
StreamCompressionDecorator |
FullSnapshotResources.getStreamCompressionDecorator()
Returns the
StreamCompressionDecorator that should be used for writing. |
| Constructor and Description |
|---|
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) |
AbstractKeyedStateBackendBuilder(TaskKvStateRegistry kvStateRegistry,
org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer,
ClassLoader userCodeClassLoader,
int numberOfKeyGroups,
KeyGroupRange keyGroupRange,
org.apache.flink.api.common.ExecutionConfig executionConfig,
TtlTimeProvider ttlTimeProvider,
LatencyTrackingStateConfig latencyTrackingStateConfig,
Collection<KeyedStateHandle> stateHandles,
StreamCompressionDecorator keyGroupCompressionDecorator,
org.apache.flink.core.fs.CloseableRegistry cancelStreamRegistry) |
CompressibleFSDataInputStream(org.apache.flink.core.fs.FSDataInputStream delegate,
StreamCompressionDecorator compressionDecorator) |
CompressibleFSDataOutputStream(org.apache.flink.core.fs.FSDataOutputStream delegate,
StreamCompressionDecorator compressionDecorator) |
| Constructor and Description |
|---|
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) |
HeapKeyedStateBackendBuilder(TaskKvStateRegistry kvStateRegistry,
org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer,
ClassLoader userCodeClassLoader,
int numberOfKeyGroups,
KeyGroupRange keyGroupRange,
org.apache.flink.api.common.ExecutionConfig executionConfig,
TtlTimeProvider ttlTimeProvider,
LatencyTrackingStateConfig latencyTrackingStateConfig,
Collection<KeyedStateHandle> stateHandles,
StreamCompressionDecorator keyGroupCompressionDecorator,
LocalRecoveryConfig localRecoveryConfig,
HeapPriorityQueueSetFactory priorityQueueSetFactory,
boolean asynchronousSnapshots,
org.apache.flink.core.fs.CloseableRegistry cancelStreamRegistry) |
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.