blob: 83c313fca98f8fad32f15aa0d0b9893434d8d5df [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:21 PDT 2017 -->
<title>SpecCompiler (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="SpecCompiler (gobblin-runtime 0.11.0 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":6,"i1":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract 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/api/SpecCatalogListenersContainer.html" title="interface in gobblin.runtime.api"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../gobblin/runtime/api/SpecNotFoundException.html" title="class in gobblin.runtime.api"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?gobblin/runtime/api/SpecCompiler.html" target="_top">Frames</a></li>
<li><a href="SpecCompiler.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>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">gobblin.runtime.api</div>
<h2 title="Interface SpecCompiler" class="title">Interface SpecCompiler</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Superinterfaces:</dt>
<dd><a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-core-base/gobblin/instrumented/Instrumentable.html?is-external=true" title="class or interface in gobblin.instrumented">Instrumentable</a>, <a href="../../../gobblin/runtime/api/SpecCatalogListener.html" title="interface in gobblin.runtime.api">SpecCatalogListener</a></dd>
</dl>
<hr>
<br>
<pre>public interface <span class="typeNameLabel">SpecCompiler</span>
extends <a href="../../../gobblin/runtime/api/SpecCatalogListener.html" title="interface in gobblin.runtime.api">SpecCatalogListener</a>, <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-core-base/gobblin/instrumented/Instrumentable.html?is-external=true" title="class or interface in gobblin.instrumented">Instrumentable</a></pre>
<div class="block">Take in a logical <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/runtime/api/Spec.html?is-external=true" title="class or interface in gobblin.runtime.api"><code>Spec</code></a> and compile corresponding materialized <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/runtime/api/Spec.html?is-external=true" title="class or interface in gobblin.runtime.api"><code>Spec</code></a>s
and the mapping to <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/runtime/api/SpecExecutorInstance.html?is-external=true" title="class or interface in gobblin.runtime.api"><code>SpecExecutorInstance</code></a> that they can be run on.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="nested.classes.inherited.from.class.gobblin.runtime.api.SpecCatalogListener">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from interface&nbsp;gobblin.runtime.api.<a href="../../../gobblin/runtime/api/SpecCatalogListener.html" title="interface in gobblin.runtime.api">SpecCatalogListener</a></h3>
<code><a href="../../../gobblin/runtime/api/SpecCatalogListener.AddSpecCallback.html" title="class in gobblin.runtime.api">SpecCatalogListener.AddSpecCallback</a>, <a href="../../../gobblin/runtime/api/SpecCatalogListener.DeleteSpecCallback.html" title="class in gobblin.runtime.api">SpecCatalogListener.DeleteSpecCallback</a>, <a href="../../../gobblin/runtime/api/SpecCatalogListener.UpdateSpecCallback.html" title="class in gobblin.runtime.api">SpecCatalogListener.UpdateSpecCallback</a></code></li>
</ul>
</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></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/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/runtime/api/Spec.html?is-external=true" title="class or interface in gobblin.runtime.api">Spec</a>,<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/runtime/api/SpecExecutorInstanceProducer.html?is-external=true" title="class or interface in gobblin.runtime.api">SpecExecutorInstanceProducer</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/runtime/api/SpecCompiler.html#compileFlow-gobblin.runtime.api.Spec-">compileFlow</a></span>(<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/runtime/api/Spec.html?is-external=true" title="class or interface in gobblin.runtime.api">Spec</a>&nbsp;spec)</code>
<div class="block">Take in a logical <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/runtime/api/Spec.html?is-external=true" title="class or interface in gobblin.runtime.api"><code>Spec</code></a> and compile corresponding materialized <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/runtime/api/Spec.html?is-external=true" title="class or interface in gobblin.runtime.api"><code>Spec</code></a>s
and the mapping to <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/runtime/api/SpecExecutorInstance.html?is-external=true" title="class or interface in gobblin.runtime.api"><code>SpecExecutorInstance</code></a> that they can be run on.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/7/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</a>,<a href="../../../gobblin/runtime/api/TopologySpec.html" title="class in gobblin.runtime.api">TopologySpec</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/runtime/api/SpecCompiler.html#getTopologySpecMap--">getTopologySpecMap</a></span>()</code>
<div class="block">Map of <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/runtime/api/Spec.html?is-external=true" title="class or interface in gobblin.runtime.api"><code>Spec</code></a> URI and <a href="../../../gobblin/runtime/api/TopologySpec.html" title="class in gobblin.runtime.api"><code>TopologySpec</code></a> the <a href="../../../gobblin/runtime/api/SpecCompiler.html" title="interface in gobblin.runtime.api"><code>SpecCompiler</code></a>
is aware about.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.gobblin.runtime.api.SpecCatalogListener">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;gobblin.runtime.api.<a href="../../../gobblin/runtime/api/SpecCatalogListener.html" title="interface in gobblin.runtime.api">SpecCatalogListener</a></h3>
<code><a href="../../../gobblin/runtime/api/SpecCatalogListener.html#onAddSpec-gobblin.runtime.api.Spec-">onAddSpec</a>, <a href="../../../gobblin/runtime/api/SpecCatalogListener.html#onDeleteSpec-java.net.URI-java.lang.String-">onDeleteSpec</a>, <a href="../../../gobblin/runtime/api/SpecCatalogListener.html#onUpdateSpec-gobblin.runtime.api.Spec-">onUpdateSpec</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.gobblin.instrumented.Instrumentable">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;gobblin.instrumented.<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-core-base/gobblin/instrumented/Instrumentable.html?is-external=true" title="class or interface in gobblin.instrumented">Instrumentable</a></h3>
<code><a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-core-base/gobblin/instrumented/Instrumentable.html?is-external=true#generateTags-gobblin.configuration.State-" title="class or interface in gobblin.instrumented">generateTags</a>, <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-core-base/gobblin/instrumented/Instrumentable.html?is-external=true#getMetricContext--" title="class or interface in gobblin.instrumented">getMetricContext</a>, <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-core-base/gobblin/instrumented/Instrumentable.html?is-external=true#isInstrumentationEnabled--" title="class or interface in gobblin.instrumented">isInstrumentationEnabled</a>, <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-core-base/gobblin/instrumented/Instrumentable.html?is-external=true#switchMetricContext-java.util.List-" title="class or interface in gobblin.instrumented">switchMetricContext</a>, <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-core-base/gobblin/instrumented/Instrumentable.html?is-external=true#switchMetricContext-gobblin.metrics.MetricContext-" title="class or interface in gobblin.instrumented">switchMetricContext</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="compileFlow-gobblin.runtime.api.Spec-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>compileFlow</h4>
<pre><a href="https://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/runtime/api/Spec.html?is-external=true" title="class or interface in gobblin.runtime.api">Spec</a>,<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/runtime/api/SpecExecutorInstanceProducer.html?is-external=true" title="class or interface in gobblin.runtime.api">SpecExecutorInstanceProducer</a>&gt;&nbsp;compileFlow(<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/runtime/api/Spec.html?is-external=true" title="class or interface in gobblin.runtime.api">Spec</a>&nbsp;spec)</pre>
<div class="block">Take in a logical <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/runtime/api/Spec.html?is-external=true" title="class or interface in gobblin.runtime.api"><code>Spec</code></a> and compile corresponding materialized <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/runtime/api/Spec.html?is-external=true" title="class or interface in gobblin.runtime.api"><code>Spec</code></a>s
and the mapping to <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/runtime/api/SpecExecutorInstance.html?is-external=true" title="class or interface in gobblin.runtime.api"><code>SpecExecutorInstance</code></a> that they can be run on.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>spec</code> - <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/runtime/api/Spec.html?is-external=true" title="class or interface in gobblin.runtime.api"><code>Spec</code></a> to compile.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Map of materialized physical <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/runtime/api/Spec.html?is-external=true" title="class or interface in gobblin.runtime.api"><code>Spec</code></a> and <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/runtime/api/SpecExecutorInstance.html?is-external=true" title="class or interface in gobblin.runtime.api"><code>SpecExecutorInstance</code></a>.</dd>
</dl>
</li>
</ul>
<a name="getTopologySpecMap--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getTopologySpecMap</h4>
<pre><a href="https://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/7/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</a>,<a href="../../../gobblin/runtime/api/TopologySpec.html" title="class in gobblin.runtime.api">TopologySpec</a>&gt;&nbsp;getTopologySpecMap()</pre>
<div class="block">Map of <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/runtime/api/Spec.html?is-external=true" title="class or interface in gobblin.runtime.api"><code>Spec</code></a> URI and <a href="../../../gobblin/runtime/api/TopologySpec.html" title="class in gobblin.runtime.api"><code>TopologySpec</code></a> the <a href="../../../gobblin/runtime/api/SpecCompiler.html" title="interface in gobblin.runtime.api"><code>SpecCompiler</code></a>
is aware about.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Map of <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/runtime/api/Spec.html?is-external=true" title="class or interface in gobblin.runtime.api"><code>Spec</code></a> URI and <a href="../../../gobblin/runtime/api/TopologySpec.html" title="class in gobblin.runtime.api"><code>TopologySpec</code></a></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/runtime/api/SpecCatalogListenersContainer.html" title="interface in gobblin.runtime.api"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../gobblin/runtime/api/SpecNotFoundException.html" title="class in gobblin.runtime.api"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?gobblin/runtime/api/SpecCompiler.html" target="_top">Frames</a></li>
<li><a href="SpecCompiler.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>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>