@@ -18,55 +18,12 @@ Each operator/native function implements partial or full regex match.
1818* This toolkit embeds RE2 headers/libraries under impl/< include|lib> .
1919 </description >
2020 <uriTable >
21- <uri index =" 3" value =" com.ibm.streamsx.regex.re2/RegexMatchFused" />
22- <uri index =" 4" value =" com.ibm.streamsx.regex.re2/RegexMatch" />
21+ <uri index =" 3" value =" com.ibm.streamsx.regex.re2/RegexMatch" />
2322 <uri index =" 2" value =" com.ibm.streamsx.regex.re2/native.function/function.xml" />
2423 <uri index =" 1" value =" com.ibm.streamsx.regex.re2/Types.spl" />
2524 </uriTable >
2625 <namespace name =" com.ibm.streamsx.regex.re2" >
27- <primitiveOp language =" Cpp" modelUriIndex =" 3" name =" RegexMatchFused" public =" true" >
28- <description >
29- RegexMatchFused operator must run collocated with the calling operator.
30- The calling operator must have mutating output port (like Custom or Functor operators).
31-
32- Depending on regexFunction parameter value RegexMatchFused will run one of the following regex functions:
33- * regexSimpleMatch performs a partial match and runs in interpretation mode (like SPL regexMatch function).
34- * regexPartialMatch performs a partial match and runs in compilation mode.
35- * regexFullMatch performs a full match and runs in compilation mode.
36- </description >
37- <customLiterals name =" regexTypes" >
38- <value name =" regexFullMatch" />
39- <value name =" regexPartialMatch" />
40- <value name =" regexSimpleMatch" />
41- </customLiterals >
42- <parametersDescription />
43- <parameter cardinality =" 1" expressionMode =" Expression" name =" pattern" optional =" true" type =" rstring" >
44- <description >The optional 'rstring' parameter specifies the pattern to match.</description >
45- </parameter >
46- <parameter cardinality =" 1" expressionMode =" Expression" name =" maxMemory" optional =" true" type =" uint64" >
47- <description >The optional 'int64' parameter specifies maxMemory to allocate in bytes.</description >
48- </parameter >
49- <parameter cardinality =" 1" expressionMode =" Expression" name =" logErrors" optional =" true" type =" boolean" >
50- <description >The optional 'boolean' parameter specifies if error logging is enabled.</description >
51- </parameter >
52- <parameter cardinality =" 1" expressionMode =" CustomLiteral" name =" regexFunction" optional =" false" type =" regexTypes" >
53- <description >Mandatory 'regexTypes' custom literal parameter specifies which regex function to call.</description >
54- </parameter >
55- <parameter cardinality =" 1" expressionMode =" Attribute" name =" patternAttr" optional =" true" type =" rstring" >
56- <description >The optional 'attribute name' parameter specifies which input attribute holds the pattern to match.</description >
57- </parameter >
58- <parameter cardinality =" 1" expressionMode =" Attribute" name =" searchAttr" optional =" false" type =" rstring" >
59- <description >The mandatory 'attribute name' parameter specifies which input attribute holds the string to match.</description >
60- </parameter >
61- <parameter cardinality =" 1" expressionMode =" Attribute" name =" resultAttr" optional =" false" type =" boolean" >
62- <description >The mandatory 'attribute name' parameter specifies which input attribute gets the result.</description >
63- </parameter >
64- <inputPort maxNumPorts =" 1" minNumPorts =" 1" optional =" false" windowPunctInputMode =" Oblivious" >
65- <description >The RegexMatchFused operator is configurable with a single input port. The input port is mutating and its punctuation mode is Oblivious.</description >
66- <windowPolicy >NonWindowed</windowPolicy >
67- </inputPort >
68- </primitiveOp >
69- <primitiveOp language =" Cpp" modelUriIndex =" 4" name =" RegexMatch" public =" true" >
26+ <primitiveOp language =" Cpp" modelUriIndex =" 3" name =" RegexMatch" public =" true" >
7027 <description >
7128RegexMatch operator has three custom output functions:
7229* RegexSimpleMatch performs a partial match and runs in interpretation mode (like SPL regexMatch function).
0 commit comments