Static Private Member Functions | |
_.Library.String | __AnalyseRangePattern (_.Library.String RangeText, _.Library.String LikeEscape) |
_.Library.Integer | __CompareStringPos2 (_.Library.Integer N1, _.Library.Integer N2, _.Library.List Tags) |
_.Library.Integer | __CompareStringPos3 (_.Library.Integer N1, _.Library.Integer N2, _.Library.Integer N3, _.Library.List Tags) |
_.Library.String | __ExtractRangeText (_.Library.String LikePattern, _.Library.String LikeEscape, _.Library.Integer Pos) |
_.Library.List | __ZLIKETOCOSPATTERNLIST (_.Library.String LikePattern, _.Library.String LikeEscape) |
Additional Inherited Members | |
![]() | |
_.Library.Status | OnAddToSaveSet (_.Library.Integer depth, _.Library.Integer insert, _.Library.Integer callcount) |
This callback method is invoked when the current object is added to the SaveSet,. More... | |
_.Library.Status | OnClose () |
This callback method is invoked by the <METHOD>Close</METHOD> method to. More... | |
_.Library.Status | OnConstructClone (_.Library.RegisteredObject object, _.Library.Boolean deep, _.Library.String cloned) |
This callback method is invoked by the <METHOD>ConstructClone</METHOD> method to. More... | |
_.Library.Status | OnNew () |
This callback method is invoked by the <METHOD>New</METHOD> method to. More... | |
_.Library.Status | OnValidateObject () |
This callback method is invoked by the <METHOD>ValidateObject</METHOD> method to. More... | |
![]() | |
CAPTION = None | |
Optional name used by the Form Wizard for a class when generating forms. More... | |
JAVATYPE = None | |
The Java type to be used when exported. | |
PROPERTYVALIDATION = None | |
This parameter controls the default validation behavior for the object. More... | |
|
staticprivate |
Given RangeText with what appeared between [..] with the escapes for LikeEscape and "-" intact
Return a COS pattern fragment which matches the range
|
static |
Implement CHARINDEX(tofind,findin[,startat])
|
staticprivate |
N1-N2 are COS string positions, 1-based and 0 means not found
If one of the positions is undisputedly earlier its tag is returned
otherwise return 0
|
staticprivate |
N1-N3 are COS string positions, 1-based and 0 means not found
If one of the positions is undisputedly earliest of the three its tag is returned
otherwise return 0
|
static |
Implement DATALENGTH(item)
|
staticprivate |
Given the position just after the "["
Return with the position just after the "]" - or after the end of the string if there is no "]"
Return the raw range text (with relevant escapes for "-" and the escape character itself still in place)
|
static |
Implement FLOOR for COS context
|
static |
Look for LookIn in LookFor starting at StartLook (defaults to 1)
If the string isn't found then 0 is returned
If the string is found then the 1-based offset to the start of LookFor in LookIn is returned
|
static |
Implement IFNULL(expr1,expr2[,expr3])
|
static |
Is the given value a stream id?
- if so: return 1 and set StreamOref
- otherwise: return 0 and set StreamOref to $$$NULLOREF
|
static |
Implement LEN for COS context
|
static |
Implement REPLACE(expr,old,new)
|
static |
Implement ROUND(number,length,function)
|
static |
Implement STUFF(sourcestring,startpos,replacelength,replacestring)
|
static |
Implement SUBSTRING(item, start, length)
|
static |
Implement bitwiseAND
|
static |
Implement bitwiseOR
|
static |
Implement bitwiseXOR
|
static |
Translate a TSQL error code to a SQLCODE
|
static |
Format a RAISERROR message with the given arguments
|
static |
Given a LIKE pattern and optional LIKE ESCAPE, return the corresponding COS pattern (non-SQL strings)
|
staticprivate |
Given a LIKE pattern and optional LIKE ESCAPE, return a list of top-level COS pattern elements
|
static |
Given a LIKE pattern and optional LIKE ESCAPE, return the corresponding COS pattern (SQL strings)
|
static |
PATINDEX for anything that isn't covered above (FB=fallback) - returns 0/1
- will not give the correct result for a pattern beginning with "%"
|
static |
PATINDEX for: literal - returns 0/1
|
static |
PATINDEX for: literal rest - returns 0/1
|
static |
PATINDEX for: percent literal - returns 0/position of literal
|
static |
PATINDEX for: percent literal rest - 0/returns position of literal
|
static |
PATINDEX for: percent non-literal - returns 0/position of non-literal
|
static |
PATINDEX for: underline(s) - returns 0/1
|
static |
PATINDEX for: underline(s) literal - returns 0/1
|
static |
PATINDEX for: underline(s) literal rest - returns 0/1
|
static |
Implement ZRAND(scalefactor)
|
static |
Implement ZREMAMPM(item) to remove the "AM" or "PM" if necessary
|
static |
PATINDEX for non-literal patterns
|
static |
PATINDEX for "%"+XXX+"%" patterns
|
static |
Implement ZWITHDATETIME(item) to append a date of 1/1/1900 and/or a time of midnight to the item if necessary