@Override
  public ReturnCode filterCell(final Cell c) {
    int familyLength = c.getFamilyLength();
    if (familyLength > 0) {
      if (compareFamily(getCompareOperator(), this.comparator, c)) {
        return ReturnCode.NEXT_ROW;
      }
    }
    return ReturnCode.INCLUDE;
  }
Constructor.
@param op               the compare op for column family matching
@param familyComparator the comparator for column family matching
hbase-client/src/main/java/org/apache/hadoop/hbase/filter/FamilyFilter.java