blob: 7f6ceea6b6a68a06140b8001e9553f6faf5446a3 [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:18:18 PDT 2017 -->
<title>TaskContext (gobblin-runtime 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="TaskContext (gobblin-runtime 0.11.0 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10};
var tabs = {65535:["t0","All 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/runtime/TaskConfigurationKeys.html" title="class in gobblin.runtime"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../gobblin/runtime/TaskExecutor.html" title="class in gobblin.runtime"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?gobblin/runtime/TaskContext.html" target="_top">Frames</a></li>
<li><a href="TaskContext.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.runtime</div>
<h2 title="Class TaskContext" class="title">Class TaskContext</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>gobblin.runtime.TaskContext</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">TaskContext</span>
extends <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></pre>
<div class="block">A class containing all necessary information to construct and run a <a href="../../gobblin/runtime/Task.html" title="class in gobblin.runtime"><code>Task</code></a>.</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/runtime/TaskContext.html#TaskContext-gobblin.configuration.WorkUnitState-">TaskContext</a></span>(<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/configuration/WorkUnitState.html?is-external=true" title="class or interface in gobblin.configuration">WorkUnitState</a>&nbsp;workUnitState)</code>&nbsp;</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="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><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="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/converter/Converter.html?is-external=true" title="class or interface in gobblin.converter">Converter</a>&lt;?,?,?,?&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../gobblin/runtime/TaskContext.html#getConverters--">getConverters</a></span>()</code>
<div class="block">Get the list of pre-fork <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/converter/Converter.html?is-external=true" title="class or interface in gobblin.converter"><code>Converter</code></a>s.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<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="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/converter/Converter.html?is-external=true" title="class or interface in gobblin.converter">Converter</a>&lt;?,?,?,?&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../gobblin/runtime/TaskContext.html#getConverters-int-gobblin.runtime.TaskState-">getConverters</a></span>(int&nbsp;index,
<a href="../../gobblin/runtime/TaskState.html" title="class in gobblin.runtime">TaskState</a>&nbsp;forkTaskState)</code>
<div class="block">Get the list of post-fork <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/converter/Converter.html?is-external=true" title="class or interface in gobblin.converter"><code>Converter</code></a>s for a given branch.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/writer/DataWriterBuilder.html?is-external=true" title="class or interface in gobblin.writer">DataWriterBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../gobblin/runtime/TaskContext.html#getDataWriterBuilder-int-int-">getDataWriterBuilder</a></span>(int&nbsp;branches,
int&nbsp;index)</code>
<div class="block">Get a <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/writer/DataWriterBuilder.html?is-external=true" title="class or interface in gobblin.writer"><code>DataWriterBuilder</code></a> for building a <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/writer/DataWriter.html?is-external=true" title="class or interface in gobblin.writer"><code>DataWriter</code></a>.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/writer/Destination.DestinationType.html?is-external=true" title="class or interface in gobblin.writer">Destination.DestinationType</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../gobblin/runtime/TaskContext.html#getDestinationType-int-int-">getDestinationType</a></span>(int&nbsp;branches,
int&nbsp;index)</code>
<div class="block">Get the writer <code>Destination.DestinationType</code>.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/source/extractor/Extractor.html?is-external=true" title="class or interface in gobblin.source.extractor">Extractor</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../gobblin/runtime/TaskContext.html#getExtractor--">getExtractor</a></span>()</code>
<div class="block">Get a <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/source/extractor/Extractor.html?is-external=true" title="class or interface in gobblin.source.extractor"><code>Extractor</code></a> instance.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/fork/ForkOperator.html?is-external=true" title="class or interface in gobblin.fork">ForkOperator</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../gobblin/runtime/TaskContext.html#getForkOperator--">getForkOperator</a></span>()</code>
<div class="block">Get the <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/fork/ForkOperator.html?is-external=true" title="class or interface in gobblin.fork"><code>ForkOperator</code></a> to be applied to converted input schema and data record.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/source/extractor/Extractor.html?is-external=true" title="class or interface in gobblin.source.extractor">Extractor</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../gobblin/runtime/TaskContext.html#getRawSourceExtractor--">getRawSourceExtractor</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/qualitychecker/row/RowLevelPolicyChecker.html?is-external=true" title="class or interface in gobblin.qualitychecker.row">RowLevelPolicyChecker</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../gobblin/runtime/TaskContext.html#getRowLevelPolicyChecker--">getRowLevelPolicyChecker</a></span>()</code>
<div class="block">Get a pre-fork <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/qualitychecker/row/RowLevelPolicyChecker.html?is-external=true" title="class or interface in gobblin.qualitychecker.row"><code>RowLevelPolicyChecker</code></a> for executing row-level
<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/qualitychecker/row/RowLevelPolicy.html?is-external=true" title="class or interface in gobblin.qualitychecker.row"><code>RowLevelPolicy</code></a>.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/qualitychecker/row/RowLevelPolicyChecker.html?is-external=true" title="class or interface in gobblin.qualitychecker.row">RowLevelPolicyChecker</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../gobblin/runtime/TaskContext.html#getRowLevelPolicyChecker-int-">getRowLevelPolicyChecker</a></span>(int&nbsp;index)</code>
<div class="block">Get a post-fork <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/qualitychecker/row/RowLevelPolicyChecker.html?is-external=true" title="class or interface in gobblin.qualitychecker.row"><code>RowLevelPolicyChecker</code></a> for executing row-level
<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/qualitychecker/row/RowLevelPolicy.html?is-external=true" title="class or interface in gobblin.qualitychecker.row"><code>RowLevelPolicy</code></a> in the given branch.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/source/Source.html?is-external=true" title="class or interface in gobblin.source">Source</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../gobblin/runtime/TaskContext.html#getSource--">getSource</a></span>()</code>
<div class="block">Get a <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/source/Source.html?is-external=true" title="class or interface in gobblin.source"><code>Source</code></a> instance used to get a list of <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/source/workunit/WorkUnit.html?is-external=true" title="class or interface in gobblin.source.workunit"><code>WorkUnit</code></a>s.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../gobblin/runtime/TaskContext.html#getStatusReportingInterval--">getStatusReportingInterval</a></span>()</code>
<div class="block">Get the interval for status reporting.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/qualitychecker/task/TaskLevelPolicyChecker.html?is-external=true" title="class or interface in gobblin.qualitychecker.task">TaskLevelPolicyChecker</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../gobblin/runtime/TaskContext.html#getTaskLevelPolicyChecker-gobblin.runtime.TaskState-int-">getTaskLevelPolicyChecker</a></span>(<a href="../../gobblin/runtime/TaskState.html" title="class in gobblin.runtime">TaskState</a>&nbsp;taskState,
int&nbsp;index)</code>
<div class="block">Get a post-fork <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/qualitychecker/task/TaskLevelPolicyChecker.html?is-external=true" title="class or interface in gobblin.qualitychecker.task"><code>TaskLevelPolicyChecker</code></a> for executing task-level
<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/qualitychecker/task/TaskLevelPolicy.html?is-external=true" title="class or interface in gobblin.qualitychecker.task"><code>TaskLevelPolicy</code></a> in the given branch.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="../../gobblin/runtime/util/TaskMetrics.html" title="class in gobblin.runtime.util">TaskMetrics</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../gobblin/runtime/TaskContext.html#getTaskMetrics--">getTaskMetrics</a></span>()</code>
<div class="block">Get a <a href="../../gobblin/runtime/util/TaskMetrics.html" title="class in gobblin.runtime.util"><code>TaskMetrics</code></a> instance for the task.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/publisher/TaskPublisher.html?is-external=true" title="class or interface in gobblin.publisher">TaskPublisher</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../gobblin/runtime/TaskContext.html#getTaskPublisher-gobblin.runtime.TaskState-gobblin.qualitychecker.task.TaskLevelPolicyCheckResults-">getTaskPublisher</a></span>(<a href="../../gobblin/runtime/TaskState.html" title="class in gobblin.runtime">TaskState</a>&nbsp;taskState,
<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/qualitychecker/task/TaskLevelPolicyCheckResults.html?is-external=true" title="class or interface in gobblin.qualitychecker.task">TaskLevelPolicyCheckResults</a>&nbsp;results)</code>
<div class="block">Get a post-fork <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/publisher/TaskPublisher.html?is-external=true" title="class or interface in gobblin.publisher"><code>TaskPublisher</code></a> for publishing data in the given branch.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="../../gobblin/runtime/TaskState.html" title="class in gobblin.runtime">TaskState</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../gobblin/runtime/TaskContext.html#getTaskState--">getTaskState</a></span>()</code>
<div class="block">Get a <a href="../../gobblin/runtime/TaskState.html" title="class in gobblin.runtime"><code>TaskState</code></a> instance for the task.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/writer/WatermarkStorage.html?is-external=true" title="class or interface in gobblin.writer">WatermarkStorage</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../gobblin/runtime/TaskContext.html#getWatermarkStorage--">getWatermarkStorage</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/writer/WriterOutputFormat.html?is-external=true" title="class or interface in gobblin.writer">WriterOutputFormat</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../gobblin/runtime/TaskContext.html#getWriterOutputFormat-int-int-">getWriterOutputFormat</a></span>(int&nbsp;branches,
int&nbsp;index)</code>
<div class="block">Get the output format of the writer of type <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/writer/WriterOutputFormat.html?is-external=true" title="class or interface in gobblin.writer"><code>WriterOutputFormat</code></a>.</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.<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#equals-java.lang.Object-" title="class or interface in java.lang">equals</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#hashCode--" title="class or interface in java.lang">hashCode</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#toString--" title="class or interface in java.lang">toString</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="TaskContext-gobblin.configuration.WorkUnitState-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>TaskContext</h4>
<pre>public&nbsp;TaskContext(<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/configuration/WorkUnitState.html?is-external=true" title="class or interface in gobblin.configuration">WorkUnitState</a>&nbsp;workUnitState)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getTaskState--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTaskState</h4>
<pre>public&nbsp;<a href="../../gobblin/runtime/TaskState.html" title="class in gobblin.runtime">TaskState</a>&nbsp;getTaskState()</pre>
<div class="block">Get a <a href="../../gobblin/runtime/TaskState.html" title="class in gobblin.runtime"><code>TaskState</code></a> instance for the task.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a <a href="../../gobblin/runtime/TaskState.html" title="class in gobblin.runtime"><code>TaskState</code></a> instance</dd>
</dl>
</li>
</ul>
<a name="getTaskMetrics--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTaskMetrics</h4>
<pre>public&nbsp;<a href="../../gobblin/runtime/util/TaskMetrics.html" title="class in gobblin.runtime.util">TaskMetrics</a>&nbsp;getTaskMetrics()</pre>
<div class="block">Get a <a href="../../gobblin/runtime/util/TaskMetrics.html" title="class in gobblin.runtime.util"><code>TaskMetrics</code></a> instance for the task.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a <a href="../../gobblin/runtime/util/TaskMetrics.html" title="class in gobblin.runtime.util"><code>TaskMetrics</code></a> instance</dd>
</dl>
</li>
</ul>
<a name="getSource--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSource</h4>
<pre>public&nbsp;<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/source/Source.html?is-external=true" title="class or interface in gobblin.source">Source</a>&nbsp;getSource()</pre>
<div class="block">Get a <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/source/Source.html?is-external=true" title="class or interface in gobblin.source"><code>Source</code></a> instance used to get a list of <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/source/workunit/WorkUnit.html?is-external=true" title="class or interface in gobblin.source.workunit"><code>WorkUnit</code></a>s.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/source/Source.html?is-external=true" title="class or interface in gobblin.source"><code>Source</code></a> used to get the <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/source/workunit/WorkUnit.html?is-external=true" title="class or interface in gobblin.source.workunit"><code>WorkUnit</code></a>, <em>null</em>
if it fails to instantiate a <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/source/Source.html?is-external=true" title="class or interface in gobblin.source"><code>Source</code></a> object of the given class.</dd>
</dl>
</li>
</ul>
<a name="getExtractor--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getExtractor</h4>
<pre>public&nbsp;<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/source/extractor/Extractor.html?is-external=true" title="class or interface in gobblin.source.extractor">Extractor</a>&nbsp;getExtractor()</pre>
<div class="block">Get a <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/source/extractor/Extractor.html?is-external=true" title="class or interface in gobblin.source.extractor"><code>Extractor</code></a> instance.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/source/extractor/Extractor.html?is-external=true" title="class or interface in gobblin.source.extractor"><code>Extractor</code></a> instance</dd>
</dl>
</li>
</ul>
<a name="getRawSourceExtractor--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRawSourceExtractor</h4>
<pre>public&nbsp;<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/source/extractor/Extractor.html?is-external=true" title="class or interface in gobblin.source.extractor">Extractor</a>&nbsp;getRawSourceExtractor()</pre>
</li>
</ul>
<a name="getStatusReportingInterval--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStatusReportingInterval</h4>
<pre>public&nbsp;long&nbsp;getStatusReportingInterval()</pre>
<div class="block">Get the interval for status reporting.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>interval for status reporting</dd>
</dl>
</li>
</ul>
<a name="getDestinationType-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDestinationType</h4>
<pre>public&nbsp;<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/writer/Destination.DestinationType.html?is-external=true" title="class or interface in gobblin.writer">Destination.DestinationType</a>&nbsp;getDestinationType(int&nbsp;branches,
int&nbsp;index)</pre>
<div class="block">Get the writer <code>Destination.DestinationType</code>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>branches</code> - number of forked branches</dd>
<dd><code>index</code> - branch index</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>writer <code>Destination.DestinationType</code></dd>
</dl>
</li>
</ul>
<a name="getWriterOutputFormat-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWriterOutputFormat</h4>
<pre>public&nbsp;<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/writer/WriterOutputFormat.html?is-external=true" title="class or interface in gobblin.writer">WriterOutputFormat</a>&nbsp;getWriterOutputFormat(int&nbsp;branches,
int&nbsp;index)</pre>
<div class="block">Get the output format of the writer of type <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/writer/WriterOutputFormat.html?is-external=true" title="class or interface in gobblin.writer"><code>WriterOutputFormat</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>branches</code> - number of forked branches</dd>
<dd><code>index</code> - branch index</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>output format of the writer</dd>
</dl>
</li>
</ul>
<a name="getConverters--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConverters</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="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/converter/Converter.html?is-external=true" title="class or interface in gobblin.converter">Converter</a>&lt;?,?,?,?&gt;&gt;&nbsp;getConverters()</pre>
<div class="block">Get the list of pre-fork <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/converter/Converter.html?is-external=true" title="class or interface in gobblin.converter"><code>Converter</code></a>s.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>list (possibly empty) of <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/converter/Converter.html?is-external=true" title="class or interface in gobblin.converter"><code>Converter</code></a>s</dd>
</dl>
</li>
</ul>
<a name="getConverters-int-gobblin.runtime.TaskState-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConverters</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="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/converter/Converter.html?is-external=true" title="class or interface in gobblin.converter">Converter</a>&lt;?,?,?,?&gt;&gt;&nbsp;getConverters(int&nbsp;index,
<a href="../../gobblin/runtime/TaskState.html" title="class in gobblin.runtime">TaskState</a>&nbsp;forkTaskState)</pre>
<div class="block">Get the list of post-fork <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/converter/Converter.html?is-external=true" title="class or interface in gobblin.converter"><code>Converter</code></a>s for a given branch.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - branch index</dd>
<dd><code>forkTaskState</code> - a <a href="../../gobblin/runtime/TaskState.html" title="class in gobblin.runtime"><code>TaskState</code></a> instance specific to the fork identified by the branch index</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>list (possibly empty) of <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/converter/Converter.html?is-external=true" title="class or interface in gobblin.converter"><code>Converter</code></a>s</dd>
</dl>
</li>
</ul>
<a name="getForkOperator--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getForkOperator</h4>
<pre>public&nbsp;<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/fork/ForkOperator.html?is-external=true" title="class or interface in gobblin.fork">ForkOperator</a>&nbsp;getForkOperator()</pre>
<div class="block">Get the <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/fork/ForkOperator.html?is-external=true" title="class or interface in gobblin.fork"><code>ForkOperator</code></a> to be applied to converted input schema and data record.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/fork/ForkOperator.html?is-external=true" title="class or interface in gobblin.fork"><code>ForkOperator</code></a> to be used or <code>null</code> if none is specified</dd>
</dl>
</li>
</ul>
<a name="getRowLevelPolicyChecker--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRowLevelPolicyChecker</h4>
<pre>public&nbsp;<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/qualitychecker/row/RowLevelPolicyChecker.html?is-external=true" title="class or interface in gobblin.qualitychecker.row">RowLevelPolicyChecker</a>&nbsp;getRowLevelPolicyChecker()
throws <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
<div class="block">Get a pre-fork <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/qualitychecker/row/RowLevelPolicyChecker.html?is-external=true" title="class or interface in gobblin.qualitychecker.row"><code>RowLevelPolicyChecker</code></a> for executing row-level
<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/qualitychecker/row/RowLevelPolicy.html?is-external=true" title="class or interface in gobblin.qualitychecker.row"><code>RowLevelPolicy</code></a>.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/qualitychecker/row/RowLevelPolicyChecker.html?is-external=true" title="class or interface in gobblin.qualitychecker.row"><code>RowLevelPolicyChecker</code></a></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd>
</dl>
</li>
</ul>
<a name="getRowLevelPolicyChecker-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRowLevelPolicyChecker</h4>
<pre>public&nbsp;<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/qualitychecker/row/RowLevelPolicyChecker.html?is-external=true" title="class or interface in gobblin.qualitychecker.row">RowLevelPolicyChecker</a>&nbsp;getRowLevelPolicyChecker(int&nbsp;index)
throws <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
<div class="block">Get a post-fork <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/qualitychecker/row/RowLevelPolicyChecker.html?is-external=true" title="class or interface in gobblin.qualitychecker.row"><code>RowLevelPolicyChecker</code></a> for executing row-level
<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/qualitychecker/row/RowLevelPolicy.html?is-external=true" title="class or interface in gobblin.qualitychecker.row"><code>RowLevelPolicy</code></a> in the given branch.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - branch index</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/qualitychecker/row/RowLevelPolicyChecker.html?is-external=true" title="class or interface in gobblin.qualitychecker.row"><code>RowLevelPolicyChecker</code></a></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd>
</dl>
</li>
</ul>
<a name="getTaskLevelPolicyChecker-gobblin.runtime.TaskState-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTaskLevelPolicyChecker</h4>
<pre>public&nbsp;<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/qualitychecker/task/TaskLevelPolicyChecker.html?is-external=true" title="class or interface in gobblin.qualitychecker.task">TaskLevelPolicyChecker</a>&nbsp;getTaskLevelPolicyChecker(<a href="../../gobblin/runtime/TaskState.html" title="class in gobblin.runtime">TaskState</a>&nbsp;taskState,
int&nbsp;index)
throws <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
<div class="block">Get a post-fork <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/qualitychecker/task/TaskLevelPolicyChecker.html?is-external=true" title="class or interface in gobblin.qualitychecker.task"><code>TaskLevelPolicyChecker</code></a> for executing task-level
<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/qualitychecker/task/TaskLevelPolicy.html?is-external=true" title="class or interface in gobblin.qualitychecker.task"><code>TaskLevelPolicy</code></a> in the given branch.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>taskState</code> - <a href="../../gobblin/runtime/TaskState.html" title="class in gobblin.runtime"><code>TaskState</code></a> of a <a href="../../gobblin/runtime/Task.html" title="class in gobblin.runtime"><code>Task</code></a></dd>
<dd><code>index</code> - branch index</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/qualitychecker/task/TaskLevelPolicyChecker.html?is-external=true" title="class or interface in gobblin.qualitychecker.task"><code>TaskLevelPolicyChecker</code></a></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd>
</dl>
</li>
</ul>
<a name="getTaskPublisher-gobblin.runtime.TaskState-gobblin.qualitychecker.task.TaskLevelPolicyCheckResults-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTaskPublisher</h4>
<pre>public&nbsp;<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/publisher/TaskPublisher.html?is-external=true" title="class or interface in gobblin.publisher">TaskPublisher</a>&nbsp;getTaskPublisher(<a href="../../gobblin/runtime/TaskState.html" title="class in gobblin.runtime">TaskState</a>&nbsp;taskState,
<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/qualitychecker/task/TaskLevelPolicyCheckResults.html?is-external=true" title="class or interface in gobblin.qualitychecker.task">TaskLevelPolicyCheckResults</a>&nbsp;results)
throws <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
<div class="block">Get a post-fork <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/publisher/TaskPublisher.html?is-external=true" title="class or interface in gobblin.publisher"><code>TaskPublisher</code></a> for publishing data in the given branch.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>taskState</code> - <a href="../../gobblin/runtime/TaskState.html" title="class in gobblin.runtime"><code>TaskState</code></a> of a <a href="../../gobblin/runtime/Task.html" title="class in gobblin.runtime"><code>Task</code></a></dd>
<dd><code>results</code> - Task-level policy checking results</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/publisher/TaskPublisher.html?is-external=true" title="class or interface in gobblin.publisher"><code>TaskPublisher</code></a></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd>
</dl>
</li>
</ul>
<a name="getDataWriterBuilder-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDataWriterBuilder</h4>
<pre>public&nbsp;<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/writer/DataWriterBuilder.html?is-external=true" title="class or interface in gobblin.writer">DataWriterBuilder</a>&nbsp;getDataWriterBuilder(int&nbsp;branches,
int&nbsp;index)</pre>
<div class="block">Get a <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/writer/DataWriterBuilder.html?is-external=true" title="class or interface in gobblin.writer"><code>DataWriterBuilder</code></a> for building a <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/writer/DataWriter.html?is-external=true" title="class or interface in gobblin.writer"><code>DataWriter</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>branches</code> - number of forked branches</dd>
<dd><code>index</code> - branch index</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/writer/DataWriterBuilder.html?is-external=true" title="class or interface in gobblin.writer"><code>DataWriterBuilder</code></a></dd>
</dl>
</li>
</ul>
<a name="getWatermarkStorage--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getWatermarkStorage</h4>
<pre>public&nbsp;<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/writer/WatermarkStorage.html?is-external=true" title="class or interface in gobblin.writer">WatermarkStorage</a>&nbsp;getWatermarkStorage()</pre>
</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/runtime/TaskConfigurationKeys.html" title="class in gobblin.runtime"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../gobblin/runtime/TaskExecutor.html" title="class in gobblin.runtime"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?gobblin/runtime/TaskContext.html" target="_top">Frames</a></li>
<li><a href="TaskContext.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>