Store store = region.stores.values().iterator().next();
Assert.assertTrue("number of files " + store.getNumberOfstorefiles(),
store.getNumberOfstorefiles() > 1);
Assert.assertTrue(store.memstore.size.get() > 0);
IdxScan idxScan = new IdxScan();
idxScan.addFamily(family);
int low = numRows / 10;
int high = numRows - low;
idxScan.setExpression(Or.or(Comparison.comparison(family, qualLong, Comparison.Operator.GTE, Bytes.toBytes((long) high)),
Comparison.comparison(family, qualLong, Comparison.Operator.LT, Bytes.toBytes((long) low))));
idxScan.setFilter(new FilterList(FilterList.Operator.MUST_PASS_ONE,
Arrays.<Filter>asList(
new SingleColumnValueFilter(family, qualLong, CompareFilter.CompareOp.GREATER_OR_EQUAL,
new BinaryComparator(Bytes.toBytes((long) high))),
new SingleColumnValueFilter(family, qualLong, CompareFilter.CompareOp.LESS,
new BinaryComparator(Bytes.toBytes((long) low))))