|
2 | 2 | <operatorModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ibm.com/xmlns/prod/streams/spl/operator" xmlns:cmn="http://www.ibm.com/xmlns/prod/streams/spl/common" xsi:schemaLocation="http://www.ibm.com/xmlns/prod/streams/spl/operator operatorModel.xsd"> |
3 | 3 | <cppOperatorModel> |
4 | 4 | <context> |
5 | | - <description></description> |
| 5 | + <description> |
| 6 | +RegexMatch operator has three custom output functions: |
| 7 | +* RegexSimpleMatch performs a partial match and runs in interpretation mode (like SPL regexMatch function). |
| 8 | +* RegexPartialMatch performs a partial match and runs in compilation mode. |
| 9 | +* RegexFullMatch performs a full match and runs in compilation mode. |
| 10 | +</description> |
6 | 11 | <customOutputFunctions> |
7 | 12 | <customOutputFunction> |
8 | 13 | <name>RegexFS</name> |
9 | 14 | <function pseudoFunction="true"> |
10 | | - <description></description> |
| 15 | + <description>Assign value to the output attribute.</description> |
11 | 16 | <prototype><any T> T AsIs(T v)</prototype> |
12 | 17 | </function> |
13 | 18 | <function pseudoFunction="true"> |
14 | | - <description></description> |
| 19 | + <description>Tries to match the whole string with the pattern (defined as the operator parameter).</description> |
15 | 20 | <prototype>boolean RegexFullMatch(rstring str)</prototype> |
16 | 21 | </function> |
17 | 22 | <function pseudoFunction="true"> |
18 | | - <description></description> |
| 23 | + <description>Tries to match the whole string with the pattern.</description> |
19 | 24 | <prototype>boolean RegexFullMatch(rstring str, rstring pattern)</prototype> |
20 | 25 | </function> |
21 | 26 | <function pseudoFunction="true"> |
22 | | - <description></description> |
| 27 | + <description>Tries to match the string with the pattern (defined as the operator parameter).</description> |
23 | 28 | <prototype>boolean RegexPartialMatch(rstring str)</prototype> |
24 | 29 | </function> |
25 | 30 | <function pseudoFunction="true"> |
26 | | - <description></description> |
| 31 | + <description>Tries to match the string with the pattern.</description> |
27 | 32 | <prototype>boolean RegexPartialMatch(rstring str, rstring pattern)</prototype> |
28 | 33 | </function> |
29 | 34 | <function pseudoFunction="true"> |
30 | | - <description></description> |
| 35 | + <description>Tries to match the string with the pattern.</description> |
31 | 36 | <prototype>boolean RegexSimpleMatch(rstring str, rstring pattern)</prototype> |
32 | 37 | </function> |
33 | 38 | </customOutputFunction> |
|
51 | 56 | <allowAny>false</allowAny> |
52 | 57 | <parameter> |
53 | 58 | <name>pattern</name> |
54 | | - <description></description> |
| 59 | + <description>The optional 'rstring' parameter specifies the pattern to match.</description> |
55 | 60 | <optional>true</optional> |
56 | 61 | <rewriteAllowed>true</rewriteAllowed> |
57 | 62 | <expressionMode>AttributeFree</expressionMode> |
|
60 | 65 | </parameter> |
61 | 66 | <parameter> |
62 | 67 | <name>maxMemory</name> |
63 | | - <description></description> |
| 68 | + <description>The optional 'int64' parameter specifies maxMemory to allocate in bytes.</description> |
64 | 69 | <optional>true</optional> |
65 | 70 | <rewriteAllowed>true</rewriteAllowed> |
66 | 71 | <expressionMode>AttributeFree</expressionMode> |
|
69 | 74 | </parameter> |
70 | 75 | <parameter> |
71 | 76 | <name>logErrors</name> |
72 | | - <description></description> |
| 77 | + <description>The optional 'boolean' parameter specifies if error logging is enabled.</description> |
73 | 78 | <optional>true</optional> |
74 | 79 | <rewriteAllowed>true</rewriteAllowed> |
75 | 80 | <expressionMode>AttributeFree</expressionMode> |
|
79 | 84 | </parameters> |
80 | 85 | <inputPorts> |
81 | 86 | <inputPortSet> |
82 | | - <description/> |
| 87 | + <description>The RegexMatch operator is configurable with a single input port. The input port is non-mutating and its punctuation mode is Oblivious.</description> |
83 | 88 | <windowingDescription/> |
84 | 89 | <tupleMutationAllowed>false</tupleMutationAllowed> |
85 | 90 | <windowingMode>NonWindowed</windowingMode> |
|
90 | 95 | </inputPorts> |
91 | 96 | <outputPorts> |
92 | 97 | <outputPortSet> |
93 | | - <description/> |
| 98 | + <description>The RegexMatch operator is configurable with one output port. The output port is mutating and their punctuation mode is Preserving.</description> |
94 | 99 | <expressionMode>Expression</expressionMode> |
95 | 100 | <autoAssignment>true</autoAssignment> |
96 | 101 | <completeAssignment>true</completeAssignment> |
|
0 commit comments