com.metamatrix.server.admin.api
Interface MaterializationLoadScripts

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
MaterializationLoadScriptsImpl

public interface MaterializationLoadScripts
extends java.io.Serializable

Contains all information nessecary to save the scripts that will be run by a MetaMatrix utility to load or refresh the data resident in a Materialized View.

Users should get the contents of each file and save each with the filename associated with it.

NOTE: Users should close the InputStream representing the file contents when finished.

Since:
4.2

Nested Class Summary
static interface MaterializationLoadScripts.DatabaseType
           
 
Method Summary
 java.io.InputStream getConnectionPropsFileContents()
          Get the contents of the connection properties file.
 java.lang.String getConnectionPropsFileName()
          Get the file name the connection properties should be named.
 java.io.InputStream getCreateScriptFile()
          Get a stream for the generated DDL script.
 java.lang.String getCreateScriptFileName()
          Get the file name the the DDL script should be named.
 java.io.InputStream getLoadScriptFile()
          Get a stream of the generated load script.
 java.lang.String getLoadScriptFileName()
          Get the file name the the load script should be named.
 java.io.InputStream getSwapScriptFile()
          Get a stream of the generated swap script.
 java.lang.String getSwapScriptFileName()
          Get the file name the the swap script should be named.
 java.io.InputStream getTruncateScriptFile()
          Get a stream of the generated truncate script.
 java.lang.String getTruncateScriptFileName()
          Get the file name the the truncate script should be named.
 

Method Detail

getTruncateScriptFile

java.io.InputStream getTruncateScriptFile()
Get a stream of the generated truncate script.

NOTE: Client is responsible for closing the stream.

Returns:
Truncate script.
Since:
4.2

getTruncateScriptFileName

java.lang.String getTruncateScriptFileName()
Get the file name the the truncate script should be named.

Returns:
Truncate script file name.
Since:
4.2

getLoadScriptFile

java.io.InputStream getLoadScriptFile()
Get a stream of the generated load script.

NOTE: Client is responsible for closing the stream.

Returns:
Load script
Since:
4.2

getLoadScriptFileName

java.lang.String getLoadScriptFileName()
Get the file name the the load script should be named.

Returns:
Load script file name.
Since:
4.2

getSwapScriptFile

java.io.InputStream getSwapScriptFile()
Get a stream of the generated swap script.

NOTE: Client is responsible for closing the stream.

Returns:
Since:
4.2

getSwapScriptFileName

java.lang.String getSwapScriptFileName()
Get the file name the the swap script should be named.

Returns:
Swap script file name.
Since:
4.2

getCreateScriptFile

java.io.InputStream getCreateScriptFile()
Get a stream for the generated DDL script.

NOTE: Client is responsible for closing the stream.

Returns:
DDL script.
Since:
4.2

getCreateScriptFileName

java.lang.String getCreateScriptFileName()
Get the file name the the DDL script should be named.

Returns:
DDL script file name.
Since:
4.2

getConnectionPropsFileContents

java.io.InputStream getConnectionPropsFileContents()
Get the contents of the connection properties file.

Returns:
Returns the connection properties file contents.
Since:
4.2

getConnectionPropsFileName

java.lang.String getConnectionPropsFileName()
Get the file name the connection properties should be named.

Returns:
Returns the connection properties file name.
Since:
4.2


Copyright © 2009. All Rights Reserved.