|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metamatrix.vdb.materialization.MaterializedViewScriptGeneratorImpl
public class MaterializedViewScriptGeneratorImpl
Constructor Summary | |
---|---|
MaterializedViewScriptGeneratorImpl(TemplateData materializedViewTemplateData)
Default ctor. |
Method Summary | |
---|---|
void |
generateMaterializationConnectionPropFile(java.io.OutputStream stream)
Generate the connection properties file for all materialized views in a VDB and write it to the given stream. |
void |
generateMaterializationLoadScript(java.io.OutputStream stream)
Generate the materialization load scripts for all materialized views in a VDB for the MetaMatrix platform and write them to the given stream. |
void |
generateMaterializationSwapScript(java.io.OutputStream stream,
DatabaseDialect dialect)
Generate the materialization rename scripts for all materialized views in a VDB for all supported RDBMS platforms and write them to the given stream. |
void |
generateMaterializationTruncateScript(java.io.OutputStream stream,
DatabaseDialect dialect)
Generate the materialization truncate scripts for all materialized views in a VDB for all supported RDBMS platforms and write them to the given stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MaterializedViewScriptGeneratorImpl(TemplateData materializedViewTemplateData)
materializedViewTemplateData
- The template data for a materialization.Method Detail |
---|
public void generateMaterializationTruncateScript(java.io.OutputStream stream, DatabaseDialect dialect) throws java.io.IOException
MaterializedViewScriptGenerator
generateMaterializationTruncateScript
in interface MaterializedViewScriptGenerator
stream
- The stream that will contain all truncate scripts.dialect
- The type of RDBMS for which to generated the script.
java.io.IOException
MaterializedViewScriptGenerator.generateMaterializationTruncateScript(OutputStream, DatabaseDialect)
public void generateMaterializationLoadScript(java.io.OutputStream stream) throws java.io.IOException
MaterializedViewScriptGenerator
generateMaterializationLoadScript
in interface MaterializedViewScriptGenerator
stream
- The stream that will contain all load scripts.
java.io.IOException
- if an error occurs with the given stream or with any stream
used internally to help with scipt generation.MaterializedViewScriptGenerator.generateMaterializationLoadScript(OutputStream)
public void generateMaterializationSwapScript(java.io.OutputStream stream, DatabaseDialect dialect) throws java.io.IOException
MaterializedViewScriptGenerator
generateMaterializationSwapScript
in interface MaterializedViewScriptGenerator
stream
- The stream that will contain all rename scripts.dialect
- The type of RDBMS for which to generated the script.
java.io.IOException
- if an error occurs with the given stream or with any stream
used internally to help with scipt generation.MaterializedViewScriptGenerator.generateMaterializationSwapScript(OutputStream, DatabaseDialect)
public void generateMaterializationConnectionPropFile(java.io.OutputStream stream) throws java.io.IOException
MaterializedViewScriptGenerator
generateMaterializationConnectionPropFile
in interface MaterializedViewScriptGenerator
stream
- The stream that will contain the connection property file.
java.io.IOException
- if an error occurs with the given stream or with any stream
used internally to help with file generation.MaterializedViewScriptGenerator.generateMaterializationConnectionPropFile(java.io.OutputStream)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |