Class ImmutableBytesWritable.Comparator

java.lang.Object
org.apache.hadoop.io.WritableComparator
org.apache.hadoop.hbase.io.ImmutableBytesWritable.Comparator
All Implemented Interfaces:
Comparator, org.apache.hadoop.conf.Configurable, org.apache.hadoop.io.RawComparator
Enclosing class:
ImmutableBytesWritable

@Public public static class ImmutableBytesWritable.Comparator extends org.apache.hadoop.io.WritableComparator
A Comparator optimized for ImmutableBytesWritable.
  • Field Details

    • comparator

      private org.apache.hadoop.io.BytesWritable.Comparator comparator
  • Constructor Details

  • Method Details

    • 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