@PublicEvolving public final class ImmutableListState<V> extends Object implements org.apache.flink.api.common.state.ListState<V>
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
.
Modifier and Type | Field and Description |
---|---|
protected static UnsupportedOperationException |
MODIFICATION_ATTEMPT_ERROR |
Modifier and Type | Method and Description |
---|---|
void |
add(V value) |
void |
addAll(List<V> values) |
void |
clear() |
static <V> ImmutableListState<V> |
createState(org.apache.flink.api.common.state.ListStateDescriptor<V> stateDescriptor,
byte[] serializedState) |
Iterable<V> |
get() |
void |
update(List<V> values) |
protected static final UnsupportedOperationException MODIFICATION_ATTEMPT_ERROR
public void add(V value)
public void clear()
clear
in interface org.apache.flink.api.common.state.State
public static <V> ImmutableListState<V> createState(org.apache.flink.api.common.state.ListStateDescriptor<V> stateDescriptor, byte[] serializedState) throws IOException
IOException
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.