Package | Description |
---|---|
org.apache.flink.api.common.functions | |
org.apache.flink.api.common.functions.util | |
org.apache.flink.api.common.state | |
org.apache.flink.contrib.streaming.state | |
org.apache.flink.queryablestate.client.state | |
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.
|
org.apache.flink.streaming.api.datastream | |
org.apache.flink.streaming.api.operators | |
org.apache.flink.streaming.runtime.operators.windowing |
This package contains the operators that implement the various window operations
on data streams.
|
Modifier and Type | Method and Description |
---|---|
<T> ReducingState<T> |
RuntimeContext.getReducingState(ReducingStateDescriptor<T> stateProperties)
Gets a handle to the system's key/value reducing state.
|
Modifier and Type | Method and Description |
---|---|
<T> ReducingState<T> |
AbstractRuntimeUDFContext.getReducingState(ReducingStateDescriptor<T> stateProperties) |
Modifier and Type | Method and Description |
---|---|
<T> ReducingState<T> |
StateBinder.createReducingState(ReducingStateDescriptor<T> stateDesc)
Creates and returns a new
ReducingState . |
<T> ReducingState<T> |
KeyedStateStore.getReducingState(ReducingStateDescriptor<T> stateProperties)
Gets a handle to the system's key/value reducing state.
|
Modifier and Type | Method and Description |
---|---|
protected <N,T> InternalReducingState<N,T> |
RocksDBKeyedStateBackend.createReducingState(TypeSerializer<N> namespaceSerializer,
ReducingStateDescriptor<T> stateDesc) |
Constructor and Description |
---|
RocksDBReducingState(org.rocksdb.ColumnFamilyHandle columnFamily,
TypeSerializer<N> namespaceSerializer,
ReducingStateDescriptor<V> stateDesc,
RocksDBKeyedStateBackend<K> backend)
Creates a new
RocksDBReducingState . |
Modifier and Type | Method and Description |
---|---|
<T> ReducingState<T> |
ImmutableStateBinder.createReducingState(ReducingStateDescriptor<T> stateDesc) |
static <V> ImmutableReducingState<V> |
ImmutableReducingState.createState(ReducingStateDescriptor<V> stateDescriptor,
byte[] serializedState) |
Modifier and Type | Method and Description |
---|---|
protected abstract <N,T> InternalReducingState<N,T> |
AbstractKeyedStateBackend.createReducingState(TypeSerializer<N> namespaceSerializer,
ReducingStateDescriptor<T> stateDesc)
Creates and returns a new
ReducingState . |
<T> ReducingState<T> |
DefaultKeyedStateStore.getReducingState(ReducingStateDescriptor<T> stateProperties) |
Modifier and Type | Method and Description |
---|---|
<N,T> InternalReducingState<N,T> |
HeapKeyedStateBackend.createReducingState(TypeSerializer<N> namespaceSerializer,
ReducingStateDescriptor<T> stateDesc) |
Constructor and Description |
---|
HeapReducingState(ReducingStateDescriptor<V> stateDesc,
StateTable<K,N,V> stateTable,
TypeSerializer<K> keySerializer,
TypeSerializer<N> namespaceSerializer)
Creates a new key/value state for the given hash map of key/value pairs.
|
Modifier and Type | Method and Description |
---|---|
QueryableStateStream<KEY,T> |
KeyedStream.asQueryableState(String queryableStateName,
ReducingStateDescriptor<T> stateDescriptor)
Publishes the keyed stream as a queryable ReducingState instance.
|
Modifier and Type | Method and Description |
---|---|
<T> ReducingState<T> |
StreamingRuntimeContext.getReducingState(ReducingStateDescriptor<T> stateProperties) |
Modifier and Type | Method and Description |
---|---|
<T> ReducingState<T> |
WindowOperator.MergingWindowStateStore.getReducingState(ReducingStateDescriptor<T> stateProperties) |
<T> ReducingState<T> |
WindowOperator.PerWindowStateStore.getReducingState(ReducingStateDescriptor<T> stateProperties) |
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.