public static Read read() {
    return new Read(null, "", new Scan());
  }
@Test
  public void testReadingWithFilterSDF() throws Exception {
    final String table = tmpTable.getName();
    final int numRows = 1001;
    createAndWriteData(table, numRows);

    String regex = ".*17.*";
    Filter filter = new RowFilter(CompareFilter.CompareOp.EQUAL, new RegexStringComparator(regex));
    runReadTestLength(
        HBaseIO.read().withConfiguration(conf).withTableId(table).withFilter(filter), true, 20);
  }