} else if (filter instanceof FamilyFilter) {
final FamilyFilter ffilter = (FamilyFilter) filter;
return String.format("(HFamily %s %s)",
SchemaPlatformBridge.get().debugStringsForCompareFilter(ffilter));
} else if (filter instanceof ColumnPrefixFilter) {
final ColumnPrefixFilter cpfilter = (ColumnPrefixFilter) filter;
return String.format("(HColumn starts with %s)", Bytes.toStringBinary(cpfilter.getPrefix()));
} else if (filter instanceof ColumnPaginationFilter) {
final ColumnPaginationFilter cpfilter = (ColumnPaginationFilter) filter;
return String.format("(%d cells from offset %d)", cpfilter.getLimit(), cpfilter.getOffset());
} else {
return filter.toString();
}
}