Uses of Class org.apache.hadoop.io.BinaryComparable (Apache Hadoop Main 3.5.0 API)
Description: use: package: org.apache.hadoop.io, class: BinaryComparable

# Uses of Class
org.apache.hadoop.io.BinaryComparable

Packages that use BinaryComparable
Package
Description
org.apache.hadoop.io
Generic i/o code for use when reading and writing data to the network, to databases, and to files.
org.apache.hadoop.mapreduce.lib.partition

- ## Uses of BinaryComparable in org.apache.hadoop.io

  Subclasses of BinaryComparable in org.apache.hadoop.io
  Modifier and Type
  Class
  Description
  `class`
  `BytesWritable`
  A byte sequence that is usable as a key or value.
  `class`
  `Text`
  This class stores text using standard UTF8 encoding.
  Methods in org.apache.hadoop.io with parameters of type BinaryComparable
  Modifier and Type
  Method
  Description
  `int`
  BinaryComparable.`compareTo(BinaryComparable other)`
  Compare bytes from {#getBytes()}.

- ## Uses of BinaryComparable in org.apache.hadoop.mapreduce.lib.partition

  Methods in org.apache.hadoop.mapreduce.lib.partition with parameters of type BinaryComparable
  Modifier and Type
  Method
  Description
  `int`
  BinaryPartitioner.`getPartition(BinaryComparable key, V value, int numPartitions)`
  Use (the specified slice of the array returned by) `getBytes()` to partition.