blob: 74b2361600cf5c28289e6f38861914c6095601ac [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_40) on Thu Jul 20 13:15:19 PDT 2017 -->
<title>MultiWorkUnit (gobblin-api 0.11.0 API)</title>
<meta name="date" content="2017-07-20">
<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="MultiWorkUnit (gobblin-api 0.11.0 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":9,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance 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="../../../gobblin/source/workunit/MissingExtractAttributeException.html" title="class in gobblin.source.workunit"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../gobblin/source/workunit/WorkUnit.html" title="class in gobblin.source.workunit"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?gobblin/source/workunit/MultiWorkUnit.html" target="_top">Frames</a></li>
<li><a href="MultiWorkUnit.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>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&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><a href="#constructor.detail">Constr</a>&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">gobblin.source.workunit</div>
<h2 title="Class MultiWorkUnit" class="title">Class MultiWorkUnit</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../gobblin/configuration/State.html" title="class in gobblin.configuration">gobblin.configuration.State</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../gobblin/source/workunit/WorkUnit.html" title="class in gobblin.source.workunit">gobblin.source.workunit.WorkUnit</a></li>
<li>
<ul class="inheritance">
<li>gobblin.source.workunit.MultiWorkUnit</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../gobblin/compat/hadoop/WritableShim.html" title="interface in gobblin.compat.hadoop">WritableShim</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">MultiWorkUnit</span>
extends <a href="../../../gobblin/source/workunit/WorkUnit.html" title="class in gobblin.source.workunit">WorkUnit</a></pre>
<div class="block">A class that wraps multiple <a href="../../../gobblin/source/workunit/WorkUnit.html" title="class in gobblin.source.workunit"><code>WorkUnit</code></a>s so they can executed within a single task.
<p>
This class also extends the <a href="../../../gobblin/configuration/State.html" title="class in gobblin.configuration"><code>State</code></a> object and thus it is possible to set and get
properties from this class. The <a href="../../../gobblin/source/workunit/MultiWorkUnit.html#setProp-java.lang.String-java.lang.Object-"><code>setProp(String, Object)</code></a> method will add the specified key, value pair to
this class as well as to every <a href="../../../gobblin/source/workunit/WorkUnit.html" title="class in gobblin.source.workunit"><code>WorkUnit</code></a> in <a href="../../../gobblin/source/workunit/MultiWorkUnit.html#workUnits"><code>workUnits</code></a>. The <a href="../../../gobblin/configuration/State.html#getProp-java.lang.String-"><code>State.getProp(String)</code></a> methods will
only return properties that have been explicitily set in this class (e.g. it will not retrieve properties from
<a href="../../../gobblin/source/workunit/MultiWorkUnit.html#workUnits"><code>workUnits</code></a>.
</p></div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../gobblin/source/workunit/MultiWorkUnit.html#MultiWorkUnit--">MultiWorkUnit</a></span>()</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">Use <a href="../../../gobblin/source/workunit/MultiWorkUnit.html#createEmpty--"><code>createEmpty()</code></a> instead.</span></div>
</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="t2" class="tableTab"><span><a href="javascript:show(2);">Instance 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>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/source/workunit/MultiWorkUnit.html#addWorkUnit-gobblin.source.workunit.WorkUnit-">addWorkUnit</a></span>(<a href="../../../gobblin/source/workunit/WorkUnit.html" title="class in gobblin.source.workunit">WorkUnit</a>&nbsp;workUnit)</code>
<div class="block">Add a single <a href="../../../gobblin/source/workunit/WorkUnit.html" title="class in gobblin.source.workunit"><code>WorkUnit</code></a>.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/source/workunit/MultiWorkUnit.html#addWorkUnits-java.util.Collection-">addWorkUnits</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../../gobblin/source/workunit/WorkUnit.html" title="class in gobblin.source.workunit">WorkUnit</a>&gt;&nbsp;workUnits)</code>
<div class="block">Add a collection of <a href="../../../gobblin/source/workunit/WorkUnit.html" title="class in gobblin.source.workunit"><code>WorkUnit</code></a>s.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>static <a href="../../../gobblin/source/workunit/MultiWorkUnit.html" title="class in gobblin.source.workunit">MultiWorkUnit</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/source/workunit/MultiWorkUnit.html#createEmpty--">createEmpty</a></span>()</code>
<div class="block">Create a new empty <a href="../../../gobblin/source/workunit/MultiWorkUnit.html" title="class in gobblin.source.workunit"><code>MultiWorkUnit</code></a> instance.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/source/workunit/MultiWorkUnit.html#equals-java.lang.Object-">equals</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;object)</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../gobblin/source/workunit/WorkUnit.html" title="class in gobblin.source.workunit">WorkUnit</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/source/workunit/MultiWorkUnit.html#getWorkUnits--">getWorkUnits</a></span>()</code>
<div class="block">Get an immutable list of <a href="../../../gobblin/source/workunit/WorkUnit.html" title="class in gobblin.source.workunit"><code>WorkUnit</code></a>s wrapped by this <a href="../../../gobblin/source/workunit/MultiWorkUnit.html" title="class in gobblin.source.workunit"><code>MultiWorkUnit</code></a>.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/source/workunit/MultiWorkUnit.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/source/workunit/MultiWorkUnit.html#readFields-java.io.DataInput-">readFields</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/io/DataInput.html?is-external=true" title="class or interface in java.io">DataInput</a>&nbsp;in)</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/source/workunit/MultiWorkUnit.html#setProp-java.lang.String-java.lang.Object-">setProp</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
<div class="block">Set the specified key, value pair in this <a href="../../../gobblin/source/workunit/MultiWorkUnit.html" title="class in gobblin.source.workunit"><code>MultiWorkUnit</code></a> as well as in all the inner <a href="../../../gobblin/source/workunit/WorkUnit.html" title="class in gobblin.source.workunit"><code>WorkUnit</code></a>s.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/source/workunit/MultiWorkUnit.html#setPropExcludeInnerWorkUnits-java.lang.String-java.lang.Object-">setPropExcludeInnerWorkUnits</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
<div class="block">Set the specified key, value pair in this <a href="../../../gobblin/source/workunit/MultiWorkUnit.html" title="class in gobblin.source.workunit"><code>MultiWorkUnit</code></a> only, but do not propagate it to all the inner
<a href="../../../gobblin/source/workunit/WorkUnit.html" title="class in gobblin.source.workunit"><code>WorkUnit</code></a>s.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/source/workunit/MultiWorkUnit.html#write-java.io.DataOutput-">write</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/io/DataOutput.html?is-external=true" title="class or interface in java.io">DataOutput</a>&nbsp;out)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.gobblin.source.workunit.WorkUnit">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;gobblin.source.workunit.<a href="../../../gobblin/source/workunit/WorkUnit.html" title="class in gobblin.source.workunit">WorkUnit</a></h3>
<code><a href="../../../gobblin/source/workunit/WorkUnit.html#copyOf-gobblin.source.workunit.WorkUnit-">copyOf</a>, <a href="../../../gobblin/source/workunit/WorkUnit.html#create-gobblin.source.workunit.Extract-">create</a>, <a href="../../../gobblin/source/workunit/WorkUnit.html#create-gobblin.source.workunit.Extract-gobblin.source.extractor.WatermarkInterval-">create</a>, <a href="../../../gobblin/source/workunit/WorkUnit.html#getExpectedHighWatermark--">getExpectedHighWatermark</a>, <a href="../../../gobblin/source/workunit/WorkUnit.html#getExpectedHighWatermark-java.lang.Class-">getExpectedHighWatermark</a>, <a href="../../../gobblin/source/workunit/WorkUnit.html#getExpectedHighWatermark-java.lang.Class-com.google.gson.Gson-">getExpectedHighWatermark</a>, <a href="../../../gobblin/source/workunit/WorkUnit.html#getExtract--">getExtract</a>, <a href="../../../gobblin/source/workunit/WorkUnit.html#getHighWaterMark--">getHighWaterMark</a>, <a href="../../../gobblin/source/workunit/WorkUnit.html#getLowWatermark--">getLowWatermark</a>, <a href="../../../gobblin/source/workunit/WorkUnit.html#getLowWaterMark--">getLowWaterMark</a>, <a href="../../../gobblin/source/workunit/WorkUnit.html#getLowWatermark-java.lang.Class-">getLowWatermark</a>, <a href="../../../gobblin/source/workunit/WorkUnit.html#getLowWatermark-java.lang.Class-com.google.gson.Gson-">getLowWatermark</a>, <a href="../../../gobblin/source/workunit/WorkUnit.html#setHighWaterMark-long-">setHighWaterMark</a>, <a href="../../../gobblin/source/workunit/WorkUnit.html#setLowWaterMark-long-">setLowWaterMark</a>, <a href="../../../gobblin/source/workunit/WorkUnit.html#setWatermarkInterval-gobblin.source.extractor.WatermarkInterval-">setWatermarkInterval</a>, <a href="../../../gobblin/source/workunit/WorkUnit.html#skip--">skip</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.gobblin.configuration.State">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;gobblin.configuration.<a href="../../../gobblin/configuration/State.html" title="class in gobblin.configuration">State</a></h3>
<code><a href="../../../gobblin/configuration/State.html#addAll-java.util.Properties-">addAll</a>, <a href="../../../gobblin/configuration/State.html#addAll-gobblin.configuration.State-">addAll</a>, <a href="../../../gobblin/configuration/State.html#addAllIfNotExist-java.util.Properties-">addAllIfNotExist</a>, <a href="../../../gobblin/configuration/State.html#addAllIfNotExist-gobblin.configuration.State-">addAllIfNotExist</a>, <a href="../../../gobblin/configuration/State.html#appendToListProp-java.lang.String-java.lang.String-">appendToListProp</a>, <a href="../../../gobblin/configuration/State.html#appendToSetProp-java.lang.String-java.lang.String-">appendToSetProp</a>, <a href="../../../gobblin/configuration/State.html#contains-java.lang.String-">contains</a>, <a href="../../../gobblin/configuration/State.html#getId--">getId</a>, <a href="../../../gobblin/configuration/State.html#getProp-java.lang.String-">getProp</a>, <a href="../../../gobblin/configuration/State.html#getProp-java.lang.String-java.lang.String-">getProp</a>, <a href="../../../gobblin/configuration/State.html#getPropAsBoolean-java.lang.String-">getPropAsBoolean</a>, <a href="../../../gobblin/configuration/State.html#getPropAsBoolean-java.lang.String-boolean-">getPropAsBoolean</a>, <a href="../../../gobblin/configuration/State.html#getPropAsCaseInsensitiveSet-java.lang.String-">getPropAsCaseInsensitiveSet</a>, <a href="../../../gobblin/configuration/State.html#getPropAsCaseInsensitiveSet-java.lang.String-java.lang.String-">getPropAsCaseInsensitiveSet</a>, <a href="../../../gobblin/configuration/State.html#getPropAsDouble-java.lang.String-">getPropAsDouble</a>, <a href="../../../gobblin/configuration/State.html#getPropAsDouble-java.lang.String-double-">getPropAsDouble</a>, <a href="../../../gobblin/configuration/State.html#getPropAsInt-java.lang.String-">getPropAsInt</a>, <a href="../../../gobblin/configuration/State.html#getPropAsInt-java.lang.String-int-">getPropAsInt</a>, <a href="../../../gobblin/configuration/State.html#getPropAsJsonArray-java.lang.String-">getPropAsJsonArray</a>, <a href="../../../gobblin/configuration/State.html#getPropAsList-java.lang.String-">getPropAsList</a>, <a href="../../../gobblin/configuration/State.html#getPropAsList-java.lang.String-java.lang.String-">getPropAsList</a>, <a href="../../../gobblin/configuration/State.html#getPropAsLong-java.lang.String-">getPropAsLong</a>, <a href="../../../gobblin/configuration/State.html#getPropAsLong-java.lang.String-long-">getPropAsLong</a>, <a href="../../../gobblin/configuration/State.html#getPropAsSet-java.lang.String-">getPropAsSet</a>, <a href="../../../gobblin/configuration/State.html#getPropAsSet-java.lang.String-java.lang.String-">getPropAsSet</a>, <a href="../../../gobblin/configuration/State.html#getPropAsShort-java.lang.String-">getPropAsShort</a>, <a href="../../../gobblin/configuration/State.html#getPropAsShort-java.lang.String-short-">getPropAsShort</a>, <a href="../../../gobblin/configuration/State.html#getPropAsShortWithRadix-java.lang.String-int-">getPropAsShortWithRadix</a>, <a href="../../../gobblin/configuration/State.html#getPropAsShortWithRadix-java.lang.String-short-int-">getPropAsShortWithRadix</a>, <a href="../../../gobblin/configuration/State.html#getProperties--">getProperties</a>, <a href="../../../gobblin/configuration/State.html#getProperty-java.lang.String-">getProperty</a>, <a href="../../../gobblin/configuration/State.html#getProperty-java.lang.String-java.lang.String-">getProperty</a>, <a href="../../../gobblin/configuration/State.html#getPropertyNames--">getPropertyNames</a>, <a href="../../../gobblin/configuration/State.html#overrideWith-java.util.Properties-">overrideWith</a>, <a href="../../../gobblin/configuration/State.html#overrideWith-gobblin.configuration.State-">overrideWith</a>, <a href="../../../gobblin/configuration/State.html#removeProp-java.lang.String-">removeProp</a>, <a href="../../../gobblin/configuration/State.html#setId-java.lang.String-">setId</a>, <a href="../../../gobblin/configuration/State.html#setProps-java.util.Properties-java.util.Properties-">setProps</a>, <a href="../../../gobblin/configuration/State.html#toString--">toString</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="MultiWorkUnit--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>MultiWorkUnit</h4>
<pre><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public&nbsp;MultiWorkUnit()</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">Use <a href="../../../gobblin/source/workunit/MultiWorkUnit.html#createEmpty--"><code>createEmpty()</code></a> instead.</span></div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getWorkUnits--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWorkUnits</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../gobblin/source/workunit/WorkUnit.html" title="class in gobblin.source.workunit">WorkUnit</a>&gt;&nbsp;getWorkUnits()</pre>
<div class="block">Get an immutable list of <a href="../../../gobblin/source/workunit/WorkUnit.html" title="class in gobblin.source.workunit"><code>WorkUnit</code></a>s wrapped by this <a href="../../../gobblin/source/workunit/MultiWorkUnit.html" title="class in gobblin.source.workunit"><code>MultiWorkUnit</code></a>.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>immutable list of <a href="../../../gobblin/source/workunit/WorkUnit.html" title="class in gobblin.source.workunit"><code>WorkUnit</code></a>s wrapped by this <a href="../../../gobblin/source/workunit/MultiWorkUnit.html" title="class in gobblin.source.workunit"><code>MultiWorkUnit</code></a></dd>
</dl>
</li>
</ul>
<a name="addWorkUnit-gobblin.source.workunit.WorkUnit-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addWorkUnit</h4>
<pre>public&nbsp;void&nbsp;addWorkUnit(<a href="../../../gobblin/source/workunit/WorkUnit.html" title="class in gobblin.source.workunit">WorkUnit</a>&nbsp;workUnit)</pre>
<div class="block">Add a single <a href="../../../gobblin/source/workunit/WorkUnit.html" title="class in gobblin.source.workunit"><code>WorkUnit</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>workUnit</code> - <a href="../../../gobblin/source/workunit/WorkUnit.html" title="class in gobblin.source.workunit"><code>WorkUnit</code></a> to add</dd>
</dl>
</li>
</ul>
<a name="addWorkUnits-java.util.Collection-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addWorkUnits</h4>
<pre>public&nbsp;void&nbsp;addWorkUnits(<a href="https://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../../gobblin/source/workunit/WorkUnit.html" title="class in gobblin.source.workunit">WorkUnit</a>&gt;&nbsp;workUnits)</pre>
<div class="block">Add a collection of <a href="../../../gobblin/source/workunit/WorkUnit.html" title="class in gobblin.source.workunit"><code>WorkUnit</code></a>s.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>workUnits</code> - collection of <a href="../../../gobblin/source/workunit/WorkUnit.html" title="class in gobblin.source.workunit"><code>WorkUnit</code></a>s to add</dd>
</dl>
</li>
</ul>
<a name="setProp-java.lang.String-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setProp</h4>
<pre>public&nbsp;void&nbsp;setProp(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</pre>
<div class="block">Set the specified key, value pair in this <a href="../../../gobblin/source/workunit/MultiWorkUnit.html" title="class in gobblin.source.workunit"><code>MultiWorkUnit</code></a> as well as in all the inner <a href="../../../gobblin/source/workunit/WorkUnit.html" title="class in gobblin.source.workunit"><code>WorkUnit</code></a>s.
Set a property.
<p>
Both key and value are stored as strings.
</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../gobblin/configuration/State.html#setProp-java.lang.String-java.lang.Object-">setProp</a></code>&nbsp;in class&nbsp;<code><a href="../../../gobblin/configuration/State.html" title="class in gobblin.configuration">State</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - property key</dd>
<dd><code>value</code> - property value</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../gobblin/configuration/State.html#setProp-java.lang.String-java.lang.Object-"><code>State.setProp(java.lang.String, java.lang.Object)</code></a></dd>
</dl>
</li>
</ul>
<a name="setPropExcludeInnerWorkUnits-java.lang.String-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPropExcludeInnerWorkUnits</h4>
<pre>public&nbsp;void&nbsp;setPropExcludeInnerWorkUnits(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</pre>
<div class="block">Set the specified key, value pair in this <a href="../../../gobblin/source/workunit/MultiWorkUnit.html" title="class in gobblin.source.workunit"><code>MultiWorkUnit</code></a> only, but do not propagate it to all the inner
<a href="../../../gobblin/source/workunit/WorkUnit.html" title="class in gobblin.source.workunit"><code>WorkUnit</code></a>s.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - property key</dd>
<dd><code>value</code> - property value</dd>
</dl>
</li>
</ul>
<a name="readFields-java.io.DataInput-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readFields</h4>
<pre>public&nbsp;void&nbsp;readFields(<a href="https://docs.oracle.com/javase/7/docs/api/java/io/DataInput.html?is-external=true" title="class or interface in java.io">DataInput</a>&nbsp;in)
throws <a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../gobblin/compat/hadoop/WritableShim.html#readFields-java.io.DataInput-">readFields</a></code>&nbsp;in interface&nbsp;<code><a href="../../../gobblin/compat/hadoop/WritableShim.html" title="interface in gobblin.compat.hadoop">WritableShim</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../gobblin/source/workunit/WorkUnit.html#readFields-java.io.DataInput-">readFields</a></code>&nbsp;in class&nbsp;<code><a href="../../../gobblin/source/workunit/WorkUnit.html" title="class in gobblin.source.workunit">WorkUnit</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
<a name="write-java.io.DataOutput-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>write</h4>
<pre>public&nbsp;void&nbsp;write(<a href="https://docs.oracle.com/javase/7/docs/api/java/io/DataOutput.html?is-external=true" title="class or interface in java.io">DataOutput</a>&nbsp;out)
throws <a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../gobblin/compat/hadoop/WritableShim.html#write-java.io.DataOutput-">write</a></code>&nbsp;in interface&nbsp;<code><a href="../../../gobblin/compat/hadoop/WritableShim.html" title="interface in gobblin.compat.hadoop">WritableShim</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../gobblin/source/workunit/WorkUnit.html#write-java.io.DataOutput-">write</a></code>&nbsp;in class&nbsp;<code><a href="../../../gobblin/source/workunit/WorkUnit.html" title="class in gobblin.source.workunit">WorkUnit</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;object)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../gobblin/source/workunit/WorkUnit.html#equals-java.lang.Object-">equals</a></code>&nbsp;in class&nbsp;<code><a href="../../../gobblin/source/workunit/WorkUnit.html" title="class in gobblin.source.workunit">WorkUnit</a></code></dd>
</dl>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../gobblin/source/workunit/WorkUnit.html#hashCode--">hashCode</a></code>&nbsp;in class&nbsp;<code><a href="../../../gobblin/source/workunit/WorkUnit.html" title="class in gobblin.source.workunit">WorkUnit</a></code></dd>
</dl>
</li>
</ul>
<a name="createEmpty--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>createEmpty</h4>
<pre>public static&nbsp;<a href="../../../gobblin/source/workunit/MultiWorkUnit.html" title="class in gobblin.source.workunit">MultiWorkUnit</a>&nbsp;createEmpty()</pre>
<div class="block">Create a new empty <a href="../../../gobblin/source/workunit/MultiWorkUnit.html" title="class in gobblin.source.workunit"><code>MultiWorkUnit</code></a> instance.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new empty <a href="../../../gobblin/source/workunit/MultiWorkUnit.html" title="class in gobblin.source.workunit"><code>MultiWorkUnit</code></a> instance</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="../../../gobblin/source/workunit/MissingExtractAttributeException.html" title="class in gobblin.source.workunit"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../gobblin/source/workunit/WorkUnit.html" title="class in gobblin.source.workunit"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?gobblin/source/workunit/MultiWorkUnit.html" target="_top">Frames</a></li>
<li><a href="MultiWorkUnit.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>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&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><a href="#constructor.detail">Constr</a>&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>