%UnitTest.ESQL
hidden class %UnitTest.ESQL extends %Library.RegisteredObject, %UnitTest.Utility
The methods in this class are used by the SQLRegression class to execute SQL files using embedded SQL and return results in a stream. They are subject to change, and not intended to be called directly.Method Inventory
Methods
Execute MAC file containing embedded SQL and write output
Generate MAC and embed each SQL statement and compile MAC
A mac must be created for each sql statement
If name is not a legal MAC name, repair the name by removing offending characters
classmethod runESQL(sqlfilename As %String, verbose As %Boolean = 0, ByRef macs As %ListOfDataTypes = "") as %Stream
Execute sql from sql file against Cache Dynamic SQL and return results in a stream
If verbose is true, write verbose information to terminal
Insert each generated MAC name into macs
SQL statements are delimited by "####"
Method to verify name as a legal MAC name
Inherited Members
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()
- FindClass()
- Occurs()
- convertSQL()
- countCachedQuery()
- crossVerify()
- describe()
- diffData()
- diffExpectedByStream()
- diffPlan()
- genPlan()
- getColumn()
- getData()
- getFromPlan()
- getSqlCode()
- getSqlExec()
- ltrim()
- rewindLine()
- rtrim()
- stripChar()
- trim()
- typeNameByType()