@Override
    public int getPartition(CellWritableComparable key, Cell value, int numPartitions) {
      for (int i = 0; i < START_KEYS.length; ++i) {
        if (key.compareTo(START_KEYS[i]) <= 0) {
          return i;
        }
      }
      return START_KEYS.length;
    }
Import data written by {@link Export}.
hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/Import.java