@Override
  boolean areSerializedFieldsEqual(Filter o) {
    if (o == this) {
      return true;
    } else if (!(o instanceof ColumnValueFilter)) {
      return false;
    }
    ColumnValueFilter other = (ColumnValueFilter) o;
    return Bytes.equals(this.getFamily(), other.getFamily())
      && Bytes.equals(this.getQualifier(), other.getQualifier())
      && this.getCompareOperator().equals(other.getCompareOperator())
      && this.getComparator().areSerializedFieldsEqual(other.getComparator());
  }
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/ColumnValueFilter.java