@Override
  public List<Table> getTables(String catName, String dbName, List<String> tableNames,
      GetProjectionsSpec projectionsSpec) throws TException {
    GetTablesRequest req = new GetTablesRequest(dbName);
    req.setCatName(catName);
    req.setTblNames(tableNames);
    req.setCapabilities(version);
    if (processorCapabilities != null)
      req.setProcessorCapabilities(new ArrayList<String>(Arrays.asList(processorCapabilities)));
    req.setProjectionSpec(projectionsSpec);
    List<Table> tabs = client.get_table_objects_by_name_req(req).getTables();
    for (Table tbl : tabs) {
      executePostGetTableHook(tbl);
    }
    return deepCopyTables(FilterUtils.filterTablesIfEnabled(isClientFilterEnabled, filterHook, tabs));
  }
@deprecated use getTable(GetTableRequest getTableRequest)
@param catName catalog the table is in.
@param dbName database the table is in.
@param tableName table name.
@param validWriteIdList applicable snapshot
@param getColumnStats get the column stats, if available, when true
@param engine engine sending the request
@return
@throws TException
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java