%Library.SQLExportMgr
class %Library.SQLExportMgr extends %Library.RegisteredObject, %Library.SQLExImData
Export Controller for SQL Export.Property Inventory
Method Inventory
- CloseExport()
- DeleteExportRoutine()
- Export()
- ExportRows()
- GenDataExpr()
- GenerateExportRoutine()
- GetExportSize()
- GetSample()
- OpenExport()
- Reset()
Parameters
parameter RTNPREFIX = SQLExport;
Properties
property IsExporting as %Boolean [ InitialExpression = 0 ];
Private flag set to True when export is underway.
Property methods: IsExportingDisplayToLogical(), IsExportingGet(), IsExportingIsValid(), IsExportingLogicalToDisplay(), IsExportingNormalize(), IsExportingSet()
Methods
method CloseExport() as %Status
Call this at the end of the export operation.
method DeleteExportRoutine() as %Status
Delete the generated export routine.
method Export(savertn As %Boolean = 0)
Do an export from the command line.
Exports the next rows rows to the export file.
On return, rows contains the number of rows exported
or 0 if the export is complete.
Compute and return the correct expression for column col.
colno is the number of the actual exported column (some columns may be skipped.
Generate the Export routine.
If sample is 1 then generate code that writes sample data to a local variable.
Returns the number of rows in the export table in rows.
Call this after generating an export routine.
Exports the first rows rows to a sample variable.
method OpenExport() as %Status
Prepares the start of an export.
Call this after generating an export routine.
method Reset()
Reset the state of this object.
Inherited Members
Inherited Properties
- ClassName
- ColumnNames
- ColumnTypes
- ColumnWidths
- DateFormat
- Delimiter
- FileName
- HasHeaders
- NoCheck
- StringQuote
- TableName
Inherited Methods
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()
- ResetExImData()