client.setFlushInterval(FAST_FLUSH);
// Keep rows that have both:
// - a row key that is exactly either "fl1" or "fl2".
// - a qualifier in between "qb" (inclusive) and "qd4" (exclusive).
final ArrayList<ScanFilter> filters = new ArrayList<ScanFilter>(2);
filters.add(new ColumnRangeFilter("qb", true, "qd4", false));
filters.add(new KeyRegexpFilter("fl[12]$"));
// Filtered out as we're looking due to qualifier being out of range:
final PutRequest put1 = new PutRequest(table, "fl1", family, "qa1", "v1");
// Kept by the filter:
final PutRequest put2 = new PutRequest(table, "fl1", family, "qb2", "v2");