public class ImmutableStateBinder extends Object implements org.apache.flink.api.common.state.StateBinder
StateBinder
used to deserialize the results returned by the
QueryableStateClient
.
The result is an immutable State
object containing the requested result.
Constructor and Description |
---|
ImmutableStateBinder(byte[] content) |
Modifier and Type | Method and Description |
---|---|
<IN,ACC,OUT> |
createAggregatingState(org.apache.flink.api.common.state.AggregatingStateDescriptor<IN,ACC,OUT> stateDesc) |
<T,ACC> org.apache.flink.api.common.state.FoldingState<T,ACC> |
createFoldingState(org.apache.flink.api.common.state.FoldingStateDescriptor<T,ACC> stateDesc) |
<T> org.apache.flink.api.common.state.ListState<T> |
createListState(org.apache.flink.api.common.state.ListStateDescriptor<T> stateDesc) |
<MK,MV> org.apache.flink.api.common.state.MapState<MK,MV> |
createMapState(org.apache.flink.api.common.state.MapStateDescriptor<MK,MV> stateDesc) |
<T> org.apache.flink.api.common.state.ReducingState<T> |
createReducingState(org.apache.flink.api.common.state.ReducingStateDescriptor<T> stateDesc) |
<T> org.apache.flink.api.common.state.ValueState<T> |
createValueState(org.apache.flink.api.common.state.ValueStateDescriptor<T> stateDesc) |
public <T> org.apache.flink.api.common.state.ValueState<T> createValueState(org.apache.flink.api.common.state.ValueStateDescriptor<T> stateDesc) throws Exception
createValueState
in interface org.apache.flink.api.common.state.StateBinder
Exception
public <T> org.apache.flink.api.common.state.ListState<T> createListState(org.apache.flink.api.common.state.ListStateDescriptor<T> stateDesc) throws Exception
createListState
in interface org.apache.flink.api.common.state.StateBinder
Exception
public <T> org.apache.flink.api.common.state.ReducingState<T> createReducingState(org.apache.flink.api.common.state.ReducingStateDescriptor<T> stateDesc) throws Exception
createReducingState
in interface org.apache.flink.api.common.state.StateBinder
Exception
public <IN,ACC,OUT> org.apache.flink.api.common.state.AggregatingState<IN,OUT> createAggregatingState(org.apache.flink.api.common.state.AggregatingStateDescriptor<IN,ACC,OUT> stateDesc) throws Exception
createAggregatingState
in interface org.apache.flink.api.common.state.StateBinder
Exception
public <T,ACC> org.apache.flink.api.common.state.FoldingState<T,ACC> createFoldingState(org.apache.flink.api.common.state.FoldingStateDescriptor<T,ACC> stateDesc) throws Exception
createFoldingState
in interface org.apache.flink.api.common.state.StateBinder
Exception
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.