Class SortableBytes.SortableBytesSortingComparator

  • All Implemented Interfaces:
    Comparator, org.apache.hadoop.conf.Configurable, org.apache.hadoop.io.RawComparator
    Enclosing class:
    SortableBytes

    public static class SortableBytes.SortableBytesSortingComparator
    extends org.apache.hadoop.io.WritableComparator
    • Constructor Detail

      • SortableBytesSortingComparator

        protected SortableBytesSortingComparator()
    • Method Detail

      • compare

        public int compare​(byte[] b1,
                           int s1,
                           int l1,
                           byte[] b2,
                           int s2,
                           int l2)
        Specified by:
        compare in interface org.apache.hadoop.io.RawComparator
        Overrides:
        compare in class org.apache.hadoop.io.WritableComparator