@Deprecated public final class ImmutableFoldingState<IN,ACC> extends Object implements org.apache.flink.api.common.state.FoldingState<IN,ACC>
FoldingState 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 FoldingStateDescriptor.
| Modifier and Type | Field and Description |
|---|---|
protected static UnsupportedOperationException |
MODIFICATION_ATTEMPT_ERROR |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Object newValue)
Deprecated.
|
void |
clear()
Deprecated.
|
static <ACC,S extends org.apache.flink.api.common.state.State> |
createState(org.apache.flink.api.common.state.StateDescriptor<S,ACC> stateDescriptor,
byte[] serializedState)
Deprecated.
|
ACC |
get()
Deprecated.
|
protected static final UnsupportedOperationException MODIFICATION_ATTEMPT_ERROR
public ACC get()
public void add(Object newValue)
public void clear()
clear in interface org.apache.flink.api.common.state.Statepublic static <ACC,S extends org.apache.flink.api.common.state.State> S createState(org.apache.flink.api.common.state.StateDescriptor<S,ACC> stateDescriptor,
byte[] serializedState)
throws IOException
IOExceptionCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.