@Override
    public void write(DataOutput out) throws IOException {
      byte[] name = this.tableName.toBytes();
      out.writeInt(name.length);
      out.write(name);
      out.writeInt(startRow);
      out.writeInt(rows);
      out.writeInt(totalRows);
      out.writeInt(clients);
      out.writeBoolean(flushCommits);
      out.writeBoolean(writeToWAL);
      out.writeBoolean(useTags);
      out.writeInt(noOfTags);
    }
This class works as the InputSplit of Performance Evaluation MapReduce InputFormat, and the
Record Value of RecordReader. Each map task will only read one record from a PeInputSplit, the
record value is the PeInputSplit itself.
hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/PerformanceEvaluation.java