Interface InternalAppendingState<K,N,IN,SV,OUT>

Type Parameters:
K - The type of key the state is associated to
N - The type of the namespace
IN - The type of elements added to the state
SV - The type of elements in the state
OUT - The type of the resulting element in the state
All Superinterfaces:
org.apache.flink.api.common.state.AppendingState<IN,OUT>, InternalKvState<K,N,SV>, org.apache.flink.api.common.state.State
All Known Subinterfaces:
InternalAggregatingState<K,N,IN,SV,OUT>, InternalListState<K,N,T>, InternalMergingState<K,N,IN,SV,OUT>, InternalReducingState<K,N,T>

public interface InternalAppendingState<K,N,IN,SV,OUT> extends InternalKvState<K,N,SV>, org.apache.flink.api.common.state.AppendingState<IN,OUT>
The peer to the AppendingState in the internal state type hierarchy.

See InternalKvState for a description of the internal state hierarchy.

  • Method Details

    • getInternal

      SV getInternal() throws Exception
      Get internally stored value.
      Returns:
      internally stored value.
      Throws:
      Exception - The method may forward exception thrown internally (by I/O or functions).
    • updateInternal

      void updateInternal(SV valueToStore) throws Exception
      Update internally stored value.
      Parameters:
      valueToStore - new value to store.
      Throws:
      Exception - The method may forward exception thrown internally (by I/O or functions).