Class ImmutableValueState<V>
java.lang.Object
org.apache.flink.queryablestate.client.state.ImmutableValueState<V>
- All Implemented Interfaces:
org.apache.flink.api.common.state.State,org.apache.flink.api.common.state.ValueState<V>
public final class ImmutableValueState<V>
extends Object
implements org.apache.flink.api.common.state.ValueState<V>
A read-only
ValueState 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 ValueStateDescriptor.
-
Field Summary
Fields -
Method Summary
-
Field Details
-
MODIFICATION_ATTEMPT_ERROR
-
-
Method Details
-
value
- Specified by:
valuein interfaceorg.apache.flink.api.common.state.ValueState<V>
-
update
- Specified by:
updatein interfaceorg.apache.flink.api.common.state.ValueState<V>
-
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
-