Class MinByteArrayCombiner
java.lang.Object
org.apache.accumulo.core.iterators.WrappingIterator
org.apache.accumulo.core.iterators.Combiner
io.trino.plugin.accumulo.iterators.MinByteArrayCombiner
- All Implemented Interfaces:
org.apache.accumulo.core.iterators.OptionDescriber,org.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value>
public class MinByteArrayCombiner
extends org.apache.accumulo.core.iterators.Combiner
A Combiner that does a lexicographic compare against values, returning the 'smallest' value
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.accumulo.core.iterators.Combiner
org.apache.accumulo.core.iterators.Combiner.ValueIteratorNested classes/interfaces inherited from interface org.apache.accumulo.core.iterators.OptionDescriber
org.apache.accumulo.core.iterators.OptionDescriber.IteratorOptions -
Field Summary
Fields inherited from class org.apache.accumulo.core.iterators.Combiner
ALL_OPTION, COLUMNS_OPTION, REDUCE_ON_FULL_COMPACTION_ONLY_OPTION -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.accumulo.core.iterators.Combiner
deepCopy, describeOptions, getTopKey, getTopValue, hasTop, init, next, seek, setColumns, setCombineAllColumns, setReduceOnFullCompactionOnly, validateOptionsMethods inherited from class org.apache.accumulo.core.iterators.WrappingIterator
getSource, setSource
-
Constructor Details
-
MinByteArrayCombiner
public MinByteArrayCombiner()
-
-
Method Details
-
reduce
public org.apache.accumulo.core.data.Value reduce(org.apache.accumulo.core.data.Key key, Iterator<org.apache.accumulo.core.data.Value> iter) - Specified by:
reducein classorg.apache.accumulo.core.iterators.Combiner
-