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 elements
public interface InternalMergingState<K,N,IN,SV,OUT> extends InternalAppendingState<K,N,IN,SV,OUT>, MergingState<IN,OUT>
|Modifier and Type||Method and Description|
Merges the state of the current key for the given source namespaces into the state of the target namespace.
getKeySerializer, getNamespaceSerializer, getSerializedValue, getValueSerializer, setCurrentNamespace
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–2019 The Apache Software Foundation. All rights reserved.