blob: 414d9b7329a342b45c2b74d05cc83ccaa25c779e [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_161-google-v7) on Thu Oct 18 16:14:33 PDT 2018 -->
<title>Regex (Apache Beam 2.8.0-SNAPSHOT)</title>
<meta name="date" content="2018-10-18">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Regex (Apache Beam 2.8.0-SNAPSHOT)";
}
}
catch(err) {
}
//-->
var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9,"i29":9,"i30":9,"i31":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/beam/sdk/transforms/Regex.AllMatches.html" title="class in org.apache.beam.sdk.transforms"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/beam/sdk/transforms/Regex.html" target="_top">Frames</a></li>
<li><a href="Regex.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.beam.sdk.transforms</div>
<h2 title="Class Regex" class="title">Class Regex</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.apache.beam.sdk.transforms.Regex</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">Regex</span>
extends java.lang.Object</pre>
<div class="block"><code>PTransorm</code>s to use Regular Expressions to process elements in a <a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values"><code>PCollection</code></a>.
<p><a href="../../../../../org/apache/beam/sdk/transforms/Regex.html#matches-java.lang.String-int-"><code>matches(String, int)</code></a> can be used to see if an entire line matches a Regex.
<a href="../../../../../org/apache/beam/sdk/transforms/Regex.html#matchesKV-java.lang.String-int-int-"><code>matchesKV(String, int, int)</code></a> can be used to see if an entire line matches a Regex
and output certain groups as a <a href="../../../../../org/apache/beam/sdk/values/KV.html" title="class in org.apache.beam.sdk.values"><code>KV</code></a>.
<p><a href="../../../../../org/apache/beam/sdk/transforms/Regex.html#find-java.lang.String-int-"><code>find(String, int)</code></a> can be used to see if a portion of a line matches a Regex.
<a href="../../../../../org/apache/beam/sdk/transforms/Regex.html#matchesKV-java.lang.String-int-int-"><code>matchesKV(String, int, int)</code></a> can be used to see if a portion of a line matches a
Regex and output certain groups as a <a href="../../../../../org/apache/beam/sdk/values/KV.html" title="class in org.apache.beam.sdk.values"><code>KV</code></a>.
<p>Lines that do not match the Regex will not be output.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.AllMatches.html" title="class in org.apache.beam.sdk.transforms">Regex.AllMatches</a></span></code>
<div class="block"><code>Regex.MatchesName&lt;String&gt;</code> takes a <code>PCollection&lt;String&gt;</code> and returns a <code>PCollection&lt;List&lt;String&gt;&gt;</code> representing the value extracted from all the Regex groups of the
input <code>PCollection</code> to the number of times that element occurs in the input.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.Find.html" title="class in org.apache.beam.sdk.transforms">Regex.Find</a></span></code>
<div class="block"><code>Regex.Find&lt;String&gt;</code> takes a <code>PCollection&lt;String&gt;</code> and returns a <code>PCollection&lt;String&gt;</code> representing the value extracted from the Regex groups of the input <code>PCollection</code> to the number of times that element occurs in the input.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.FindAll.html" title="class in org.apache.beam.sdk.transforms">Regex.FindAll</a></span></code>
<div class="block"><code>Regex.Find&lt;String&gt;</code> takes a <code>PCollection&lt;String&gt;</code> and returns a <code>PCollection&lt;List&lt;String&gt;&gt;</code> representing the value extracted from the Regex groups of the input
<code>PCollection</code> to the number of times that element occurs in the input.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.FindKV.html" title="class in org.apache.beam.sdk.transforms">Regex.FindKV</a></span></code>
<div class="block"><code>Regex.MatchesKV&lt;KV&lt;String, String&gt;&gt;</code> takes a <code>PCollection&lt;String&gt;</code> and returns a
<code>PCollection&lt;KV&lt;String, String&gt;&gt;</code> representing the key and value extracted from the Regex
groups of the input <code>PCollection</code> to the number of times that element occurs in the
input.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.FindName.html" title="class in org.apache.beam.sdk.transforms">Regex.FindName</a></span></code>
<div class="block"><code>Regex.Find&lt;String&gt;</code> takes a <code>PCollection&lt;String&gt;</code> and returns a <code>PCollection&lt;String&gt;</code> representing the value extracted from the Regex groups of the input <code>PCollection</code> to the number of times that element occurs in the input.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.FindNameKV.html" title="class in org.apache.beam.sdk.transforms">Regex.FindNameKV</a></span></code>
<div class="block"><code>Regex.MatchesKV&lt;KV&lt;String, String&gt;&gt;</code> takes a <code>PCollection&lt;String&gt;</code> and returns a
<code>PCollection&lt;KV&lt;String, String&gt;&gt;</code> representing the key and value extracted from the Regex
groups of the input <code>PCollection</code> to the number of times that element occurs in the
input.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.Matches.html" title="class in org.apache.beam.sdk.transforms">Regex.Matches</a></span></code>
<div class="block"><code>Regex.Matches&lt;String&gt;</code> takes a <code>PCollection&lt;String&gt;</code> and returns a <code>PCollection&lt;String&gt;</code> representing the value extracted from the Regex groups of the input <code>PCollection</code> to the number of times that element occurs in the input.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.MatchesKV.html" title="class in org.apache.beam.sdk.transforms">Regex.MatchesKV</a></span></code>
<div class="block"><code>Regex.MatchesKV&lt;KV&lt;String, String&gt;&gt;</code> takes a <code>PCollection&lt;String&gt;</code> and returns a
<code>PCollection&lt;KV&lt;String, String&gt;&gt;</code> representing the key and value extracted from the Regex
groups of the input <code>PCollection</code> to the number of times that element occurs in the
input.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.MatchesName.html" title="class in org.apache.beam.sdk.transforms">Regex.MatchesName</a></span></code>
<div class="block"><code>Regex.MatchesName&lt;String&gt;</code> takes a <code>PCollection&lt;String&gt;</code> and returns a <code>PCollection&lt;String&gt;</code> representing the value extracted from the Regex groups of the input <code>PCollection</code> to the number of times that element occurs in the input.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.MatchesNameKV.html" title="class in org.apache.beam.sdk.transforms">Regex.MatchesNameKV</a></span></code>
<div class="block"><code>Regex.MatchesNameKV&lt;KV&lt;String, String&gt;&gt;</code> takes a <code>PCollection&lt;String&gt;</code> and returns
a <code>PCollection&lt;KV&lt;String, String&gt;&gt;</code> representing the key and value extracted from the
Regex groups of the input <code>PCollection</code> to the number of times that element occurs in the
input.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.ReplaceAll.html" title="class in org.apache.beam.sdk.transforms">Regex.ReplaceAll</a></span></code>
<div class="block"><code>Regex.ReplaceAll&lt;String&gt;</code> takes a <code>PCollection&lt;String&gt;</code> and returns a <code>PCollection&lt;String&gt;</code> with all Strings that matched the Regex being replaced with the
replacement string.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.ReplaceFirst.html" title="class in org.apache.beam.sdk.transforms">Regex.ReplaceFirst</a></span></code>
<div class="block"><code>Regex.ReplaceFirst&lt;String&gt;</code> takes a <code>PCollection&lt;String&gt;</code> and returns a <code>PCollection&lt;String&gt;</code> with the first Strings that matched the Regex being replaced with the
replacement string.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.Split.html" title="class in org.apache.beam.sdk.transforms">Regex.Split</a></span></code>
<div class="block"><code>Regex.Split&lt;String&gt;</code> takes a <code>PCollection&lt;String&gt;</code> and returns a <code>PCollection&lt;String&gt;</code> with the input string split into individual items in a list.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/beam/sdk/transforms/Regex.AllMatches.html" title="class in org.apache.beam.sdk.transforms">Regex.AllMatches</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.html#allMatches-java.util.regex.Pattern-">allMatches</a></span>(java.util.regex.Pattern&nbsp;pattern)</code>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.AllMatches.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.AllMatches</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if the entire line matches
the Regex.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/beam/sdk/transforms/Regex.AllMatches.html" title="class in org.apache.beam.sdk.transforms">Regex.AllMatches</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.html#allMatches-java.lang.String-">allMatches</a></span>(java.lang.String&nbsp;regex)</code>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.AllMatches.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.AllMatches</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if the entire line matches
the Regex.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/beam/sdk/transforms/Regex.Find.html" title="class in org.apache.beam.sdk.transforms">Regex.Find</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.html#find-java.util.regex.Pattern-">find</a></span>(java.util.regex.Pattern&nbsp;pattern)</code>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.Find.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.Find</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if a portion of the line matches
the Regex.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/beam/sdk/transforms/Regex.Find.html" title="class in org.apache.beam.sdk.transforms">Regex.Find</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.html#find-java.util.regex.Pattern-int-">find</a></span>(java.util.regex.Pattern&nbsp;pattern,
int&nbsp;group)</code>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.Find.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.Find</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if a portion of the line matches
the Regex.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/beam/sdk/transforms/Regex.FindName.html" title="class in org.apache.beam.sdk.transforms">Regex.FindName</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.html#find-java.util.regex.Pattern-java.lang.String-">find</a></span>(java.util.regex.Pattern&nbsp;pattern,
java.lang.String&nbsp;groupName)</code>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.FindName.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.FindName</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if a portion of the line
matches the Regex.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/beam/sdk/transforms/Regex.Find.html" title="class in org.apache.beam.sdk.transforms">Regex.Find</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.html#find-java.lang.String-">find</a></span>(java.lang.String&nbsp;regex)</code>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.Find.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.Find</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if a portion of the line matches
the Regex.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/beam/sdk/transforms/Regex.Find.html" title="class in org.apache.beam.sdk.transforms">Regex.Find</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.html#find-java.lang.String-int-">find</a></span>(java.lang.String&nbsp;regex,
int&nbsp;group)</code>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.Find.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.Find</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if a portion of the line matches
the Regex.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/beam/sdk/transforms/Regex.FindName.html" title="class in org.apache.beam.sdk.transforms">Regex.FindName</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.html#find-java.lang.String-java.lang.String-">find</a></span>(java.lang.String&nbsp;regex,
java.lang.String&nbsp;groupName)</code>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.FindName.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.FindName</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if a portion of the line
matches the Regex.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/beam/sdk/transforms/Regex.FindAll.html" title="class in org.apache.beam.sdk.transforms">Regex.FindAll</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.html#findAll-java.util.regex.Pattern-">findAll</a></span>(java.util.regex.Pattern&nbsp;pattern)</code>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.FindAll.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.FindAll</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if a portion of the line matches
the Regex.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/beam/sdk/transforms/Regex.FindAll.html" title="class in org.apache.beam.sdk.transforms">Regex.FindAll</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.html#findAll-java.lang.String-">findAll</a></span>(java.lang.String&nbsp;regex)</code>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.FindAll.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.FindAll</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if a portion of the line matches
the Regex.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/beam/sdk/transforms/Regex.FindKV.html" title="class in org.apache.beam.sdk.transforms">Regex.FindKV</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.html#findKV-java.util.regex.Pattern-int-int-">findKV</a></span>(java.util.regex.Pattern&nbsp;pattern,
int&nbsp;keyGroup,
int&nbsp;valueGroup)</code>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.FindKV.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.FindKV</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if a portion of the line matches
the Regex.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/beam/sdk/transforms/Regex.FindNameKV.html" title="class in org.apache.beam.sdk.transforms">Regex.FindNameKV</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.html#findKV-java.util.regex.Pattern-java.lang.String-java.lang.String-">findKV</a></span>(java.util.regex.Pattern&nbsp;pattern,
java.lang.String&nbsp;keyGroupName,
java.lang.String&nbsp;valueGroupName)</code>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.FindNameKV.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.FindNameKV</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if a portion of the line
matches the Regex.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/beam/sdk/transforms/Regex.FindKV.html" title="class in org.apache.beam.sdk.transforms">Regex.FindKV</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.html#findKV-java.lang.String-int-int-">findKV</a></span>(java.lang.String&nbsp;regex,
int&nbsp;keyGroup,
int&nbsp;valueGroup)</code>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.FindKV.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.FindKV</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if a portion of the line matches
the Regex.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/beam/sdk/transforms/Regex.FindNameKV.html" title="class in org.apache.beam.sdk.transforms">Regex.FindNameKV</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.html#findKV-java.lang.String-java.lang.String-java.lang.String-">findKV</a></span>(java.lang.String&nbsp;regex,
java.lang.String&nbsp;keyGroupName,
java.lang.String&nbsp;valueGroupName)</code>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.FindNameKV.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.FindNameKV</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if a portion of the line
matches the Regex.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/beam/sdk/transforms/Regex.Matches.html" title="class in org.apache.beam.sdk.transforms">Regex.Matches</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.html#matches-java.util.regex.Pattern-">matches</a></span>(java.util.regex.Pattern&nbsp;pattern)</code>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.Matches.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.Matches</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if the entire line matches the
Regex.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/beam/sdk/transforms/Regex.Matches.html" title="class in org.apache.beam.sdk.transforms">Regex.Matches</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.html#matches-java.util.regex.Pattern-int-">matches</a></span>(java.util.regex.Pattern&nbsp;pattern,
int&nbsp;group)</code>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.Matches.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.Matches</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if the entire line matches the
Regex.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/beam/sdk/transforms/Regex.MatchesName.html" title="class in org.apache.beam.sdk.transforms">Regex.MatchesName</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.html#matches-java.util.regex.Pattern-java.lang.String-">matches</a></span>(java.util.regex.Pattern&nbsp;pattern,
java.lang.String&nbsp;groupName)</code>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.MatchesName.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.MatchesName</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if the entire line matches
the Regex.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/beam/sdk/transforms/Regex.Matches.html" title="class in org.apache.beam.sdk.transforms">Regex.Matches</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.html#matches-java.lang.String-">matches</a></span>(java.lang.String&nbsp;regex)</code>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.Matches.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.Matches</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if the entire line matches the
Regex.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/beam/sdk/transforms/Regex.Matches.html" title="class in org.apache.beam.sdk.transforms">Regex.Matches</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.html#matches-java.lang.String-int-">matches</a></span>(java.lang.String&nbsp;regex,
int&nbsp;group)</code>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.Matches.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.Matches</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if the entire line matches the
Regex.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/beam/sdk/transforms/Regex.MatchesName.html" title="class in org.apache.beam.sdk.transforms">Regex.MatchesName</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.html#matches-java.lang.String-java.lang.String-">matches</a></span>(java.lang.String&nbsp;regex,
java.lang.String&nbsp;groupName)</code>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.MatchesName.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.MatchesName</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if the entire line matches
the Regex.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/beam/sdk/transforms/Regex.MatchesKV.html" title="class in org.apache.beam.sdk.transforms">Regex.MatchesKV</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.html#matchesKV-java.util.regex.Pattern-int-int-">matchesKV</a></span>(java.util.regex.Pattern&nbsp;pattern,
int&nbsp;keyGroup,
int&nbsp;valueGroup)</code>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.MatchesKV.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.MatchesKV</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if the entire line matches the
Regex.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/beam/sdk/transforms/Regex.MatchesNameKV.html" title="class in org.apache.beam.sdk.transforms">Regex.MatchesNameKV</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.html#matchesKV-java.util.regex.Pattern-java.lang.String-java.lang.String-">matchesKV</a></span>(java.util.regex.Pattern&nbsp;pattern,
java.lang.String&nbsp;keyGroupName,
java.lang.String&nbsp;valueGroupName)</code>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.MatchesNameKV.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.MatchesNameKV</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if the entire line matches
the Regex.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/beam/sdk/transforms/Regex.MatchesKV.html" title="class in org.apache.beam.sdk.transforms">Regex.MatchesKV</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.html#matchesKV-java.lang.String-int-int-">matchesKV</a></span>(java.lang.String&nbsp;regex,
int&nbsp;keyGroup,
int&nbsp;valueGroup)</code>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.MatchesKV.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.MatchesKV</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if the entire line matches the
Regex.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/beam/sdk/transforms/Regex.MatchesNameKV.html" title="class in org.apache.beam.sdk.transforms">Regex.MatchesNameKV</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.html#matchesKV-java.lang.String-java.lang.String-java.lang.String-">matchesKV</a></span>(java.lang.String&nbsp;regex,
java.lang.String&nbsp;keyGroupName,
java.lang.String&nbsp;valueGroupName)</code>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.MatchesNameKV.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.MatchesNameKV</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if the entire line matches
the Regex.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/beam/sdk/transforms/Regex.ReplaceAll.html" title="class in org.apache.beam.sdk.transforms">Regex.ReplaceAll</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.html#replaceAll-java.util.regex.Pattern-java.lang.String-">replaceAll</a></span>(java.util.regex.Pattern&nbsp;pattern,
java.lang.String&nbsp;replacement)</code>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.ReplaceAll.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.ReplaceAll</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if a portion of the line
matches the Regex and replaces all matches with the replacement String.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/beam/sdk/transforms/Regex.ReplaceAll.html" title="class in org.apache.beam.sdk.transforms">Regex.ReplaceAll</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.html#replaceAll-java.lang.String-java.lang.String-">replaceAll</a></span>(java.lang.String&nbsp;regex,
java.lang.String&nbsp;replacement)</code>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.ReplaceAll.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.ReplaceAll</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if a portion of the line
matches the Regex and replaces all matches with the replacement String.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/beam/sdk/transforms/Regex.ReplaceFirst.html" title="class in org.apache.beam.sdk.transforms">Regex.ReplaceFirst</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.html#replaceFirst-java.util.regex.Pattern-java.lang.String-">replaceFirst</a></span>(java.util.regex.Pattern&nbsp;pattern,
java.lang.String&nbsp;replacement)</code>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.ReplaceAll.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.ReplaceAll</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if a portion of the line
matches the Regex and replaces the first match with the replacement String.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/beam/sdk/transforms/Regex.ReplaceFirst.html" title="class in org.apache.beam.sdk.transforms">Regex.ReplaceFirst</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.html#replaceFirst-java.lang.String-java.lang.String-">replaceFirst</a></span>(java.lang.String&nbsp;regex,
java.lang.String&nbsp;replacement)</code>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.ReplaceAll.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.ReplaceAll</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if a portion of the line
matches the Regex and replaces the first match with the replacement String.</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/beam/sdk/transforms/Regex.Split.html" title="class in org.apache.beam.sdk.transforms">Regex.Split</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.html#split-java.util.regex.Pattern-">split</a></span>(java.util.regex.Pattern&nbsp;pattern)</code>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.Split.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.Split</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that splits a string on the regular expression
and then outputs each item.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/beam/sdk/transforms/Regex.Split.html" title="class in org.apache.beam.sdk.transforms">Regex.Split</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.html#split-java.util.regex.Pattern-boolean-">split</a></span>(java.util.regex.Pattern&nbsp;pattern,
boolean&nbsp;outputEmpty)</code>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.Split.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.Split</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that splits a string on the regular expression
and then outputs each item.</div>
</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/beam/sdk/transforms/Regex.Split.html" title="class in org.apache.beam.sdk.transforms">Regex.Split</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.html#split-java.lang.String-">split</a></span>(java.lang.String&nbsp;regex)</code>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.Split.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.Split</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that splits a string on the regular expression
and then outputs each item.</div>
</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/beam/sdk/transforms/Regex.Split.html" title="class in org.apache.beam.sdk.transforms">Regex.Split</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/transforms/Regex.html#split-java.lang.String-boolean-">split</a></span>(java.lang.String&nbsp;regex,
boolean&nbsp;outputEmpty)</code>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.Split.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.Split</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that splits a string on the regular expression
and then outputs each item.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="matches-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>matches</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/beam/sdk/transforms/Regex.Matches.html" title="class in org.apache.beam.sdk.transforms">Regex.Matches</a>&nbsp;matches(java.lang.String&nbsp;regex)</pre>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.Matches.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.Matches</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if the entire line matches the
Regex. Returns the entire line (group 0) as a <a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values"><code>PCollection</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>regex</code> - The regular expression to run</dd>
</dl>
</li>
</ul>
<a name="matches-java.util.regex.Pattern-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>matches</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/beam/sdk/transforms/Regex.Matches.html" title="class in org.apache.beam.sdk.transforms">Regex.Matches</a>&nbsp;matches(java.util.regex.Pattern&nbsp;pattern)</pre>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.Matches.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.Matches</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if the entire line matches the
Regex. Returns the entire line (group 0) as a <a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values"><code>PCollection</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pattern</code> - The regular expression to run</dd>
</dl>
</li>
</ul>
<a name="matches-java.lang.String-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>matches</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/beam/sdk/transforms/Regex.Matches.html" title="class in org.apache.beam.sdk.transforms">Regex.Matches</a>&nbsp;matches(java.lang.String&nbsp;regex,
int&nbsp;group)</pre>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.Matches.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.Matches</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if the entire line matches the
Regex. Returns the group as a <a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values"><code>PCollection</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>regex</code> - The regular expression to run</dd>
<dd><code>group</code> - The Regex group to return as a PCollection</dd>
</dl>
</li>
</ul>
<a name="matches-java.util.regex.Pattern-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>matches</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/beam/sdk/transforms/Regex.Matches.html" title="class in org.apache.beam.sdk.transforms">Regex.Matches</a>&nbsp;matches(java.util.regex.Pattern&nbsp;pattern,
int&nbsp;group)</pre>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.Matches.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.Matches</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if the entire line matches the
Regex. Returns the group as a <a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values"><code>PCollection</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pattern</code> - The regular expression to run</dd>
<dd><code>group</code> - The Regex group to return as a PCollection</dd>
</dl>
</li>
</ul>
<a name="matches-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>matches</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/beam/sdk/transforms/Regex.MatchesName.html" title="class in org.apache.beam.sdk.transforms">Regex.MatchesName</a>&nbsp;matches(java.lang.String&nbsp;regex,
java.lang.String&nbsp;groupName)</pre>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.MatchesName.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.MatchesName</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if the entire line matches
the Regex. Returns the group as a <a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values"><code>PCollection</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>regex</code> - The regular expression to run</dd>
<dd><code>groupName</code> - The Regex group name to return as a PCollection</dd>
</dl>
</li>
</ul>
<a name="matches-java.util.regex.Pattern-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>matches</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/beam/sdk/transforms/Regex.MatchesName.html" title="class in org.apache.beam.sdk.transforms">Regex.MatchesName</a>&nbsp;matches(java.util.regex.Pattern&nbsp;pattern,
java.lang.String&nbsp;groupName)</pre>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.MatchesName.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.MatchesName</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if the entire line matches
the Regex. Returns the group as a <a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values"><code>PCollection</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pattern</code> - The regular expression to run</dd>
<dd><code>groupName</code> - The Regex group name to return as a PCollection</dd>
</dl>
</li>
</ul>
<a name="allMatches-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>allMatches</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/beam/sdk/transforms/Regex.AllMatches.html" title="class in org.apache.beam.sdk.transforms">Regex.AllMatches</a>&nbsp;allMatches(java.lang.String&nbsp;regex)</pre>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.AllMatches.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.AllMatches</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if the entire line matches
the Regex. Returns all groups as a List&lt;String&gt; in a <a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values"><code>PCollection</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>regex</code> - The regular expression to run</dd>
</dl>
</li>
</ul>
<a name="allMatches-java.util.regex.Pattern-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>allMatches</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/beam/sdk/transforms/Regex.AllMatches.html" title="class in org.apache.beam.sdk.transforms">Regex.AllMatches</a>&nbsp;allMatches(java.util.regex.Pattern&nbsp;pattern)</pre>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.AllMatches.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.AllMatches</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if the entire line matches
the Regex. Returns all groups as a List&lt;String&gt; in a <a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values"><code>PCollection</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pattern</code> - The regular expression to run</dd>
</dl>
</li>
</ul>
<a name="matchesKV-java.lang.String-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>matchesKV</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/beam/sdk/transforms/Regex.MatchesKV.html" title="class in org.apache.beam.sdk.transforms">Regex.MatchesKV</a>&nbsp;matchesKV(java.lang.String&nbsp;regex,
int&nbsp;keyGroup,
int&nbsp;valueGroup)</pre>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.MatchesKV.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.MatchesKV</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if the entire line matches the
Regex. Returns the specified groups as the key and value as a <a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values"><code>PCollection</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>regex</code> - The regular expression to run</dd>
<dd><code>keyGroup</code> - The Regex group to use as the key</dd>
<dd><code>valueGroup</code> - The Regex group to use the value</dd>
</dl>
</li>
</ul>
<a name="matchesKV-java.util.regex.Pattern-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>matchesKV</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/beam/sdk/transforms/Regex.MatchesKV.html" title="class in org.apache.beam.sdk.transforms">Regex.MatchesKV</a>&nbsp;matchesKV(java.util.regex.Pattern&nbsp;pattern,
int&nbsp;keyGroup,
int&nbsp;valueGroup)</pre>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.MatchesKV.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.MatchesKV</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if the entire line matches the
Regex. Returns the specified groups as the key and value as a <a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values"><code>PCollection</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pattern</code> - The regular expression to run</dd>
<dd><code>keyGroup</code> - The Regex group to use as the key</dd>
<dd><code>valueGroup</code> - The Regex group to use the value</dd>
</dl>
</li>
</ul>
<a name="matchesKV-java.lang.String-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>matchesKV</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/beam/sdk/transforms/Regex.MatchesNameKV.html" title="class in org.apache.beam.sdk.transforms">Regex.MatchesNameKV</a>&nbsp;matchesKV(java.lang.String&nbsp;regex,
java.lang.String&nbsp;keyGroupName,
java.lang.String&nbsp;valueGroupName)</pre>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.MatchesNameKV.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.MatchesNameKV</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if the entire line matches
the Regex. Returns the specified groups as the key and value as a <a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values"><code>PCollection</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>regex</code> - The regular expression to run</dd>
<dd><code>keyGroupName</code> - The Regex group name to use as the key</dd>
<dd><code>valueGroupName</code> - The Regex group name to use the value</dd>
</dl>
</li>
</ul>
<a name="matchesKV-java.util.regex.Pattern-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>matchesKV</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/beam/sdk/transforms/Regex.MatchesNameKV.html" title="class in org.apache.beam.sdk.transforms">Regex.MatchesNameKV</a>&nbsp;matchesKV(java.util.regex.Pattern&nbsp;pattern,
java.lang.String&nbsp;keyGroupName,
java.lang.String&nbsp;valueGroupName)</pre>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.MatchesNameKV.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.MatchesNameKV</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if the entire line matches
the Regex. Returns the specified groups as the key and value as a <a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values"><code>PCollection</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pattern</code> - The regular expression to run</dd>
<dd><code>keyGroupName</code> - The Regex group name to use as the key</dd>
<dd><code>valueGroupName</code> - The Regex group name to use the value</dd>
</dl>
</li>
</ul>
<a name="find-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>find</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/beam/sdk/transforms/Regex.Find.html" title="class in org.apache.beam.sdk.transforms">Regex.Find</a>&nbsp;find(java.lang.String&nbsp;regex)</pre>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.Find.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.Find</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if a portion of the line matches
the Regex. Returns the entire line (group 0) as a <a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values"><code>PCollection</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>regex</code> - The regular expression to run</dd>
</dl>
</li>
</ul>
<a name="find-java.util.regex.Pattern-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>find</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/beam/sdk/transforms/Regex.Find.html" title="class in org.apache.beam.sdk.transforms">Regex.Find</a>&nbsp;find(java.util.regex.Pattern&nbsp;pattern)</pre>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.Find.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.Find</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if a portion of the line matches
the Regex. Returns the entire line (group 0) as a <a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values"><code>PCollection</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pattern</code> - The regular expression to run</dd>
</dl>
</li>
</ul>
<a name="find-java.lang.String-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>find</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/beam/sdk/transforms/Regex.Find.html" title="class in org.apache.beam.sdk.transforms">Regex.Find</a>&nbsp;find(java.lang.String&nbsp;regex,
int&nbsp;group)</pre>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.Find.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.Find</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if a portion of the line matches
the Regex. Returns the group as a <a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values"><code>PCollection</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>regex</code> - The regular expression to run</dd>
<dd><code>group</code> - The Regex group to return as a PCollection</dd>
</dl>
</li>
</ul>
<a name="find-java.util.regex.Pattern-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>find</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/beam/sdk/transforms/Regex.Find.html" title="class in org.apache.beam.sdk.transforms">Regex.Find</a>&nbsp;find(java.util.regex.Pattern&nbsp;pattern,
int&nbsp;group)</pre>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.Find.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.Find</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if a portion of the line matches
the Regex. Returns the group as a <a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values"><code>PCollection</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pattern</code> - The regular expression to run</dd>
<dd><code>group</code> - The Regex group to return as a PCollection</dd>
</dl>
</li>
</ul>
<a name="find-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>find</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/beam/sdk/transforms/Regex.FindName.html" title="class in org.apache.beam.sdk.transforms">Regex.FindName</a>&nbsp;find(java.lang.String&nbsp;regex,
java.lang.String&nbsp;groupName)</pre>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.FindName.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.FindName</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if a portion of the line
matches the Regex. Returns the group as a <a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values"><code>PCollection</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>regex</code> - The regular expression to run</dd>
<dd><code>groupName</code> - The Regex group name to return as a PCollection</dd>
</dl>
</li>
</ul>
<a name="find-java.util.regex.Pattern-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>find</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/beam/sdk/transforms/Regex.FindName.html" title="class in org.apache.beam.sdk.transforms">Regex.FindName</a>&nbsp;find(java.util.regex.Pattern&nbsp;pattern,
java.lang.String&nbsp;groupName)</pre>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.FindName.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.FindName</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if a portion of the line
matches the Regex. Returns the group as a <a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values"><code>PCollection</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pattern</code> - The regular expression to run</dd>
<dd><code>groupName</code> - The Regex group name to return as a PCollection</dd>
</dl>
</li>
</ul>
<a name="findAll-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>findAll</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/beam/sdk/transforms/Regex.FindAll.html" title="class in org.apache.beam.sdk.transforms">Regex.FindAll</a>&nbsp;findAll(java.lang.String&nbsp;regex)</pre>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.FindAll.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.FindAll</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if a portion of the line matches
the Regex. Returns all the groups as a List&lt;String&gt; in a <a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values"><code>PCollection</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>regex</code> - The regular expression to run</dd>
</dl>
</li>
</ul>
<a name="findAll-java.util.regex.Pattern-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>findAll</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/beam/sdk/transforms/Regex.FindAll.html" title="class in org.apache.beam.sdk.transforms">Regex.FindAll</a>&nbsp;findAll(java.util.regex.Pattern&nbsp;pattern)</pre>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.FindAll.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.FindAll</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if a portion of the line matches
the Regex. Returns all the groups as a List&lt;String&gt; in a <a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values"><code>PCollection</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pattern</code> - The regular expression to run</dd>
</dl>
</li>
</ul>
<a name="findKV-java.lang.String-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>findKV</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/beam/sdk/transforms/Regex.FindKV.html" title="class in org.apache.beam.sdk.transforms">Regex.FindKV</a>&nbsp;findKV(java.lang.String&nbsp;regex,
int&nbsp;keyGroup,
int&nbsp;valueGroup)</pre>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.FindKV.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.FindKV</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if a portion of the line matches
the Regex. Returns the specified groups as the key and value as a <a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values"><code>PCollection</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>regex</code> - The regular expression to run</dd>
<dd><code>keyGroup</code> - The Regex group to use as the key</dd>
<dd><code>valueGroup</code> - The Regex group to use the value</dd>
</dl>
</li>
</ul>
<a name="findKV-java.util.regex.Pattern-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>findKV</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/beam/sdk/transforms/Regex.FindKV.html" title="class in org.apache.beam.sdk.transforms">Regex.FindKV</a>&nbsp;findKV(java.util.regex.Pattern&nbsp;pattern,
int&nbsp;keyGroup,
int&nbsp;valueGroup)</pre>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.FindKV.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.FindKV</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if a portion of the line matches
the Regex. Returns the specified groups as the key and value as a <a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values"><code>PCollection</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pattern</code> - The regular expression to run</dd>
<dd><code>keyGroup</code> - The Regex group to use as the key</dd>
<dd><code>valueGroup</code> - The Regex group to use the value</dd>
</dl>
</li>
</ul>
<a name="findKV-java.lang.String-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>findKV</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/beam/sdk/transforms/Regex.FindNameKV.html" title="class in org.apache.beam.sdk.transforms">Regex.FindNameKV</a>&nbsp;findKV(java.lang.String&nbsp;regex,
java.lang.String&nbsp;keyGroupName,
java.lang.String&nbsp;valueGroupName)</pre>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.FindNameKV.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.FindNameKV</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if a portion of the line
matches the Regex. Returns the specified groups as the key and value as a <a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values"><code>PCollection</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>regex</code> - The regular expression to run</dd>
<dd><code>keyGroupName</code> - The Regex group name to use as the key</dd>
<dd><code>valueGroupName</code> - The Regex group name to use the value</dd>
</dl>
</li>
</ul>
<a name="findKV-java.util.regex.Pattern-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>findKV</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/beam/sdk/transforms/Regex.FindNameKV.html" title="class in org.apache.beam.sdk.transforms">Regex.FindNameKV</a>&nbsp;findKV(java.util.regex.Pattern&nbsp;pattern,
java.lang.String&nbsp;keyGroupName,
java.lang.String&nbsp;valueGroupName)</pre>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.FindNameKV.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.FindNameKV</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if a portion of the line
matches the Regex. Returns the specified groups as the key and value as a <a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values"><code>PCollection</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pattern</code> - The regular expression to run</dd>
<dd><code>keyGroupName</code> - The Regex group name to use as the key</dd>
<dd><code>valueGroupName</code> - The Regex group name to use the value</dd>
</dl>
</li>
</ul>
<a name="replaceAll-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>replaceAll</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/beam/sdk/transforms/Regex.ReplaceAll.html" title="class in org.apache.beam.sdk.transforms">Regex.ReplaceAll</a>&nbsp;replaceAll(java.lang.String&nbsp;regex,
java.lang.String&nbsp;replacement)</pre>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.ReplaceAll.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.ReplaceAll</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if a portion of the line
matches the Regex and replaces all matches with the replacement String. Returns the group as a
<a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values"><code>PCollection</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>regex</code> - The regular expression to run</dd>
<dd><code>replacement</code> - The string to be substituted for each match</dd>
</dl>
</li>
</ul>
<a name="replaceAll-java.util.regex.Pattern-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>replaceAll</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/beam/sdk/transforms/Regex.ReplaceAll.html" title="class in org.apache.beam.sdk.transforms">Regex.ReplaceAll</a>&nbsp;replaceAll(java.util.regex.Pattern&nbsp;pattern,
java.lang.String&nbsp;replacement)</pre>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.ReplaceAll.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.ReplaceAll</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if a portion of the line
matches the Regex and replaces all matches with the replacement String. Returns the group as a
<a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values"><code>PCollection</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pattern</code> - The regular expression to run</dd>
<dd><code>replacement</code> - The string to be substituted for each match</dd>
</dl>
</li>
</ul>
<a name="replaceFirst-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>replaceFirst</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/beam/sdk/transforms/Regex.ReplaceFirst.html" title="class in org.apache.beam.sdk.transforms">Regex.ReplaceFirst</a>&nbsp;replaceFirst(java.lang.String&nbsp;regex,
java.lang.String&nbsp;replacement)</pre>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.ReplaceAll.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.ReplaceAll</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if a portion of the line
matches the Regex and replaces the first match with the replacement String. Returns the group
as a <a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values"><code>PCollection</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>regex</code> - The regular expression to run</dd>
<dd><code>replacement</code> - The string to be substituted for each match</dd>
</dl>
</li>
</ul>
<a name="replaceFirst-java.util.regex.Pattern-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>replaceFirst</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/beam/sdk/transforms/Regex.ReplaceFirst.html" title="class in org.apache.beam.sdk.transforms">Regex.ReplaceFirst</a>&nbsp;replaceFirst(java.util.regex.Pattern&nbsp;pattern,
java.lang.String&nbsp;replacement)</pre>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.ReplaceAll.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.ReplaceAll</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that checks if a portion of the line
matches the Regex and replaces the first match with the replacement String. Returns the group
as a <a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values"><code>PCollection</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pattern</code> - The regular expression to run</dd>
<dd><code>replacement</code> - The string to be substituted for each match</dd>
</dl>
</li>
</ul>
<a name="split-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>split</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/beam/sdk/transforms/Regex.Split.html" title="class in org.apache.beam.sdk.transforms">Regex.Split</a>&nbsp;split(java.lang.String&nbsp;regex)</pre>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.Split.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.Split</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that splits a string on the regular expression
and then outputs each item. It will not output empty items. Returns the group as a <a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values"><code>PCollection</code></a>. a <a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values"><code>PCollection</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>regex</code> - The regular expression to run</dd>
</dl>
</li>
</ul>
<a name="split-java.util.regex.Pattern-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>split</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/beam/sdk/transforms/Regex.Split.html" title="class in org.apache.beam.sdk.transforms">Regex.Split</a>&nbsp;split(java.util.regex.Pattern&nbsp;pattern)</pre>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.Split.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.Split</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that splits a string on the regular expression
and then outputs each item. It will not output empty items. Returns the group as a <a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values"><code>PCollection</code></a>. a <a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values"><code>PCollection</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pattern</code> - The regular expression to run</dd>
</dl>
</li>
</ul>
<a name="split-java.lang.String-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>split</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/beam/sdk/transforms/Regex.Split.html" title="class in org.apache.beam.sdk.transforms">Regex.Split</a>&nbsp;split(java.lang.String&nbsp;regex,
boolean&nbsp;outputEmpty)</pre>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.Split.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.Split</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that splits a string on the regular expression
and then outputs each item. Returns the group as a <a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values"><code>PCollection</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>regex</code> - The regular expression to run</dd>
<dd><code>outputEmpty</code> - Should empty be output. True to output empties and false if not.</dd>
</dl>
</li>
</ul>
<a name="split-java.util.regex.Pattern-boolean-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>split</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/beam/sdk/transforms/Regex.Split.html" title="class in org.apache.beam.sdk.transforms">Regex.Split</a>&nbsp;split(java.util.regex.Pattern&nbsp;pattern,
boolean&nbsp;outputEmpty)</pre>
<div class="block">Returns a <a href="../../../../../org/apache/beam/sdk/transforms/Regex.Split.html" title="class in org.apache.beam.sdk.transforms"><code>Regex.Split</code></a> <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><code>PTransform</code></a> that splits a string on the regular expression
and then outputs each item. Returns the group as a <a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values"><code>PCollection</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pattern</code> - The regular expression to run</dd>
<dd><code>outputEmpty</code> - Should empty be output. True to output empties and false if not.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/beam/sdk/transforms/Regex.AllMatches.html" title="class in org.apache.beam.sdk.transforms"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/beam/sdk/transforms/Regex.html" target="_top">Frames</a></li>
<li><a href="Regex.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>