public void setMaterializedViewMetadata(MaterializedViewMetadata materializedViewMetadata) {
    this.materializedViewMetadata = materializedViewMetadata;
    tTable.setCreationMetadata(materializedViewMetadata.creationMetadata);
  }
@param materializedViewMetadata
         the creation metadata (only for materialized views)
ql/src/java/org/apache/hadoop/hive/ql/metadata/Table.java