public HiveRelOptMaterialization copyToNewCluster(RelOptCluster optCluster) {
    final RelNode newViewScan = HiveMaterializedViewUtils.copyNodeNewCluster(optCluster, tableRel);
    return new HiveRelOptMaterialization(newViewScan, queryRel, null, qualifiedTableName, scope,
        sourceTablesUpdateDeleteModified, sourceTablesCompacted, rebuildMode, ast);
  }
Is this materialized view applicable to the specified scope.
@param scope Set of algorithms
@return true if applicable false otherwise
ql/src/java/org/apache/hadoop/hive/ql/metadata/HiveRelOptMaterialization.java