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