Class Hierarchy Previous Next Index
java.lang.Object | +----COM.cloudscape.tools.ImportExportImpl.ExportAbstract | +----COM.cloudscape.tools.FileExport
This class provides ways for exporting data from a table or a view into a file. There is another class in the same package which will import data from a file or an URL into a table.
This can be "run" within Cloudview, an SQL statement using ij, any Java application or command line. Documentation talks about all different ways in detail with examples.
public static void Export(java.sql.Connection con, java.lang.String entityName, java.lang.String outputFileName, java.lang.String controlFileName) throws java.lang.Exception
con
- The Cloudscape database connection URL for the database containing the table/view
entityName
- The name of the table or view from which you want to bulk export
the data, qualify the table name with the schema name, if it is
not in the default schema APP.
outputFileName
- The ASCII file into which data is exported
controlFileName
- The URL of the control file specifying the file format of the
ASCII file for the bulk export.
public static void Export(java.sql.Connection con, java.lang.String entityName, java.lang.String outputFileName) throws java.lang.Exception
con
- The Cloudscape database connection URL for the database containing the table/view
entityName
- The name of the table or view from which you want to bulk export
the data. Qualify the table name with the schema name, if it is
not in the default schema APP.
outputFileName
- The ASCII file into which data is exported
public static void main(java.lang.String args[]) throws java.lang.Exception
databaseConnectionURL
- The Cloudscape database connection URL for the database
containing the table/view
tableOrViewName
- The name of the table or view from which you want to bulk export
the data. Qualify the table name with the schema name, if it is
not in the default schema APP.
exportFile
- The ASCII file into which data is exported
protected COM.cloudscape.tools.ImportExportImpl.ControlFileReaderAbstract getControlFileReader() throws java.lang.Exception
protected boolean defaultControlFileReader() throws java.lang.Exception
protected COM.cloudscape.tools.ImportExportImpl.ExportWriteDataAbstract getExportWriteData() throws java.lang.Exception
protected static void ExportInit()
protected void ExportInitInstance()
Class Hierarchy Previous Next Index