private Context createContext(HiveConf conf) {
    Context ctx = new Context(conf);
    ctx.setIsLoadingMaterializedView(true);
    ctx.setHDFSCleanup(true);
    return ctx;
  }
Returns the materialized views in the cache for the given database.

@return the collection of materialized views, or the empty collection if none
ql/src/java/org/apache/hadoop/hive/ql/metadata/HiveMaterializedViewsRegistry.java