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