Class ImmutableListState<V>
java.lang.Object
org.apache.flink.queryablestate.client.state.ImmutableListState<V>
- All Implemented Interfaces:
org.apache.flink.api.common.state.AppendingState<V,,Iterable<V>> org.apache.flink.api.common.state.ListState<V>,org.apache.flink.api.common.state.MergingState<V,,Iterable<V>> org.apache.flink.api.common.state.State
public final class ImmutableListState<V>
extends Object
implements org.apache.flink.api.common.state.ListState<V>
A read-only
ListState 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 ListStateDescriptor.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidclear()static <V,T, S extends org.apache.flink.api.common.state.State>
ScreateState(org.apache.flink.api.common.state.StateDescriptor<S, T> stateDescriptor, byte[] serializedState) get()void
-
Field Details
-
MODIFICATION_ATTEMPT_ERROR
-
-
Method Details
-
get
-
add
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.flink.api.common.state.State
-
update
- Specified by:
updatein interfaceorg.apache.flink.api.common.state.ListState<V>
-
addAll
- Specified by:
addAllin interfaceorg.apache.flink.api.common.state.ListState<V>
-
createState
public static <V,T, S createStateS extends org.apache.flink.api.common.state.State> (org.apache.flink.api.common.state.StateDescriptor<S, T> stateDescriptor, byte[] serializedState) throws IOException- Throws:
IOException
-