blob: abebd807d1ceda7d78a064f865d133b7b7cd6c76 [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:49 PDT 2017 -->
<title>CopySource (gobblin-data-management 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="CopySource (gobblin-data-management 0.11.0 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":9,"i1":9,"i2":10,"i3":9,"i4":10,"i5":10,"i6":9,"i7":10,"i8":9,"i9":9,"i10":9,"i11":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/data/management/copy/CopyResourcePool.CopyResourceRequirementBuilder.html" title="class in gobblin.data.management.copy"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../gobblin/data/management/copy/FileAwareInputStream.html" title="class in gobblin.data.management.copy"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?gobblin/data/management/copy/CopySource.html" target="_top">Frames</a></li>
<li><a href="CopySource.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><a href="#field.summary">Field</a>&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><a href="#field.detail">Field</a>&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.data.management.copy</div>
<h2 title="Class CopySource" class="title">Class CopySource</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/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;<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>,<a href="../../../../gobblin/data/management/copy/FileAwareInputStream.html" title="class in gobblin.data.management.copy">FileAwareInputStream</a>&gt;</li>
<li>
<ul class="inheritance">
<li>gobblin.data.management.copy.CopySource</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<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;<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>,<a href="../../../../gobblin/data/management/copy/FileAwareInputStream.html" title="class in gobblin.data.management.copy">FileAwareInputStream</a>&gt;</dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../gobblin/data/management/copy/CloseableFsCopySource.html" title="class in gobblin.data.management.copy">CloseableFsCopySource</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">CopySource</span>
extends <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-core/gobblin/source/extractor/extract/AbstractSource.html?is-external=true" title="class or interface in gobblin.source.extractor.extract">AbstractSource</a>&lt;<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>,<a href="../../../../gobblin/data/management/copy/FileAwareInputStream.html" title="class in gobblin.data.management.copy">FileAwareInputStream</a>&gt;</pre>
<div class="block"><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 generates work units from <a href="../../../../gobblin/data/management/copy/CopyableDataset.html" title="interface in gobblin.data.management.copy"><code>CopyableDataset</code></a>s.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <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></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../gobblin/data/management/copy/CopySource.html#COPY_ENTITY_CLASS">COPY_ENTITY_CLASS</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <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></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../gobblin/data/management/copy/CopySource.html#DEFAULT_DATASET_PROFILE_CLASS_KEY">DEFAULT_DATASET_PROFILE_CLASS_KEY</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../gobblin/data/management/copy/CopySource.html#DEFAULT_MAX_CONCURRENT_LISTING_SERVICES">DEFAULT_MAX_CONCURRENT_LISTING_SERVICES</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <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></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../gobblin/data/management/copy/CopySource.html#MAX_CONCURRENT_LISTING_SERVICES">MAX_CONCURRENT_LISTING_SERVICES</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <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></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../gobblin/data/management/copy/CopySource.html#MAX_FILES_COPIED_KEY">MAX_FILES_COPIED_KEY</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <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></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../gobblin/data/management/copy/CopySource.html#MAX_SIZE_MULTI_WORKUNITS">MAX_SIZE_MULTI_WORKUNITS</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <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></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../gobblin/data/management/copy/CopySource.html#MAX_WORK_UNITS_PER_BIN">MAX_WORK_UNITS_PER_BIN</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-metrics/gobblin/metrics/MetricContext.html?is-external=true" title="class or interface in gobblin.metrics">MetricContext</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../gobblin/data/management/copy/CopySource.html#metricContext">metricContext</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <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></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../gobblin/data/management/copy/CopySource.html#SERIALIZED_COPYABLE_DATASET">SERIALIZED_COPYABLE_DATASET</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <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></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../gobblin/data/management/copy/CopySource.html#SERIALIZED_COPYABLE_FILE">SERIALIZED_COPYABLE_FILE</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <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></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../gobblin/data/management/copy/CopySource.html#SIMULATE">SIMULATE</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <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></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../gobblin/data/management/copy/CopySource.html#WORK_UNIT_GUID">WORK_UNIT_GUID</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== 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/data/management/copy/CopySource.html#CopySource--">CopySource</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="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>static <a href="../../../../gobblin/data/management/copy/CopyableDatasetMetadata.html" title="class in gobblin.data.management.copy">CopyableDatasetMetadata</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../gobblin/data/management/copy/CopySource.html#deserializeCopyableDataset-gobblin.configuration.State-">deserializeCopyableDataset</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)</code>
<div class="block">Deserialize a <a href="../../../../gobblin/data/management/copy/CopyableDataset.html" title="interface in gobblin.data.management.copy"><code>CopyableDataset</code></a> from 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> at <a href="../../../../gobblin/data/management/copy/CopySource.html#SERIALIZED_COPYABLE_DATASET"><code>SERIALIZED_COPYABLE_DATASET</code></a></div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../gobblin/data/management/copy/CopyEntity.html" title="class in gobblin.data.management.copy">CopyEntity</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../gobblin/data/management/copy/CopySource.html#deserializeCopyEntity-gobblin.configuration.State-">deserializeCopyEntity</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)</code>
<div class="block">Deserialize a <a href="https://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code></a> of <a href="../../../../gobblin/data/management/copy/CopyEntity.html" title="class in gobblin.data.management.copy"><code>CopyEntity</code></a>s from 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> at <a href="../../../../gobblin/data/management/copy/CopySource.html#SERIALIZED_COPYABLE_FILE"><code>SERIALIZED_COPYABLE_FILE</code></a></div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>protected <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="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../gobblin/data/management/copy/FileAwareInputStream.html" title="class in gobblin.data.management.copy">FileAwareInputStream</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../gobblin/data/management/copy/CopySource.html#extractorForCopyableFile-org.apache.hadoop.fs.FileSystem-gobblin.data.management.copy.CopyableFile-gobblin.configuration.WorkUnitState-">extractorForCopyableFile</a></span>(<a href="http://hadoop.apache.org/docs/r2.3.0/api/org/apache/hadoop/fs/FileSystem.html?is-external=true" title="class or interface in org.apache.hadoop.fs">FileSystem</a>&nbsp;fs,
<a href="../../../../gobblin/data/management/copy/CopyableFile.html" title="class in gobblin.data.management.copy">CopyableFile</a>&nbsp;cf,
<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;state)</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../gobblin/data/management/copy/CopySource.html#getCopyEntityClass-gobblin.configuration.State-">getCopyEntityClass</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)</code>&nbsp;</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>&lt;<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>,<a href="../../../../gobblin/data/management/copy/FileAwareInputStream.html" title="class in gobblin.data.management.copy">FileAwareInputStream</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../gobblin/data/management/copy/CopySource.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;state)</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>protected <a href="http://hadoop.apache.org/docs/r2.3.0/api/org/apache/hadoop/fs/FileSystem.html?is-external=true" title="class or interface in org.apache.hadoop.fs">FileSystem</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../gobblin/data/management/copy/CopySource.html#getSourceFileSystem-gobblin.configuration.State-">getSourceFileSystem</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)</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>static <a href="http://google.github.io/guava/releases/15.0/api/docs/com/google/common/base/Optional.html?is-external=true" title="class or interface in com.google.common.base">Optional</a>&lt;<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-utility/gobblin/util/guid/Guid.html?is-external=true" title="class or interface in gobblin.util.guid">Guid</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../gobblin/data/management/copy/CopySource.html#getWorkUnitGuid-gobblin.configuration.State-">getWorkUnitGuid</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)</code>
<div class="block">Get guid in this state if available.</div>
</td>
</tr>
<tr id="i7" 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/data/management/copy/CopySource.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>
<div class="block">
Does the following:
Instantiate a <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/dataset/DatasetsFinder.html?is-external=true" title="class or interface in gobblin.dataset"><code>DatasetsFinder</code></a>.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../gobblin/data/management/copy/CopySource.html#serializeCopyableDataset-gobblin.configuration.State-gobblin.data.management.copy.CopyableDatasetMetadata-">serializeCopyableDataset</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="../../../../gobblin/data/management/copy/CopyableDatasetMetadata.html" title="class in gobblin.data.management.copy">CopyableDatasetMetadata</a>&nbsp;copyableDataset)</code>
<div class="block">Serialize a <a href="../../../../gobblin/data/management/copy/CopyableDataset.html" title="interface in gobblin.data.management.copy"><code>CopyableDataset</code></a> into 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> at <a href="../../../../gobblin/data/management/copy/CopySource.html#SERIALIZED_COPYABLE_DATASET"><code>SERIALIZED_COPYABLE_DATASET</code></a></div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../gobblin/data/management/copy/CopySource.html#serializeCopyEntity-gobblin.configuration.State-gobblin.data.management.copy.CopyEntity-">serializeCopyEntity</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="../../../../gobblin/data/management/copy/CopyEntity.html" title="class in gobblin.data.management.copy">CopyEntity</a>&nbsp;copyEntity)</code>
<div class="block">Serialize a <a href="https://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code></a> of <a href="../../../../gobblin/data/management/copy/CopyEntity.html" title="class in gobblin.data.management.copy"><code>CopyEntity</code></a>s into 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> at <a href="../../../../gobblin/data/management/copy/CopySource.html#SERIALIZED_COPYABLE_FILE"><code>SERIALIZED_COPYABLE_FILE</code></a></div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../gobblin/data/management/copy/CopySource.html#setWorkUnitGuid-gobblin.configuration.State-gobblin.util.guid.Guid-">setWorkUnitGuid</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://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-utility/gobblin/util/guid/Guid.html?is-external=true" title="class or interface in gobblin.util.guid">Guid</a>&nbsp;guid)</code>
<div class="block">Set a unique, replicable guid for this work unit.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../gobblin/data/management/copy/CopySource.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/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/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/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/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">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="DEFAULT_DATASET_PROFILE_CLASS_KEY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_DATASET_PROFILE_CLASS_KEY</h4>
<pre>public static final&nbsp;<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> DEFAULT_DATASET_PROFILE_CLASS_KEY</pre>
</li>
</ul>
<a name="SERIALIZED_COPYABLE_FILE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SERIALIZED_COPYABLE_FILE</h4>
<pre>public static final&nbsp;<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> SERIALIZED_COPYABLE_FILE</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#gobblin.data.management.copy.CopySource.SERIALIZED_COPYABLE_FILE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="COPY_ENTITY_CLASS">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>COPY_ENTITY_CLASS</h4>
<pre>public static final&nbsp;<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> COPY_ENTITY_CLASS</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#gobblin.data.management.copy.CopySource.COPY_ENTITY_CLASS">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="SERIALIZED_COPYABLE_DATASET">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SERIALIZED_COPYABLE_DATASET</h4>
<pre>public static final&nbsp;<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> SERIALIZED_COPYABLE_DATASET</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#gobblin.data.management.copy.CopySource.SERIALIZED_COPYABLE_DATASET">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="WORK_UNIT_GUID">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>WORK_UNIT_GUID</h4>
<pre>public static final&nbsp;<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> WORK_UNIT_GUID</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#gobblin.data.management.copy.CopySource.WORK_UNIT_GUID">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="MAX_CONCURRENT_LISTING_SERVICES">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MAX_CONCURRENT_LISTING_SERVICES</h4>
<pre>public static final&nbsp;<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> MAX_CONCURRENT_LISTING_SERVICES</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#gobblin.data.management.copy.CopySource.MAX_CONCURRENT_LISTING_SERVICES">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="DEFAULT_MAX_CONCURRENT_LISTING_SERVICES">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_MAX_CONCURRENT_LISTING_SERVICES</h4>
<pre>public static final&nbsp;int DEFAULT_MAX_CONCURRENT_LISTING_SERVICES</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#gobblin.data.management.copy.CopySource.DEFAULT_MAX_CONCURRENT_LISTING_SERVICES">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="MAX_FILES_COPIED_KEY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MAX_FILES_COPIED_KEY</h4>
<pre>public static final&nbsp;<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> MAX_FILES_COPIED_KEY</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#gobblin.data.management.copy.CopySource.MAX_FILES_COPIED_KEY">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="SIMULATE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SIMULATE</h4>
<pre>public static final&nbsp;<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> SIMULATE</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#gobblin.data.management.copy.CopySource.SIMULATE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="MAX_SIZE_MULTI_WORKUNITS">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MAX_SIZE_MULTI_WORKUNITS</h4>
<pre>public static final&nbsp;<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> MAX_SIZE_MULTI_WORKUNITS</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#gobblin.data.management.copy.CopySource.MAX_SIZE_MULTI_WORKUNITS">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="MAX_WORK_UNITS_PER_BIN">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MAX_WORK_UNITS_PER_BIN</h4>
<pre>public static final&nbsp;<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> MAX_WORK_UNITS_PER_BIN</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#gobblin.data.management.copy.CopySource.MAX_WORK_UNITS_PER_BIN">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="metricContext">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>metricContext</h4>
<pre>public&nbsp;<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-metrics/gobblin/metrics/MetricContext.html?is-external=true" title="class or interface in gobblin.metrics">MetricContext</a> metricContext</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="CopySource--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>CopySource</h4>
<pre>public&nbsp;CopySource()</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>
<div class="block"><ul>
Does the following:
<li>Instantiate a <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/dataset/DatasetsFinder.html?is-external=true" title="class or interface in gobblin.dataset"><code>DatasetsFinder</code></a>.
<li>Find all <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/dataset/Dataset.html?is-external=true" title="class or interface in gobblin.dataset"><code>Dataset</code></a> using <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/dataset/DatasetsFinder.html?is-external=true" title="class or interface in gobblin.dataset"><code>DatasetsFinder</code></a>.
<li>For each <a href="../../../../gobblin/data/management/copy/CopyableDataset.html" title="interface in gobblin.data.management.copy"><code>CopyableDataset</code></a> get all <a href="../../../../gobblin/data/management/copy/CopyEntity.html" title="class in gobblin.data.management.copy"><code>CopyEntity</code></a>s.
<li>Create a <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> per <a href="../../../../gobblin/data/management/copy/CopyEntity.html" title="class in gobblin.data.management.copy"><code>CopyEntity</code></a>.
</ul>
<p>
In this implementation, one workunit is created for every <a href="../../../../gobblin/data/management/copy/CopyEntity.html" title="class in gobblin.data.management.copy"><code>CopyEntity</code></a> found. But the extractor/converters
and writers are built to support multiple <a href="../../../../gobblin/data/management/copy/CopyEntity.html" title="class in gobblin.data.management.copy"><code>CopyEntity</code></a>s per workunit
</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>state</code> - see <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"><code>SourceState</code></a></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Work units for copying files.</dd>
</dl>
</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="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../gobblin/data/management/copy/FileAwareInputStream.html" title="class in gobblin.data.management.copy">FileAwareInputStream</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;state)
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="paramLabel">Parameters:</span></dt>
<dd><code>state</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> carrying properties needed by the returned
<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></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a <a href="../../../../gobblin/data/management/copy/extractor/FileAwareInputStreamExtractor.html" title="class in gobblin.data.management.copy.extractor"><code>FileAwareInputStreamExtractor</code></a>.</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="extractorForCopyableFile-org.apache.hadoop.fs.FileSystem-gobblin.data.management.copy.CopyableFile-gobblin.configuration.WorkUnitState-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>extractorForCopyableFile</h4>
<pre>protected&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="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../gobblin/data/management/copy/FileAwareInputStream.html" title="class in gobblin.data.management.copy">FileAwareInputStream</a>&gt;&nbsp;extractorForCopyableFile(<a href="http://hadoop.apache.org/docs/r2.3.0/api/org/apache/hadoop/fs/FileSystem.html?is-external=true" title="class or interface in org.apache.hadoop.fs">FileSystem</a>&nbsp;fs,
<a href="../../../../gobblin/data/management/copy/CopyableFile.html" title="class in gobblin.data.management.copy">CopyableFile</a>&nbsp;cf,
<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;state)
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="getSourceFileSystem-gobblin.configuration.State-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSourceFileSystem</h4>
<pre>protected&nbsp;<a href="http://hadoop.apache.org/docs/r2.3.0/api/org/apache/hadoop/fs/FileSystem.html?is-external=true" title="class or interface in org.apache.hadoop.fs">FileSystem</a>&nbsp;getSourceFileSystem(<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)
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="setWorkUnitGuid-gobblin.configuration.State-gobblin.util.guid.Guid-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setWorkUnitGuid</h4>
<pre>public static&nbsp;void&nbsp;setWorkUnitGuid(<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://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-utility/gobblin/util/guid/Guid.html?is-external=true" title="class or interface in gobblin.util.guid">Guid</a>&nbsp;guid)</pre>
<div class="block">Set a unique, replicable guid for this work unit. Used for recovering partially successful work units.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>state</code> - <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> where guid should be written.</dd>
<dd><code>guid</code> - A byte array guid.</dd>
</dl>
</li>
</ul>
<a name="getWorkUnitGuid-gobblin.configuration.State-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWorkUnitGuid</h4>
<pre>public static&nbsp;<a href="http://google.github.io/guava/releases/15.0/api/docs/com/google/common/base/Optional.html?is-external=true" title="class or interface in com.google.common.base">Optional</a>&lt;<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-utility/gobblin/util/guid/Guid.html?is-external=true" title="class or interface in gobblin.util.guid">Guid</a>&gt;&nbsp;getWorkUnitGuid(<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)
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>
<div class="block">Get guid in this state if available. This is the reverse operation of <a href="../../../../gobblin/data/management/copy/CopySource.html#setWorkUnitGuid-gobblin.configuration.State-gobblin.util.guid.Guid-"><code>setWorkUnitGuid(gobblin.configuration.State, gobblin.util.guid.Guid)</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>state</code> - State from which guid should be extracted.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A byte array guid.</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="serializeCopyEntity-gobblin.configuration.State-gobblin.data.management.copy.CopyEntity-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>serializeCopyEntity</h4>
<pre>public static&nbsp;void&nbsp;serializeCopyEntity(<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="../../../../gobblin/data/management/copy/CopyEntity.html" title="class in gobblin.data.management.copy">CopyEntity</a>&nbsp;copyEntity)</pre>
<div class="block">Serialize a <a href="https://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code></a> of <a href="../../../../gobblin/data/management/copy/CopyEntity.html" title="class in gobblin.data.management.copy"><code>CopyEntity</code></a>s into 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> at <a href="../../../../gobblin/data/management/copy/CopySource.html#SERIALIZED_COPYABLE_FILE"><code>SERIALIZED_COPYABLE_FILE</code></a></div>
</li>
</ul>
<a name="getCopyEntityClass-gobblin.configuration.State-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCopyEntityClass</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;getCopyEntityClass(<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)
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="deserializeCopyEntity-gobblin.configuration.State-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deserializeCopyEntity</h4>
<pre>public static&nbsp;<a href="../../../../gobblin/data/management/copy/CopyEntity.html" title="class in gobblin.data.management.copy">CopyEntity</a>&nbsp;deserializeCopyEntity(<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)</pre>
<div class="block">Deserialize a <a href="https://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code></a> of <a href="../../../../gobblin/data/management/copy/CopyEntity.html" title="class in gobblin.data.management.copy"><code>CopyEntity</code></a>s from 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> at <a href="../../../../gobblin/data/management/copy/CopySource.html#SERIALIZED_COPYABLE_FILE"><code>SERIALIZED_COPYABLE_FILE</code></a></div>
</li>
</ul>
<a name="serializeCopyableDataset-gobblin.configuration.State-gobblin.data.management.copy.CopyableDatasetMetadata-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>serializeCopyableDataset</h4>
<pre>public static&nbsp;void&nbsp;serializeCopyableDataset(<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="../../../../gobblin/data/management/copy/CopyableDatasetMetadata.html" title="class in gobblin.data.management.copy">CopyableDatasetMetadata</a>&nbsp;copyableDataset)</pre>
<div class="block">Serialize a <a href="../../../../gobblin/data/management/copy/CopyableDataset.html" title="interface in gobblin.data.management.copy"><code>CopyableDataset</code></a> into 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> at <a href="../../../../gobblin/data/management/copy/CopySource.html#SERIALIZED_COPYABLE_DATASET"><code>SERIALIZED_COPYABLE_DATASET</code></a></div>
</li>
</ul>
<a name="deserializeCopyableDataset-gobblin.configuration.State-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>deserializeCopyableDataset</h4>
<pre>public static&nbsp;<a href="../../../../gobblin/data/management/copy/CopyableDatasetMetadata.html" title="class in gobblin.data.management.copy">CopyableDatasetMetadata</a>&nbsp;deserializeCopyableDataset(<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)</pre>
<div class="block">Deserialize a <a href="../../../../gobblin/data/management/copy/CopyableDataset.html" title="interface in gobblin.data.management.copy"><code>CopyableDataset</code></a> from 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> at <a href="../../../../gobblin/data/management/copy/CopySource.html#SERIALIZED_COPYABLE_DATASET"><code>SERIALIZED_COPYABLE_DATASET</code></a></div>
</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/data/management/copy/CopyResourcePool.CopyResourceRequirementBuilder.html" title="class in gobblin.data.management.copy"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../gobblin/data/management/copy/FileAwareInputStream.html" title="class in gobblin.data.management.copy"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?gobblin/data/management/copy/CopySource.html" target="_top">Frames</a></li>
<li><a href="CopySource.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><a href="#field.summary">Field</a>&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><a href="#field.detail">Field</a>&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>