S - the type of an operator state partition.public final class PartitionableListState<S> extends Object implements org.apache.flink.api.common.state.ListState<S>
| Modifier and Type | Method and Description |
|---|---|
void |
add(S value) |
void |
addAll(List<S> values) |
void |
clear() |
PartitionableListState<S> |
deepCopy() |
Iterable<S> |
get() |
ArrayListSerializer<S> |
getInternalListCopySerializer() |
RegisteredOperatorStateBackendMetaInfo<S> |
getStateMetaInfo() |
void |
setStateMetaInfo(RegisteredOperatorStateBackendMetaInfo<S> stateMetaInfo) |
String |
toString() |
void |
update(List<S> values) |
long[] |
write(org.apache.flink.core.fs.FSDataOutputStream out) |
public void setStateMetaInfo(RegisteredOperatorStateBackendMetaInfo<S> stateMetaInfo)
public RegisteredOperatorStateBackendMetaInfo<S> getStateMetaInfo()
public PartitionableListState<S> deepCopy()
public void clear()
clear in interface org.apache.flink.api.common.state.Statepublic void add(S value)
public long[] write(org.apache.flink.core.fs.FSDataOutputStream out)
throws IOException
IOExceptionpublic void update(List<S> values)
update in interface org.apache.flink.api.common.state.ListState<S>public void addAll(List<S> values)
addAll in interface org.apache.flink.api.common.state.ListState<S>@VisibleForTesting public ArrayListSerializer<S> getInternalListCopySerializer()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.