@Override
  boolean areSerializedFieldsEqual(Filter o) {
    if (o == this) {
      return true;
    }
    if (!(o instanceof ColumnPrefixFilter)) {
      return false;
    }
    ColumnPrefixFilter other = (ColumnPrefixFilter) o;
    return Bytes.equals(this.getPrefix(), other.getPrefix());
  }
Returns true if and only if the fields of the filter that are serialized are equal to the
corresponding fields in other. Used for testing.
hbase-client/src/main/java/org/apache/hadoop/hbase/filter/ColumnPrefixFilter.java