public final class ImmutableAggregatingState<IN,OUT> extends Object implements org.apache.flink.api.common.state.AggregatingState<IN,OUT>
AggregatingState that does not allow for modifications.
This is the type of the result returned when querying Flink's keyed state using the Queryable State Client and providing
an AggregatingStateDescriptor.
| Modifier and Type | Field and Description |
|---|---|
protected static UnsupportedOperationException |
MODIFICATION_ATTEMPT_ERROR |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Object newValue) |
void |
clear() |
static <OUT,ACC,S extends org.apache.flink.api.common.state.State> |
createState(org.apache.flink.api.common.state.StateDescriptor<S,ACC> stateDescriptor,
byte[] serializedState) |
OUT |
get() |
protected static final UnsupportedOperationException MODIFICATION_ATTEMPT_ERROR
public OUT get()
public void add(Object newValue)
public void clear()
clear in interface org.apache.flink.api.common.state.Statepublic static <OUT,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–2023 The Apache Software Foundation. All rights reserved.