Package org.apache.cassandra.db.tries
Interface Trie.CollectionMergeResolver<T>
-
- All Superinterfaces:
Trie.MergeResolver<T>
public static interface Trie.CollectionMergeResolver<T> extends Trie.MergeResolver<T>
Resolver of content of merged nodes. The resolver's methods are only called if more than one of the merged nodes contain content, and the order in which the arguments are given is not defined. Only present non-null values will be included in the collection passed to the resolving methods. Can also be used as a two-source resolver.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description T
resolve(java.util.Collection<T> contents)
default T
resolve(T c1, T c2)
-