blob: a56d0d082f271f90125ce028b8a00105c8632b11 [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:17:31 PDT 2017 -->
<title>OldApiHadoopFileInputSource (gobblin-core 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="OldApiHadoopFileInputSource (gobblin-core 0.11.0 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":6,"i2":10,"i3":10,"i4":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract 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/extractor/hadoop/OldApiHadoopFileInputExtractor.html" title="class in gobblin.source.extractor.hadoop"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../gobblin/source/extractor/hadoop/OldApiHadoopTextInputSource.html" title="class in gobblin.source.extractor.hadoop"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?gobblin/source/extractor/hadoop/OldApiHadoopFileInputSource.html" target="_top">Frames</a></li>
<li><a href="OldApiHadoopFileInputSource.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.extractor.hadoop</div>
<h2 title="Class OldApiHadoopFileInputSource" class="title">Class OldApiHadoopFileInputSource&lt;S,D,K,V&gt;</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="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-core-base/gobblin/source/extractor/extract/AbstractSource.html?is-external=true" title="class or interface in gobblin.source.extractor.extract">gobblin.source.extractor.extract.AbstractSource</a>&lt;S,D&gt;</li>
<li>
<ul class="inheritance">
<li>gobblin.source.extractor.hadoop.OldApiHadoopFileInputSource&lt;S,D,K,V&gt;</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>S</code> - output schema type</dd>
<dd><code>D</code> - output data record type</dd>
<dd><code>K</code> - key type expected by the <a href="http://hadoop.apache.org/docs/r2.3.0/api/org/apache/hadoop/mapred/FileInputFormat.html?is-external=true" title="class or interface in org.apache.hadoop.mapred"><code>FileInputFormat</code></a></dd>
<dd><code>V</code> - value type expected by the <a href="http://hadoop.apache.org/docs/r2.3.0/api/org/apache/hadoop/mapred/FileInputFormat.html?is-external=true" title="class or interface in org.apache.hadoop.mapred"><code>FileInputFormat</code></a></dd>
</dl>
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><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>&lt;S,D&gt;</dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../gobblin/source/extractor/hadoop/OldApiHadoopTextInputSource.html" title="class in gobblin.source.extractor.hadoop">OldApiHadoopTextInputSource</a>, <a href="../../../../gobblin/source/extractor/hadoop/OldApiWritableFileSource.html" title="class in gobblin.source.extractor.hadoop">OldApiWritableFileSource</a></dd>
</dl>
<hr>
<br>
<pre>public abstract class <span class="typeNameLabel">OldApiHadoopFileInputSource&lt;S,D,K,V&gt;</span>
extends <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-core-base/gobblin/source/extractor/extract/AbstractSource.html?is-external=true" title="class or interface in gobblin.source.extractor.extract">AbstractSource</a>&lt;S,D&gt;</pre>
<div class="block">An implementation of <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> that uses a Hadoop <a href="http://hadoop.apache.org/docs/r2.3.0/api/org/apache/hadoop/mapred/FileInputFormat.html?is-external=true" title="class or interface in org.apache.hadoop.mapred"><code>FileInputFormat</code></a> to get a
<a href="http://hadoop.apache.org/docs/r2.3.0/api/org/apache/hadoop/mapred/FileSplit.html?is-external=true" title="class or interface in org.apache.hadoop.mapred"><code>FileSplit</code></a> per <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> return by <a href="../../../../gobblin/source/extractor/hadoop/OldApiHadoopFileInputSource.html#getExtractor-gobblin.configuration.WorkUnitState-"><code>getExtractor(WorkUnitState)</code></a> and a
<a href="http://hadoop.apache.org/docs/r2.3.0/api/org/apache/hadoop/mapred/RecordReader.html?is-external=true" title="class or interface in org.apache.hadoop.mapred"><code>RecordReader</code></a> to read the <a href="http://hadoop.apache.org/docs/r2.3.0/api/org/apache/hadoop/mapred/FileSplit.html?is-external=true" title="class or interface in org.apache.hadoop.mapred"><code>FileSplit</code></a>.
<p>
This class is equivalent to <a href="../../../../gobblin/source/extractor/hadoop/HadoopFileInputSource.html" title="class in gobblin.source.extractor.hadoop"><code>HadoopFileInputSource</code></a> in terms of functionality except that it uses
the old Hadoop API.
</p>
<p>
This class can read either keys of type <code>#<K></code> or values of type <code>#<V></code> supported by the
given <a href="http://hadoop.apache.org/docs/r2.3.0/api/org/apache/hadoop/mapred/FileInputFormat.html?is-external=true" title="class or interface in org.apache.hadoop.mapred"><code>FileInputFormat</code></a>, configurable by <a href="../../../../gobblin/source/extractor/hadoop/HadoopFileInputSource.html#FILE_INPUT_READ_KEYS_KEY"><code>HadoopFileInputSource.FILE_INPUT_READ_KEYS_KEY</code></a>.
It will read keys if the property is set to <code>true</code>, otherwise it will read values. By default,
it will read values through the given <a href="http://hadoop.apache.org/docs/r2.3.0/api/org/apache/hadoop/mapred/FileInputFormat.html?is-external=true" title="class or interface in org.apache.hadoop.mapred"><code>FileInputFormat</code></a>.
</p>
<p>
A concrete implementation of this class should implement <a href="../../../../gobblin/source/extractor/hadoop/OldApiHadoopFileInputSource.html#getFileInputFormat-gobblin.configuration.State-org.apache.hadoop.mapred.JobConf-"><code>getFileInputFormat(State, JobConf)</code></a>
and <a href="../../../../gobblin/source/extractor/hadoop/OldApiHadoopFileInputSource.html#getExtractor-gobblin.configuration.WorkUnitState-org.apache.hadoop.mapred.RecordReader-org.apache.hadoop.mapred.FileSplit-boolean-"><code>getExtractor(WorkUnitState, RecordReader, FileSplit, boolean)</code></a>, which returns a
<a href="../../../../gobblin/source/extractor/hadoop/OldApiHadoopFileInputExtractor.html" title="class in gobblin.source.extractor.hadoop"><code>OldApiHadoopFileInputExtractor</code></a> that needs an concrete implementation.
</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/extractor/hadoop/OldApiHadoopFileInputSource.html#OldApiHadoopFileInputSource--">OldApiHadoopFileInputSource</a></span>()</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="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract 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="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>&lt;<a href="../../../../gobblin/source/extractor/hadoop/OldApiHadoopFileInputSource.html" title="type parameter in OldApiHadoopFileInputSource">S</a>,<a href="../../../../gobblin/source/extractor/hadoop/OldApiHadoopFileInputSource.html" title="type parameter in OldApiHadoopFileInputSource">D</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../gobblin/source/extractor/hadoop/OldApiHadoopFileInputSource.html#getExtractor-gobblin.configuration.WorkUnitState-">getExtractor</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>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>protected abstract <a href="../../../../gobblin/source/extractor/hadoop/OldApiHadoopFileInputExtractor.html" title="class in gobblin.source.extractor.hadoop">OldApiHadoopFileInputExtractor</a>&lt;<a href="../../../../gobblin/source/extractor/hadoop/OldApiHadoopFileInputSource.html" title="type parameter in OldApiHadoopFileInputSource">S</a>,<a href="../../../../gobblin/source/extractor/hadoop/OldApiHadoopFileInputSource.html" title="type parameter in OldApiHadoopFileInputSource">D</a>,<a href="../../../../gobblin/source/extractor/hadoop/OldApiHadoopFileInputSource.html" title="type parameter in OldApiHadoopFileInputSource">K</a>,<a href="../../../../gobblin/source/extractor/hadoop/OldApiHadoopFileInputSource.html" title="type parameter in OldApiHadoopFileInputSource">V</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../gobblin/source/extractor/hadoop/OldApiHadoopFileInputSource.html#getExtractor-gobblin.configuration.WorkUnitState-org.apache.hadoop.mapred.RecordReader-org.apache.hadoop.mapred.FileSplit-boolean-">getExtractor</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,
<a href="http://hadoop.apache.org/docs/r2.3.0/api/org/apache/hadoop/mapred/RecordReader.html?is-external=true" title="class or interface in org.apache.hadoop.mapred">RecordReader</a>&lt;<a href="../../../../gobblin/source/extractor/hadoop/OldApiHadoopFileInputSource.html" title="type parameter in OldApiHadoopFileInputSource">K</a>,<a href="../../../../gobblin/source/extractor/hadoop/OldApiHadoopFileInputSource.html" title="type parameter in OldApiHadoopFileInputSource">V</a>&gt;&nbsp;recordReader,
<a href="http://hadoop.apache.org/docs/r2.3.0/api/org/apache/hadoop/mapred/FileSplit.html?is-external=true" title="class or interface in org.apache.hadoop.mapred">FileSplit</a>&nbsp;fileSplit,
boolean&nbsp;readKeys)</code>
<div class="block">Get a <a href="../../../../gobblin/source/extractor/hadoop/OldApiHadoopFileInputExtractor.html" title="class in gobblin.source.extractor.hadoop"><code>OldApiHadoopFileInputExtractor</code></a> instance.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>protected <a href="http://hadoop.apache.org/docs/r2.3.0/api/org/apache/hadoop/mapred/FileInputFormat.html?is-external=true" title="class or interface in org.apache.hadoop.mapred">FileInputFormat</a>&lt;<a href="../../../../gobblin/source/extractor/hadoop/OldApiHadoopFileInputSource.html" title="type parameter in OldApiHadoopFileInputSource">K</a>,<a href="../../../../gobblin/source/extractor/hadoop/OldApiHadoopFileInputSource.html" title="type parameter in OldApiHadoopFileInputSource">V</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../gobblin/source/extractor/hadoop/OldApiHadoopFileInputSource.html#getFileInputFormat-gobblin.configuration.State-org.apache.hadoop.mapred.JobConf-">getFileInputFormat</a></span>(<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/configuration/State.html?is-external=true" title="class or interface in gobblin.configuration">State</a>&nbsp;state,
<a href="http://hadoop.apache.org/docs/r2.3.0/api/org/apache/hadoop/mapred/JobConf.html?is-external=true" title="class or interface in org.apache.hadoop.mapred">JobConf</a>&nbsp;jobConf)</code>
<div class="block">Get a <a href="http://hadoop.apache.org/docs/r2.3.0/api/org/apache/hadoop/mapred/FileInputFormat.html?is-external=true" title="class or interface in org.apache.hadoop.mapred"><code>FileInputFormat</code></a> instance used to get <a href="http://hadoop.apache.org/docs/r2.3.0/api/org/apache/hadoop/mapred/FileSplit.html?is-external=true" title="class or interface in org.apache.hadoop.mapred"><code>FileSplit</code></a>s and a <a href="http://hadoop.apache.org/docs/r2.3.0/api/org/apache/hadoop/mapred/RecordReader.html?is-external=true" title="class or interface in org.apache.hadoop.mapred"><code>RecordReader</code></a>
for every <a href="http://hadoop.apache.org/docs/r2.3.0/api/org/apache/hadoop/mapred/FileSplit.html?is-external=true" title="class or interface in org.apache.hadoop.mapred"><code>FileSplit</code></a>.</div>
</td>
</tr>
<tr id="i3" 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/source/workunit/WorkUnit.html?is-external=true" title="class or interface in gobblin.source.workunit">WorkUnit</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../gobblin/source/extractor/hadoop/OldApiHadoopFileInputSource.html#getWorkunits-gobblin.configuration.SourceState-">getWorkunits</a></span>(<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/configuration/SourceState.html?is-external=true" title="class or interface in gobblin.configuration">SourceState</a>&nbsp;state)</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../gobblin/source/extractor/hadoop/OldApiHadoopFileInputSource.html#shutdown-gobblin.configuration.SourceState-">shutdown</a></span>(<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/configuration/SourceState.html?is-external=true" title="class or interface in gobblin.configuration">SourceState</a>&nbsp;state)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.gobblin.source.extractor.extract.AbstractSource">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;gobblin.source.extractor.extract.<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-core-base/gobblin/source/extractor/extract/AbstractSource.html?is-external=true" title="class or interface in gobblin.source.extractor.extract">AbstractSource</a></h3>
<code><a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-core-base/gobblin/source/extractor/extract/AbstractSource.html?is-external=true#createExtract-gobblin.source.workunit.Extract.TableType-java.lang.String-java.lang.String-" title="class or interface in gobblin.source.extractor.extract">createExtract</a>, <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-core-base/gobblin/source/extractor/extract/AbstractSource.html?is-external=true#getPreviousWorkUnitsForRetry-gobblin.configuration.SourceState-" title="class or interface in gobblin.source.extractor.extract">getPreviousWorkUnitsForRetry</a>, <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-core-base/gobblin/source/extractor/extract/AbstractSource.html?is-external=true#getPreviousWorkUnitStatesForRetry-gobblin.configuration.SourceState-" title="class or interface in gobblin.source.extractor.extract">getPreviousWorkUnitStatesForRetry</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#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="OldApiHadoopFileInputSource--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>OldApiHadoopFileInputSource</h4>
<pre>public&nbsp;OldApiHadoopFileInputSource()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getWorkunits-gobblin.configuration.SourceState-">
<!-- -->
</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="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">WorkUnit</a>&gt;&nbsp;getWorkunits(<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/configuration/SourceState.html?is-external=true" title="class or interface in gobblin.configuration">SourceState</a>&nbsp;state)</pre>
</li>
</ul>
<a name="getExtractor-gobblin.configuration.WorkUnitState-">
<!-- -->
</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>&lt;<a href="../../../../gobblin/source/extractor/hadoop/OldApiHadoopFileInputSource.html" title="type parameter in OldApiHadoopFileInputSource">S</a>,<a href="../../../../gobblin/source/extractor/hadoop/OldApiHadoopFileInputSource.html" title="type parameter in OldApiHadoopFileInputSource">D</a>&gt;&nbsp;getExtractor(<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)
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="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="shutdown-gobblin.configuration.SourceState-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shutdown</h4>
<pre>public&nbsp;void&nbsp;shutdown(<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/configuration/SourceState.html?is-external=true" title="class or interface in gobblin.configuration">SourceState</a>&nbsp;state)</pre>
</li>
</ul>
<a name="getFileInputFormat-gobblin.configuration.State-org.apache.hadoop.mapred.JobConf-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFileInputFormat</h4>
<pre>protected&nbsp;<a href="http://hadoop.apache.org/docs/r2.3.0/api/org/apache/hadoop/mapred/FileInputFormat.html?is-external=true" title="class or interface in org.apache.hadoop.mapred">FileInputFormat</a>&lt;<a href="../../../../gobblin/source/extractor/hadoop/OldApiHadoopFileInputSource.html" title="type parameter in OldApiHadoopFileInputSource">K</a>,<a href="../../../../gobblin/source/extractor/hadoop/OldApiHadoopFileInputSource.html" title="type parameter in OldApiHadoopFileInputSource">V</a>&gt;&nbsp;getFileInputFormat(<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/configuration/State.html?is-external=true" title="class or interface in gobblin.configuration">State</a>&nbsp;state,
<a href="http://hadoop.apache.org/docs/r2.3.0/api/org/apache/hadoop/mapred/JobConf.html?is-external=true" title="class or interface in org.apache.hadoop.mapred">JobConf</a>&nbsp;jobConf)</pre>
<div class="block">Get a <a href="http://hadoop.apache.org/docs/r2.3.0/api/org/apache/hadoop/mapred/FileInputFormat.html?is-external=true" title="class or interface in org.apache.hadoop.mapred"><code>FileInputFormat</code></a> instance used to get <a href="http://hadoop.apache.org/docs/r2.3.0/api/org/apache/hadoop/mapred/FileSplit.html?is-external=true" title="class or interface in org.apache.hadoop.mapred"><code>FileSplit</code></a>s and a <a href="http://hadoop.apache.org/docs/r2.3.0/api/org/apache/hadoop/mapred/RecordReader.html?is-external=true" title="class or interface in org.apache.hadoop.mapred"><code>RecordReader</code></a>
for every <a href="http://hadoop.apache.org/docs/r2.3.0/api/org/apache/hadoop/mapred/FileSplit.html?is-external=true" title="class or interface in org.apache.hadoop.mapred"><code>FileSplit</code></a>.
<p>
This default implementation simply creates a new instance of a <a href="http://hadoop.apache.org/docs/r2.3.0/api/org/apache/hadoop/mapred/FileInputFormat.html?is-external=true" title="class or interface in org.apache.hadoop.mapred"><code>FileInputFormat</code></a> class
specified using the configuration property <a href="../../../../gobblin/source/extractor/hadoop/HadoopFileInputSource.html#FILE_INPUT_FORMAT_CLASS_KEY"><code>HadoopFileInputSource.FILE_INPUT_FORMAT_CLASS_KEY</code></a>.
</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>state</code> - a <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/configuration/State.html?is-external=true" title="class or interface in gobblin.configuration"><code>State</code></a> object carrying configuration properties</dd>
<dd><code>jobConf</code> - a Hadoop <a href="http://hadoop.apache.org/docs/r2.3.0/api/org/apache/hadoop/mapred/JobConf.html?is-external=true" title="class or interface in org.apache.hadoop.mapred"><code>JobConf</code></a> object carrying Hadoop configurations</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a <a href="http://hadoop.apache.org/docs/r2.3.0/api/org/apache/hadoop/mapred/FileInputFormat.html?is-external=true" title="class or interface in org.apache.hadoop.mapred"><code>FileInputFormat</code></a> instance</dd>
</dl>
</li>
</ul>
<a name="getExtractor-gobblin.configuration.WorkUnitState-org.apache.hadoop.mapred.RecordReader-org.apache.hadoop.mapred.FileSplit-boolean-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getExtractor</h4>
<pre>protected abstract&nbsp;<a href="../../../../gobblin/source/extractor/hadoop/OldApiHadoopFileInputExtractor.html" title="class in gobblin.source.extractor.hadoop">OldApiHadoopFileInputExtractor</a>&lt;<a href="../../../../gobblin/source/extractor/hadoop/OldApiHadoopFileInputSource.html" title="type parameter in OldApiHadoopFileInputSource">S</a>,<a href="../../../../gobblin/source/extractor/hadoop/OldApiHadoopFileInputSource.html" title="type parameter in OldApiHadoopFileInputSource">D</a>,<a href="../../../../gobblin/source/extractor/hadoop/OldApiHadoopFileInputSource.html" title="type parameter in OldApiHadoopFileInputSource">K</a>,<a href="../../../../gobblin/source/extractor/hadoop/OldApiHadoopFileInputSource.html" title="type parameter in OldApiHadoopFileInputSource">V</a>&gt;&nbsp;getExtractor(<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,
<a href="http://hadoop.apache.org/docs/r2.3.0/api/org/apache/hadoop/mapred/RecordReader.html?is-external=true" title="class or interface in org.apache.hadoop.mapred">RecordReader</a>&lt;<a href="../../../../gobblin/source/extractor/hadoop/OldApiHadoopFileInputSource.html" title="type parameter in OldApiHadoopFileInputSource">K</a>,<a href="../../../../gobblin/source/extractor/hadoop/OldApiHadoopFileInputSource.html" title="type parameter in OldApiHadoopFileInputSource">V</a>&gt;&nbsp;recordReader,
<a href="http://hadoop.apache.org/docs/r2.3.0/api/org/apache/hadoop/mapred/FileSplit.html?is-external=true" title="class or interface in org.apache.hadoop.mapred">FileSplit</a>&nbsp;fileSplit,
boolean&nbsp;readKeys)</pre>
<div class="block">Get a <a href="../../../../gobblin/source/extractor/hadoop/OldApiHadoopFileInputExtractor.html" title="class in gobblin.source.extractor.hadoop"><code>OldApiHadoopFileInputExtractor</code></a> instance.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>workUnitState</code> - a <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"><code>WorkUnitState</code></a> object carrying Gobblin configuration properties</dd>
<dd><code>recordReader</code> - a Hadoop <a href="http://hadoop.apache.org/docs/r2.3.0/api/org/apache/hadoop/mapred/RecordReader.html?is-external=true" title="class or interface in org.apache.hadoop.mapred"><code>RecordReader</code></a> object used to read input records</dd>
<dd><code>fileSplit</code> - the <a href="http://hadoop.apache.org/docs/r2.3.0/api/org/apache/hadoop/mapred/FileSplit.html?is-external=true" title="class or interface in org.apache.hadoop.mapred"><code>FileSplit</code></a> to read input records from</dd>
<dd><code>readKeys</code> - whether the <a href="../../../../gobblin/source/extractor/hadoop/OldApiHadoopFileInputExtractor.html" title="class in gobblin.source.extractor.hadoop"><code>OldApiHadoopFileInputExtractor</code></a> should read keys of type <code>#<K></code>;
by default values of type <code>#>V></code> are read.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a <a href="../../../../gobblin/source/extractor/hadoop/OldApiHadoopFileInputExtractor.html" title="class in gobblin.source.extractor.hadoop"><code>OldApiHadoopFileInputExtractor</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/extractor/hadoop/OldApiHadoopFileInputExtractor.html" title="class in gobblin.source.extractor.hadoop"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../gobblin/source/extractor/hadoop/OldApiHadoopTextInputSource.html" title="class in gobblin.source.extractor.hadoop"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?gobblin/source/extractor/hadoop/OldApiHadoopFileInputSource.html" target="_top">Frames</a></li>
<li><a href="OldApiHadoopFileInputSource.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>