blob: cf7dce2f2fae45292b1ec245f1cd78022f390233 [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:16:41 PDT 2017 -->
<title>HiveSerDeManager (gobblin-hive-registration 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="HiveSerDeManager (gobblin-hive-registration 0.11.0 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":6,"i1":6,"i2":9,"i3":6,"i4":6};
var tabs = {65535:["t0","All Methods"],1:["t1","Static 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/hive/HiveRegProps.html" title="class in gobblin.hive"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../gobblin/hive/HiveSerDeManager.Implementation.html" title="enum in gobblin.hive"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?gobblin/hive/HiveSerDeManager.html" target="_top">Frames</a></li>
<li><a href="HiveSerDeManager.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><a href="#nested.class.summary">Nested</a>&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.hive</div>
<h2 title="Class HiveSerDeManager" class="title">Class HiveSerDeManager</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>gobblin.hive.HiveSerDeManager</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../gobblin/hive/avro/HiveAvroSerDeManager.html" title="class in gobblin.hive.avro">HiveAvroSerDeManager</a></dd>
</dl>
<hr>
<br>
<pre><a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/annotation/Alpha.html?is-external=true" title="class or interface in gobblin.annotation">@Alpha</a>
public abstract class <span class="typeNameLabel">HiveSerDeManager</span>
extends <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">This class manages SerDe properties (including schema properties) for Hive registration.</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>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../gobblin/hive/HiveSerDeManager.Implementation.html" title="enum in gobblin.hive">HiveSerDeManager.Implementation</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- =========== 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/hive/HiveSerDeManager.html#HIVE_ROW_FORMAT">HIVE_ROW_FORMAT</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <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></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../gobblin/hive/HiveSerDeManager.html#props">props</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="colFirst" scope="col">Modifier</th>
<th class="colLast" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected </code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../gobblin/hive/HiveSerDeManager.html#HiveSerDeManager-gobblin.configuration.State-">HiveSerDeManager</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;props)</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="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>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../gobblin/hive/HiveSerDeManager.html#addSerDeProperties-gobblin.hive.HiveRegistrationUnit-gobblin.hive.HiveRegistrationUnit-">addSerDeProperties</a></span>(<a href="../../gobblin/hive/HiveRegistrationUnit.html" title="class in gobblin.hive">HiveRegistrationUnit</a>&nbsp;source,
<a href="../../gobblin/hive/HiveRegistrationUnit.html" title="class in gobblin.hive">HiveRegistrationUnit</a>&nbsp;target)</code>
<div class="block">Add the appropriate SerDe properties (including schema properties) to the target <a href="../../gobblin/hive/HiveRegistrationUnit.html" title="class in gobblin.hive"><code>HiveRegistrationUnit</code></a>
using the SerDe properties from the source <a href="../../gobblin/hive/HiveRegistrationUnit.html" title="class in gobblin.hive"><code>HiveRegistrationUnit</code></a>.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../gobblin/hive/HiveSerDeManager.html#addSerDeProperties-org.apache.hadoop.fs.Path-gobblin.hive.HiveRegistrationUnit-">addSerDeProperties</a></span>(<a href="http://hadoop.apache.org/docs/r2.3.0/api/org/apache/hadoop/fs/Path.html?is-external=true" title="class or interface in org.apache.hadoop.fs">Path</a>&nbsp;path,
<a href="../../gobblin/hive/HiveRegistrationUnit.html" title="class in gobblin.hive">HiveRegistrationUnit</a>&nbsp;hiveUnit)</code>
<div class="block">Add the appropriate SerDe properties (including schema properties) to the given <a href="../../gobblin/hive/HiveRegistrationUnit.html" title="class in gobblin.hive"><code>HiveRegistrationUnit</code></a>.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>static <a href="../../gobblin/hive/HiveSerDeManager.html" title="class in gobblin.hive">HiveSerDeManager</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../gobblin/hive/HiveSerDeManager.html#get-gobblin.configuration.State-">get</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;props)</code>
<div class="block">Get an instance of <a href="../../gobblin/hive/HiveSerDeManager.html" title="class in gobblin.hive"><code>HiveSerDeManager</code></a>.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>abstract boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../gobblin/hive/HiveSerDeManager.html#haveSameSchema-gobblin.hive.HiveRegistrationUnit-gobblin.hive.HiveRegistrationUnit-">haveSameSchema</a></span>(<a href="../../gobblin/hive/HiveRegistrationUnit.html" title="class in gobblin.hive">HiveRegistrationUnit</a>&nbsp;unit1,
<a href="../../gobblin/hive/HiveRegistrationUnit.html" title="class in gobblin.hive">HiveRegistrationUnit</a>&nbsp;unit2)</code>
<div class="block">Whether two <a href="../../gobblin/hive/HiveRegistrationUnit.html" title="class in gobblin.hive"><code>HiveRegistrationUnit</code></a> have the same schema.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../gobblin/hive/HiveSerDeManager.html#updateSchema-gobblin.hive.HiveRegistrationUnit-gobblin.hive.HiveRegistrationUnit-">updateSchema</a></span>(<a href="../../gobblin/hive/HiveRegistrationUnit.html" title="class in gobblin.hive">HiveRegistrationUnit</a>&nbsp;existingUnit,
<a href="../../gobblin/hive/HiveRegistrationUnit.html" title="class in gobblin.hive">HiveRegistrationUnit</a>&nbsp;newUnit)</code>
<div class="block">Update the schema in the existing <a href="../../gobblin/hive/HiveRegistrationUnit.html" title="class in gobblin.hive"><code>HiveRegistrationUnit</code></a> into the schema in the new
<a href="../../gobblin/hive/HiveRegistrationUnit.html" title="class in gobblin.hive"><code>HiveRegistrationUnit</code></a>.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="HIVE_ROW_FORMAT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>HIVE_ROW_FORMAT</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> HIVE_ROW_FORMAT</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../constant-values.html#gobblin.hive.HiveSerDeManager.HIVE_ROW_FORMAT">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="props">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>props</h4>
<pre>protected final&nbsp;<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> props</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="HiveSerDeManager-gobblin.configuration.State-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>HiveSerDeManager</h4>
<pre>protected&nbsp;HiveSerDeManager(<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;props)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="addSerDeProperties-org.apache.hadoop.fs.Path-gobblin.hive.HiveRegistrationUnit-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addSerDeProperties</h4>
<pre>public abstract&nbsp;void&nbsp;addSerDeProperties(<a href="http://hadoop.apache.org/docs/r2.3.0/api/org/apache/hadoop/fs/Path.html?is-external=true" title="class or interface in org.apache.hadoop.fs">Path</a>&nbsp;path,
<a href="../../gobblin/hive/HiveRegistrationUnit.html" title="class in gobblin.hive">HiveRegistrationUnit</a>&nbsp;hiveUnit)
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">Add the appropriate SerDe properties (including schema properties) to the given <a href="../../gobblin/hive/HiveRegistrationUnit.html" title="class in gobblin.hive"><code>HiveRegistrationUnit</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>path</code> - The <a href="http://hadoop.apache.org/docs/r2.3.0/api/org/apache/hadoop/fs/Path.html?is-external=true" title="class or interface in org.apache.hadoop.fs"><code>Path</code></a> from where the schema should be obtained.</dd>
<dd><code>hiveUnit</code> - The <a href="../../gobblin/hive/HiveRegistrationUnit.html" title="class in gobblin.hive"><code>HiveRegistrationUnit</code></a> where the serde properties should be added to.</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="addSerDeProperties-gobblin.hive.HiveRegistrationUnit-gobblin.hive.HiveRegistrationUnit-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addSerDeProperties</h4>
<pre>public abstract&nbsp;void&nbsp;addSerDeProperties(<a href="../../gobblin/hive/HiveRegistrationUnit.html" title="class in gobblin.hive">HiveRegistrationUnit</a>&nbsp;source,
<a href="../../gobblin/hive/HiveRegistrationUnit.html" title="class in gobblin.hive">HiveRegistrationUnit</a>&nbsp;target)
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">Add the appropriate SerDe properties (including schema properties) to the target <a href="../../gobblin/hive/HiveRegistrationUnit.html" title="class in gobblin.hive"><code>HiveRegistrationUnit</code></a>
using the SerDe properties from the source <a href="../../gobblin/hive/HiveRegistrationUnit.html" title="class in gobblin.hive"><code>HiveRegistrationUnit</code></a>.
<p>
A benefit of doing this is to avoid obtaining the schema multiple times when creating a table and a partition
with the same schema, or creating several tables and partitions with the same schema. After the first
table/partition is created, one can use the same SerDe properties to create the other tables/partitions.
</p></div>
<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="updateSchema-gobblin.hive.HiveRegistrationUnit-gobblin.hive.HiveRegistrationUnit-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateSchema</h4>
<pre>public abstract&nbsp;void&nbsp;updateSchema(<a href="../../gobblin/hive/HiveRegistrationUnit.html" title="class in gobblin.hive">HiveRegistrationUnit</a>&nbsp;existingUnit,
<a href="../../gobblin/hive/HiveRegistrationUnit.html" title="class in gobblin.hive">HiveRegistrationUnit</a>&nbsp;newUnit)
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">Update the schema in the existing <a href="../../gobblin/hive/HiveRegistrationUnit.html" title="class in gobblin.hive"><code>HiveRegistrationUnit</code></a> into the schema in the new
<a href="../../gobblin/hive/HiveRegistrationUnit.html" title="class in gobblin.hive"><code>HiveRegistrationUnit</code></a>.</div>
<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="haveSameSchema-gobblin.hive.HiveRegistrationUnit-gobblin.hive.HiveRegistrationUnit-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>haveSameSchema</h4>
<pre>public abstract&nbsp;boolean&nbsp;haveSameSchema(<a href="../../gobblin/hive/HiveRegistrationUnit.html" title="class in gobblin.hive">HiveRegistrationUnit</a>&nbsp;unit1,
<a href="../../gobblin/hive/HiveRegistrationUnit.html" title="class in gobblin.hive">HiveRegistrationUnit</a>&nbsp;unit2)
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">Whether two <a href="../../gobblin/hive/HiveRegistrationUnit.html" title="class in gobblin.hive"><code>HiveRegistrationUnit</code></a> have the same schema.</div>
<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="get-gobblin.configuration.State-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>get</h4>
<pre>public static&nbsp;<a href="../../gobblin/hive/HiveSerDeManager.html" title="class in gobblin.hive">HiveSerDeManager</a>&nbsp;get(<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;props)</pre>
<div class="block">Get an instance of <a href="../../gobblin/hive/HiveSerDeManager.html" title="class in gobblin.hive"><code>HiveSerDeManager</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>type</code> - The <a href="../../gobblin/hive/HiveSerDeManager.html" title="class in gobblin.hive"><code>HiveSerDeManager</code></a> type. It should be either AVRO, or the name of a class that implements
<a href="../../gobblin/hive/HiveSerDeManager.html" title="class in gobblin.hive"><code>HiveSerDeManager</code></a>. The specified <a href="../../gobblin/hive/HiveSerDeManager.html" title="class in gobblin.hive"><code>HiveSerDeManager</code></a> type must have a constructor that takes 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.</dd>
<dd><code>props</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. To get a specific implementation of <a href="../../gobblin/hive/HiveSerDeManager.html" title="class in gobblin.hive"><code>HiveSerDeManager</code></a>, specify either
one of the values in <a href="../../gobblin/hive/HiveSerDeManager.Implementation.html" title="enum in gobblin.hive"><code>HiveSerDeManager.Implementation</code></a> (e.g., AVRO) or the name of a class that implements
<a href="../../gobblin/hive/HiveSerDeManager.html" title="class in gobblin.hive"><code>HiveSerDeManager</code></a> in property <a href="../../gobblin/hive/HiveSerDeManager.html#HIVE_ROW_FORMAT"><code>HIVE_ROW_FORMAT</code></a>. The <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 is also used to
instantiate the <a href="../../gobblin/hive/HiveSerDeManager.html" title="class in gobblin.hive"><code>HiveSerDeManager</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/hive/HiveRegProps.html" title="class in gobblin.hive"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../gobblin/hive/HiveSerDeManager.Implementation.html" title="enum in gobblin.hive"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?gobblin/hive/HiveSerDeManager.html" target="_top">Frames</a></li>
<li><a href="HiveSerDeManager.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><a href="#nested.class.summary">Nested</a>&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>