@Override
    public int compareTo(Object arg0) {
      throw new RuntimeException("compareTo not supported in class "
          + this.getClass().getName());
    }
get number of bytes to store the keyBuffer.

@return number of bytes used to store this KeyBuffer on disk
@throws IOException
ql/src/java/org/apache/hadoop/hive/ql/io/RCFile.java