class ROdps {

  public List<DataFrameItem> getTables(String projectName, String pattern) throws ROdpsException {
    DataFrameItem<String> owner = new DataFrameItem<String>("owner", "string");
    DataFrameItem<String> tableName = new DataFrameItem<String>("table_name", "string");
    List<DataFrameItem> data = new ArrayList<DataFrameItem>();
    data.add(owner);
    data.add(tableName);

    TableFilter filter = new TableFilter();
    filter.setName(pattern);

    for (Iterator<Table> it = odps.tables().iterator(projectName, filter); it.hasNext();) {
      Table tb = it.next();
      owner.getData().add(tb.getOwner());
      tableName.getData().add(tb.getName());
    }
    return data;
  }

  public  ROdps(String projectName, String accessID, String accessKey, String endPoint,
      String dtEndpoint, String logviewHost, String log4j_properties);

}