com.metamatrix.vdb.materialization.template
Class MaterializedViewData

java.lang.Object
  extended by com.metamatrix.vdb.materialization.template.MaterializedViewData
All Implemented Interfaces:
TemplateData

public class MaterializedViewData
extends java.lang.Object
implements TemplateData

Data holder for the arguments provided to the templates used to create materialized view population scripts.

Since:
4.2

Constructor Summary
MaterializedViewData(java.lang.String viewName, java.lang.String[] columnNames, java.lang.String virtualGroupName, java.lang.String materializationTableNameInScr, java.lang.String materializationTableName, java.lang.String materializationStageTableNameInSrc, java.lang.String materializationStageTableName)
          Groups all of the parameters used to drive the creation of materialized view scripts.
 
Method Summary
 void populateTemplate(Template template, DatabaseDialect database)
          Translate all of the data into the parameter names used by the template.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaterializedViewData

public MaterializedViewData(java.lang.String viewName,
                            java.lang.String[] columnNames,
                            java.lang.String virtualGroupName,
                            java.lang.String materializationTableNameInScr,
                            java.lang.String materializationTableName,
                            java.lang.String materializationStageTableNameInSrc,
                            java.lang.String materializationStageTableName)
Groups all of the parameters used to drive the creation of materialized view scripts.

Parameters:
viewName - is a logical name for this materialized view.
columnNames - are the names of the columns in the materialized view.
virtualGroupName - is the name of the virtual group being materialized.
materializationTableNameInScr - is the name of the physical table in the underlying data source that holds the cached materialized view data.
materializationTableName - is the name of the physical group that corresponds to the materialized view physical table.
materializationStageTableNameInSrc - The name of the staging table.
materializationStageTableName - TODO
database - is the type of the physical database holding the materialized view table.
Since:
4.2
Method Detail

populateTemplate

public void populateTemplate(Template template,
                             DatabaseDialect database)
Translate all of the data into the parameter names used by the template.

Specified by:
populateTemplate in interface TemplateData


Copyright © 2009. All Rights Reserved.