Class ImmutableReducingState<V>
java.lang.Object
org.apache.flink.queryablestate.client.state.ImmutableReducingState<V>
- All Implemented Interfaces:
org.apache.flink.api.common.state.AppendingState<V,,V> org.apache.flink.api.common.state.MergingState<V,,V> org.apache.flink.api.common.state.ReducingState<V>,org.apache.flink.api.common.state.State
public final class ImmutableReducingState<V>
extends Object
implements org.apache.flink.api.common.state.ReducingState<V>
A read-only
ReducingState that does not allow for modifications.
This is the result returned when querying Flink's keyed state using the Queryable State Client and providing
an ReducingStateDescriptor.
-
Field Summary
Fields -
Method Summary
-
Field Details
-
MODIFICATION_ATTEMPT_ERROR
-
-
Method Details
-
get
-
add
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.flink.api.common.state.State
-
createState
public static <V,S extends org.apache.flink.api.common.state.State> S createState(org.apache.flink.api.common.state.StateDescriptor<S, V> stateDescriptor, byte[] serializedState) throws IOException- Throws:
IOException
-