@Override
    public void readFields(DataInput in) throws IOException {
      int tableNameLen = in.readInt();
      byte[] name = new byte[tableNameLen];
      in.readFully(name);
      this.tableName = TableName.valueOf(name);
      this.startRow = in.readInt();
      this.rows = in.readInt();
      this.totalRows = in.readInt();
      this.clients = in.readInt();
      this.flushCommits = in.readBoolean();
      this.writeToWAL = in.readBoolean();
      this.useTags = in.readBoolean();
      this.noOfTags = in.readInt();
    }
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