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