|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metamatrix.server.admin.apiimpl.MaterializationLoadScriptsImpl
public class MaterializationLoadScriptsImpl
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.metamatrix.server.admin.api.MaterializationLoadScripts |
---|
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. |
byte[] |
getConPropsFileContents()
|
byte[] |
getCreateFileContents()
|
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. |
byte[] |
getLoadFileContents()
|
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. |
byte[] |
getSwapFileContents()
|
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. |
byte[] |
getTruncateFileContents()
|
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. |
void |
setConnectionPropsFile(java.lang.String conPropsFileName,
byte[] conPropsFileContents)
|
void |
setCreateScript(java.lang.String fileName,
byte[] fileContents)
Add the named file contents. |
void |
setLoadScript(java.lang.String fileName,
byte[] fileContents)
Add the named file contents. |
void |
setSwapScript(java.lang.String fileName,
byte[] fileContents)
Add the named file contents. |
void |
setTruncateScript(java.lang.String fileName,
byte[] fileContents)
Add the named file contents. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public void setLoadScript(java.lang.String fileName, byte[] fileContents)
fileName
- The file name this file should have when written.fileContents
- The contents of the file that will be written.public java.io.InputStream getLoadScriptFile()
MaterializationLoadScripts
NOTE: Client is responsible for closing the stream.
getLoadScriptFile
in interface MaterializationLoadScripts
MaterializationLoadScripts.getLoadScriptFile()
public java.lang.String getLoadScriptFileName()
MaterializationLoadScripts
getLoadScriptFileName
in interface MaterializationLoadScripts
MaterializationLoadScripts.getLoadScriptFileName()
public void setSwapScript(java.lang.String fileName, byte[] fileContents)
fileName
- The file name this file should have when written.fileContents
- The contents of the file that will be written.public java.io.InputStream getSwapScriptFile()
MaterializationLoadScripts
NOTE: Client is responsible for closing the stream.
getSwapScriptFile
in interface MaterializationLoadScripts
MaterializationLoadScripts.getSwapScriptFile()
public java.lang.String getSwapScriptFileName()
MaterializationLoadScripts
getSwapScriptFileName
in interface MaterializationLoadScripts
MaterializationLoadScripts.getSwapScriptFileName()
public void setTruncateScript(java.lang.String fileName, byte[] fileContents)
fileName
- The file name this file should have when written.fileContents
- The contents of the file that will be written.public java.io.InputStream getTruncateScriptFile()
MaterializationLoadScripts
NOTE: Client is responsible for closing the stream.
getTruncateScriptFile
in interface MaterializationLoadScripts
MaterializationLoadScripts.getTruncateScriptFile()
public java.lang.String getTruncateScriptFileName()
MaterializationLoadScripts
getTruncateScriptFileName
in interface MaterializationLoadScripts
MaterializationLoadScripts.getTruncateScriptFileName()
public void setCreateScript(java.lang.String fileName, byte[] fileContents)
fileName
- The file name this file should have when written.fileContents
- The contents of the file that will be written.public java.io.InputStream getCreateScriptFile()
MaterializationLoadScripts
NOTE: Client is responsible for closing the stream.
getCreateScriptFile
in interface MaterializationLoadScripts
com.metamatrix.server.admin.api.MaterializationDDLScript#getCreateScriptFile()
public java.lang.String getCreateScriptFileName()
MaterializationLoadScripts
getCreateScriptFileName
in interface MaterializationLoadScripts
com.metamatrix.server.admin.api.MaterializationDDLScript#getCreateScriptFileName()
public java.io.InputStream getConnectionPropsFileContents()
MaterializationLoadScripts
getConnectionPropsFileContents
in interface MaterializationLoadScripts
public java.lang.String getConnectionPropsFileName()
MaterializationLoadScripts
getConnectionPropsFileName
in interface MaterializationLoadScripts
public void setConnectionPropsFile(java.lang.String conPropsFileName, byte[] conPropsFileContents)
conPropsFileName
- The conPropsFileName to set.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public byte[] getConPropsFileContents()
public byte[] getCreateFileContents()
public byte[] getLoadFileContents()
public byte[] getSwapFileContents()
public byte[] getTruncateFileContents()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |