public List<Table> getAllTableObjects(String dbName) throws HiveException {
    return getTableObjects(dbName, ".*", null);
  }
Get all tables for the specified database.
@param dbName
@return List of all tables
@throws HiveException
ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java