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.runtime.state | |
org.apache.flink.runtime.state.heap | |
org.apache.flink.runtime.state.heap.async | |
org.apache.flink.streaming.api.functions.query | |
org.apache.flink.streaming.api.operators | |
org.apache.flink.streaming.api.windowing.triggers | |
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> ValueState<T> |
RuntimeContext.getState(ValueStateDescriptor<T> stateProperties)
Gets a handle to the system's key/value state.
|
Modifier and Type | Method and Description |
---|---|
<T> ValueState<T> |
AbstractRuntimeUDFContext.getState(ValueStateDescriptor<T> stateProperties) |
Modifier and Type | Method and Description |
---|---|
ValueState<T> |
ValueStateDescriptor.bind(StateBackend stateBackend) |
<T> ValueState<T> |
StateBackend.createValueState(ValueStateDescriptor<T> stateDesc)
Creates and returns a new
ValueState . |
<T> ValueState<T> |
KeyedStateStore.getState(ValueStateDescriptor<T> stateProperties)
Gets a handle to the system's key/value state.
|
Modifier and Type | Class and Description |
---|---|
class |
RocksDBValueState<K,N,V>
ValueState implementation that stores state in RocksDB. |
Modifier and Type | Method and Description |
---|---|
protected <N,T> ValueState<T> |
RocksDBKeyedStateBackend.createValueState(TypeSerializer<N> namespaceSerializer,
ValueStateDescriptor<T> stateDesc) |
Modifier and Type | Class and Description |
---|---|
class |
GenericFoldingState<N,T,ACC,W extends ValueState<ACC> & KvState<N>>
Generic implementation of
FoldingState based on a wrapped ValueState . |
class |
GenericListState<N,T,W extends ValueState<ArrayList<T>> & KvState<N>>
Generic implementation of
ListState based on a wrapped ValueState . |
class |
GenericReducingState<N,T,W extends ValueState<T> & KvState<N>>
Generic implementation of
ReducingState based on a wrapped ValueState . |
Modifier and Type | Method and Description |
---|---|
protected abstract <N,T> ValueState<T> |
AbstractKeyedStateBackend.createValueState(TypeSerializer<N> namespaceSerializer,
ValueStateDescriptor<T> stateDesc)
Creates and returns a new
ValueState . |
<T> ValueState<T> |
DefaultKeyedStateStore.getState(ValueStateDescriptor<T> stateProperties) |
Constructor and Description |
---|
GenericFoldingState(ValueState<ACC> wrappedState,
FoldFunction<T,ACC> foldFunction)
Creates a new
FoldingState that wraps the given ValueState . |
GenericListState(ValueState<ArrayList<T>> wrappedState)
Creates a new
ListState that wraps the given ValueState . |
GenericReducingState(ValueState<T> wrappedState,
ReduceFunction<T> reduceFunction)
Creates a new
ReducingState that wraps the given ValueState . |
Modifier and Type | Class and Description |
---|---|
class |
HeapValueState<K,N,V>
Heap-backed partitioned
ValueState that is snapshotted
into files. |
Modifier and Type | Method and Description |
---|---|
<N,V> ValueState<V> |
HeapKeyedStateBackend.createValueState(TypeSerializer<N> namespaceSerializer,
ValueStateDescriptor<V> stateDesc) |
Modifier and Type | Method and Description |
---|---|
<N,V> ValueState<V> |
AsyncHeapKeyedStateBackend.createValueState(TypeSerializer<N> namespaceSerializer,
ValueStateDescriptor<V> stateDesc) |
Constructor and Description |
---|
QueryableValueStateOperator(String registrationName,
StateDescriptor<ValueState<IN>,IN> stateDescriptor) |
Modifier and Type | Method and Description |
---|---|
<T> ValueState<T> |
StreamingRuntimeContext.getState(ValueStateDescriptor<T> stateProperties) |
Modifier and Type | Method and Description |
---|---|
<S extends Serializable> |
Trigger.TriggerContext.getKeyValueState(String name,
Class<S> stateType,
S defaultState)
Deprecated.
|
<S extends Serializable> |
Trigger.TriggerContext.getKeyValueState(String name,
TypeInformation<S> stateType,
S defaultState)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
<S extends Serializable> |
WindowOperator.Context.getKeyValueState(String name,
Class<S> stateType,
S defaultState) |
<S extends Serializable> |
WindowOperator.Context.getKeyValueState(String name,
TypeInformation<S> stateType,
S defaultState) |
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.