Class | Description |
---|---|
CharAtFunctionExtension |
charAt(string , index)
Returns the char value in 'string' at the specified 'index'.
|
CharFrequencyFunctionExtension |
Implementation for charFrequency.
|
CoalesceFunctionExtension |
coalesce(arg1,arg2,...,argN)
returns the value of the first of its input parameters that is not NULL
Accept Type(s): Arguments can be of any type, given that the argument count is more than zero and all the
arguments are of the same type.
|
ConcatFunctionExtension |
concat(string1, string2, ..., stringN)
Returns a string that is the result of concatenating two or more string values.
|
ContainsFunctionExtension |
contains(inputSequence, searchingSequence)
This method returns true if and only if this string contains the specified sequence of char values.
|
EqualsIgnoreCaseFunctionExtension |
equalsIgnoreCase(string, compareTo)
Compares two strings lexicographically.
|
FillTemplateFunctionExtension |
fillTemplate(string, replacement)
Replaces each substring of this string that matches the given expression with the given replacement.
|
GroupConcatFunctionExtension |
groupConcat(string1, 'separator', bool, 'ASC/DESC')
Returns concated string for all the events separated by the given separator.
|
HexFunctionExtension |
hex(a)
Returns a hexadecimal string representation of str,
where each byte of each character in str is converted to two hexadecimal digits.
|
LengthFunctionExtension |
length(string)
Returns the length of this string.
|
LocateFunctionExtension |
locate(string, strin)
Check the a particular string exists in a given string.
|
LowerFunctionExtension |
lower(string)
Converts the capital letters in the input string to the equivalent simple letters.
|
RegexpFunctionExtension |
regexp(string, regex)
Tells whether or not this 'string' matches the given regular expression 'regex'.
|
RepeatFunctionExtension |
repeat(string , times)
Repeats a string for a specified number of times.
|
ReplaceAllFunctionExtension |
replaceAll(string, regex, replacement)
Replaces each substring of this string that matches the given expression with the given replacement.
|
ReplaceFirstFunctionExtension |
replaceFirst(string, regex, replacement)
Replaces the first substring of this string that matches the given expression with the given replacement.
|
ReverseFunctionExtension |
reverse(string)
Returns the reverse ordered string of the input.
|
SplitFunctionExtension |
split(sourceText, splitCharacter, returnedOutputPosition)
Splits the source String by splitCharacter and return the string in the index given by returnedOutputPosition
Accept Type(s): (STRING, STRING, INT)
Return Type(s): STRING
|
StrcmpFunctionExtension |
strcmp(string, compareTo)
Compares two strings lexicographically.
|
SubstrFunctionExtension |
substr(sourceText, beginIndex) or substr(sourceText, beginIndex, length) or substr(sourceText, regex)
or substr(sourceText, regex, groupNumber)
Returns a new string that is a substring of this string.
|
TokenizeStreamProcessorExtension |
tokenize(sourceText, delimiter)
Tokenize the source String by delimiters and return as tokens.
Accept Type(s): (STRING, STRING)
Return Type(s): STRING
|
TrimFunctionExtension |
trim(string)
Returns a copy of the string, with leading and trailing whitespace omitted.
|
UnhexFunctionExtension |
unhex(str);
This is the equivalent of 'unhex' function in mysql 5.0
unhex(str) interprets each pair of characters in the argument as a hexadecimal number
and converts it to the byte represented by the number.
|
UpperFunctionExtension |
upper(string)
Converts the simple letters in the input string to the equivalent capital letters.
|
Copyright © 2020 WSO2. All rights reserved.