public class ColumnPaginationFilterExample {
public static void main(String[] args) throws IOException {
Configuration conf = HBaseConfiguration.create();
HBaseHelper helper = HBaseHelper.getHelper(conf);
helper.dropTable("testtable");
helper.createTable("testtable", "colfam1");
System.out.println("Adding rows to table...");
helper.fillTable("testtable", 1, 10, 30, 2, true, "colfam1");
HTable table = new HTable(conf, "testtable");
// vv ColumnPaginationFilterExample
Filter filter = new ColumnPaginationFilter(5, 15);