K
- The type of key the state is associated toN
- The type of the namespaceIN
- The type of elements added to the stateSV
- The type of elements in the stateOUT
- The type of elementspublic interface InternalMergingState<K,N,IN,SV,OUT> extends InternalAppendingState<K,N,IN,SV,OUT>, MergingState<IN,OUT>
MergingState
in the internal state type hierarchy.
See InternalKvState
for a description of the internal state hierarchy.InternalKvState.StateIncrementalVisitor<K,N,V>
Modifier and Type | Method and Description |
---|---|
void |
mergeNamespaces(N target,
Collection<N> sources)
Merges the state of the current key for the given source namespaces into the state of
the target namespace.
|
getInternal, updateInternal
getKeySerializer, getNamespaceSerializer, getSerializedValue, getStateIncrementalVisitor, getValueSerializer, setCurrentNamespace
add, get
void mergeNamespaces(N target, Collection<N> sources) throws Exception
target
- The target namespace where the merged state should be stored.sources
- The source namespaces whose state should be merged.Exception
- The method may forward exception thrown internally (by I/O or functions).Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.