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.ValueIterator

    Nested 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.accumulo.core.data.Value
    reduce(org.apache.accumulo.core.data.Key key, Iterator<org.apache.accumulo.core.data.Value> iter)
     

    Methods inherited from class org.apache.accumulo.core.iterators.Combiner

    deepCopy, describeOptions, getTopKey, getTopValue, hasTop, init, next, seek, setColumns, setCombineAllColumns, setReduceOnFullCompactionOnly, validateOptions

    Methods inherited from class org.apache.accumulo.core.iterators.WrappingIterator

    getSource, setSource

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      reduce in class org.apache.accumulo.core.iterators.Combiner