Package | Description |
---|---|
org.apache.flink.api.common.state | |
org.apache.flink.contrib.streaming.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.
|
Modifier and Type | Method and Description |
---|---|
<IN,ACC,OUT> |
StateBinder.createAggregatingState(AggregatingStateDescriptor<IN,ACC,OUT> stateDesc)
Creates and returns a new
AggregatingState . |
Modifier and Type | Method and Description |
---|---|
protected <N,T,ACC,R> |
RocksDBKeyedStateBackend.createAggregatingState(TypeSerializer<N> namespaceSerializer,
AggregatingStateDescriptor<T,ACC,R> stateDesc) |
Constructor and Description |
---|
RocksDBAggregatingState(org.rocksdb.ColumnFamilyHandle columnFamily,
TypeSerializer<N> namespaceSerializer,
AggregatingStateDescriptor<T,ACC,R> stateDesc,
RocksDBKeyedStateBackend<K> backend)
Creates a new
RocksDBFoldingState . |
Modifier and Type | Method and Description |
---|---|
protected abstract <N,T,ACC,R> |
AbstractKeyedStateBackend.createAggregatingState(TypeSerializer<N> namespaceSerializer,
AggregatingStateDescriptor<T,ACC,R> stateDesc)
Creates and returns a new
AggregatingState . |
Modifier and Type | Method and Description |
---|---|
<N,T,ACC,R> |
HeapKeyedStateBackend.createAggregatingState(TypeSerializer<N> namespaceSerializer,
AggregatingStateDescriptor<T,ACC,R> stateDesc) |
Constructor and Description |
---|
HeapAggregatingState(AggregatingStateDescriptor<IN,ACC,OUT> stateDesc,
StateTable<K,N,ACC> stateTable,
TypeSerializer<K> keySerializer,
TypeSerializer<N> namespaceSerializer)
Creates a new key/value state for the given hash map of key/value pairs.
|
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.