blob: 1b0c6e9f897c6de2f5c4f3df194fbd6f7dd06c21 [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:52 PDT 2017 -->
<title>HiveAvroToNestedOrcConverter (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="HiveAvroToNestedOrcConverter (gobblin-data-management 0.11.0 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../gobblin/data/management/conversion/hive/converter/HiveAvroToFlattenedOrcConverter.html" title="class in gobblin.data.management.conversion.hive.converter"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li>Next&nbsp;Class</li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?gobblin/data/management/conversion/hive/converter/HiveAvroToNestedOrcConverter.html" target="_top">Frames</a></li>
<li><a href="HiveAvroToNestedOrcConverter.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.classes.inherited.from.class.gobblin.data.management.conversion.hive.converter.AbstractAvroToOrcConverter">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#fields.inherited.from.class.gobblin.data.management.conversion.hive.converter.AbstractAvroToOrcConverter">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>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">gobblin.data.management.conversion.hive.converter</div>
<h2 title="Class HiveAvroToNestedOrcConverter" class="title">Class HiveAvroToNestedOrcConverter</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-api/gobblin/converter/Converter.html?is-external=true" title="class or interface in gobblin.converter">gobblin.converter.Converter</a>&lt;<a href="http://avro.apache.org/docs/1.8.1/api/java/org/apache/avro/Schema.html?is-external=true" title="class or interface in org.apache.avro">Schema</a>,<a href="http://avro.apache.org/docs/1.8.1/api/java/org/apache/avro/Schema.html?is-external=true" title="class or interface in org.apache.avro">Schema</a>,<a href="../../../../../../gobblin/data/management/conversion/hive/entities/QueryBasedHiveConversionEntity.html" title="class in gobblin.data.management.conversion.hive.entities">QueryBasedHiveConversionEntity</a>,<a href="../../../../../../gobblin/data/management/conversion/hive/entities/QueryBasedHiveConversionEntity.html" title="class in gobblin.data.management.conversion.hive.entities">QueryBasedHiveConversionEntity</a>&gt;</li>
<li>
<ul class="inheritance">
<li><a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html" title="class in gobblin.data.management.conversion.hive.converter">gobblin.data.management.conversion.hive.converter.AbstractAvroToOrcConverter</a></li>
<li>
<ul class="inheritance">
<li>gobblin.data.management.conversion.hive.converter.HiveAvroToNestedOrcConverter</li>
</ul>
</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/records/RecordStreamProcessor.html?is-external=true" title="class or interface in gobblin.records">RecordStreamProcessor</a>&lt;<a href="http://avro.apache.org/docs/1.8.1/api/java/org/apache/avro/Schema.html?is-external=true" title="class or interface in org.apache.avro">Schema</a>,<a href="http://avro.apache.org/docs/1.8.1/api/java/org/apache/avro/Schema.html?is-external=true" title="class or interface in org.apache.avro">Schema</a>,<a href="../../../../../../gobblin/data/management/conversion/hive/entities/QueryBasedHiveConversionEntity.html" title="class in gobblin.data.management.conversion.hive.entities">QueryBasedHiveConversionEntity</a>,<a href="../../../../../../gobblin/data/management/conversion/hive/entities/QueryBasedHiveConversionEntity.html" title="class in gobblin.data.management.conversion.hive.entities">QueryBasedHiveConversionEntity</a>&gt;, <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/util/FinalState.html?is-external=true" title="class or interface in gobblin.util">FinalState</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">HiveAvroToNestedOrcConverter</span>
extends <a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html" title="class in gobblin.data.management.conversion.hive.converter">AbstractAvroToOrcConverter</a></pre>
<div class="block">An Avro to ORC converter for avro to nested ORC. <code>OrcFormats#NESTED_ORC</code></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.data.management.conversion.hive.converter.AbstractAvroToOrcConverter">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from class&nbsp;gobblin.data.management.conversion.hive.converter.<a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html" title="class in gobblin.data.management.conversion.hive.converter">AbstractAvroToOrcConverter</a></h3>
<code><a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.OrcFormats.html" title="enum in gobblin.data.management.conversion.hive.converter">AbstractAvroToOrcConverter.OrcFormats</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="nested.classes.inherited.from.class.gobblin.records.RecordStreamProcessor">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from interface&nbsp;gobblin.records.<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/records/RecordStreamProcessor.html?is-external=true" title="class or interface in gobblin.records">RecordStreamProcessor</a></h3>
<code><a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/records/RecordStreamProcessor.StreamProcessingException.html?is-external=true" title="class or interface in gobblin.records">RecordStreamProcessor.StreamProcessingException</a></code></li>
</ul>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.gobblin.data.management.conversion.hive.converter.AbstractAvroToOrcConverter">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;gobblin.data.management.conversion.hive.converter.<a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html" title="class in gobblin.data.management.conversion.hive.converter">AbstractAvroToOrcConverter</a></h3>
<code><a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html#DEFAULT_HIVE_CONVERSION_SETSERDETOAVROEXPLICITELY">DEFAULT_HIVE_CONVERSION_SETSERDETOAVROEXPLICITELY</a>, <a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html#DEFAULT_HIVE_DATASET_DESTINATION_SKIP_SETGROUP">DEFAULT_HIVE_DATASET_DESTINATION_SKIP_SETGROUP</a>, <a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html#DEFAULT_HIVE_DATASET_PARTITION_OVERWRITE">DEFAULT_HIVE_DATASET_PARTITION_OVERWRITE</a>, <a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html#fs">fs</a>, <a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html#HIVE_CONVERSION_SETSERDETOAVROEXPLICITELY">HIVE_CONVERSION_SETSERDETOAVROEXPLICITELY</a>, <a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html#HIVE_CONVERSION_VIEW_REGISTRATION_BLACKLIST">HIVE_CONVERSION_VIEW_REGISTRATION_BLACKLIST</a>, <a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html#HIVE_CONVERSION_VIEW_REGISTRATION_WHITELIST">HIVE_CONVERSION_VIEW_REGISTRATION_WHITELIST</a>, <a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html#HIVE_DATASET_DESTINATION_SKIP_SETGROUP">HIVE_DATASET_DESTINATION_SKIP_SETGROUP</a>, <a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html#HIVE_DATASET_PARTITION_OVERWRITE">HIVE_DATASET_PARTITION_OVERWRITE</a>, <a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html#hiveDataset">hiveDataset</a>, <a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html#REPLACED_PARTITIONS_HIVE_METASTORE_KEY">REPLACED_PARTITIONS_HIVE_METASTORE_KEY</a></code></li>
</ul>
</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/conversion/hive/converter/HiveAvroToNestedOrcConverter.html#HiveAvroToNestedOrcConverter--">HiveAvroToNestedOrcConverter</a></span>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="http://avro.apache.org/docs/1.8.1/api/java/org/apache/avro/Schema.html?is-external=true" title="class or interface in org.apache.avro">Schema</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../gobblin/data/management/conversion/hive/converter/HiveAvroToNestedOrcConverter.html#convertSchema-org.apache.avro.Schema-gobblin.configuration.WorkUnitState-">convertSchema</a></span>(<a href="http://avro.apache.org/docs/1.8.1/api/java/org/apache/avro/Schema.html?is-external=true" title="class or interface in org.apache.avro">Schema</a>&nbsp;inputSchema,
<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;workUnit)</code>
<div class="block">No <a href="http://avro.apache.org/docs/1.8.1/api/java/org/apache/avro/Schema.html?is-external=true" title="class or interface in org.apache.avro"><code>Schema</code></a> conversion required.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../../gobblin/data/management/conversion/hive/dataset/ConvertibleHiveDataset.ConversionConfig.html" title="class in gobblin.data.management.conversion.hive.dataset">ConvertibleHiveDataset.ConversionConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../gobblin/data/management/conversion/hive/converter/HiveAvroToNestedOrcConverter.html#getConversionConfig--">getConversionConfig</a></span>()</code>
<div class="block">Get the <a href="../../../../../../gobblin/data/management/conversion/hive/dataset/ConvertibleHiveDataset.ConversionConfig.html" title="class in gobblin.data.management.conversion.hive.dataset"><code>ConvertibleHiveDataset.ConversionConfig</code></a> required for building the Avro to ORC conversion query</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../gobblin/data/management/conversion/hive/converter/HiveAvroToNestedOrcConverter.html#hasConversionConfig--">hasConversionConfig</a></span>()</code>
<div class="block">Return true if flattened orc configurations are available.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.gobblin.data.management.conversion.hive.converter.AbstractAvroToOrcConverter">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;gobblin.data.management.conversion.hive.converter.<a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html" title="class in gobblin.data.management.conversion.hive.converter">AbstractAvroToOrcConverter</a></h3>
<code><a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html#convertRecord-org.apache.avro.Schema-gobblin.data.management.conversion.hive.entities.QueryBasedHiveConversionEntity-gobblin.configuration.WorkUnitState-">convertRecord</a>, <a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html#getDropPartitionsDDLInfo-org.apache.hadoop.hive.ql.metadata.Partition-">getDropPartitionsDDLInfo</a>, <a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html#getDropPartitionsDDLInfo-gobblin.data.management.conversion.hive.entities.QueryBasedHiveConversionEntity-">getDropPartitionsDDLInfo</a>, <a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html#getViewWhiteBackListFromWorkUnit-gobblin.configuration.WorkUnitState-">getViewWhiteBackListFromWorkUnit</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.gobblin.converter.Converter">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;gobblin.converter.<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/converter/Converter.html?is-external=true" title="class or interface in gobblin.converter">Converter</a></h3>
<code><a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/converter/Converter.html?is-external=true#close--" title="class or interface in gobblin.converter">close</a>, <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/converter/Converter.html?is-external=true#getFinalState--" title="class or interface in gobblin.converter">getFinalState</a>, <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/converter/Converter.html?is-external=true#getInitializer-gobblin.configuration.State-gobblin.source.workunit.WorkUnitStream-int-int-" title="class or interface in gobblin.converter">getInitializer</a>, <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/converter/Converter.html?is-external=true#getMessageHandler--" title="class or interface in gobblin.converter">getMessageHandler</a>, <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/converter/Converter.html?is-external=true#init-gobblin.configuration.WorkUnitState-" title="class or interface in gobblin.converter">init</a>, <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/converter/Converter.html?is-external=true#processStream-gobblin.records.RecordStreamWithMetadata-gobblin.configuration.WorkUnitState-" title="class or interface in gobblin.converter">processStream</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="HiveAvroToNestedOrcConverter--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>HiveAvroToNestedOrcConverter</h4>
<pre>public&nbsp;HiveAvroToNestedOrcConverter()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="convertSchema-org.apache.avro.Schema-gobblin.configuration.WorkUnitState-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>convertSchema</h4>
<pre>public&nbsp;<a href="http://avro.apache.org/docs/1.8.1/api/java/org/apache/avro/Schema.html?is-external=true" title="class or interface in org.apache.avro">Schema</a>&nbsp;convertSchema(<a href="http://avro.apache.org/docs/1.8.1/api/java/org/apache/avro/Schema.html?is-external=true" title="class or interface in org.apache.avro">Schema</a>&nbsp;inputSchema,
<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;workUnit)</pre>
<div class="block">No <a href="http://avro.apache.org/docs/1.8.1/api/java/org/apache/avro/Schema.html?is-external=true" title="class or interface in org.apache.avro"><code>Schema</code></a> conversion required. Retain the original <a href="http://avro.apache.org/docs/1.8.1/api/java/org/apache/avro/Schema.html?is-external=true" title="class or interface in org.apache.avro"><code>Schema</code></a>
Subclasses can convert the <a href="http://avro.apache.org/docs/1.8.1/api/java/org/apache/avro/Schema.html?is-external=true" title="class or interface in org.apache.avro"><code>Schema</code></a> if required.
</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html#convertSchema-org.apache.avro.Schema-gobblin.configuration.WorkUnitState-">convertSchema</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html" title="class in gobblin.data.management.conversion.hive.converter">AbstractAvroToOrcConverter</a></code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html#convertSchema-org.apache.avro.Schema-gobblin.configuration.WorkUnitState-"><code>AbstractAvroToOrcConverter.convertSchema(org.apache.avro.Schema, gobblin.configuration.WorkUnitState)</code></a></dd>
</dl>
</li>
</ul>
<a name="hasConversionConfig--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasConversionConfig</h4>
<pre>protected&nbsp;boolean&nbsp;hasConversionConfig()</pre>
<div class="block">Return true if flattened orc configurations are available. False otherwise
<p>
This method is called by <a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html#convertRecord-org.apache.avro.Schema-gobblin.data.management.conversion.hive.entities.QueryBasedHiveConversionEntity-gobblin.configuration.WorkUnitState-"><code>AbstractAvroToOrcConverter.convertRecord(Schema, QueryBasedHiveConversionEntity, WorkUnitState)</code></a> before building the
conversion query. Subclasses can find out if conversion is enabled for their format by calling
<a href="../../../../../../gobblin/data/management/conversion/hive/dataset/ConvertibleHiveDataset.html#getConversionConfigForFormat-java.lang.String-"><code>ConvertibleHiveDataset.getConversionConfigForFormat(String)</code></a> on the <code>hiveDataset</code>.<br>
Available ORC formats are defined by the enum <a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.OrcFormats.html" title="enum in gobblin.data.management.conversion.hive.converter"><code>AbstractAvroToOrcConverter.OrcFormats</code></a>
</p>
<p>
If this method returns false, no Avro to to ORC conversion queries will be built for the ORC format.
</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html#hasConversionConfig--">hasConversionConfig</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html" title="class in gobblin.data.management.conversion.hive.converter">AbstractAvroToOrcConverter</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if conversion is required. false otherwise</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html#hasConversionConfig--"><code>AbstractAvroToOrcConverter.hasConversionConfig()</code></a></dd>
</dl>
</li>
</ul>
<a name="getConversionConfig--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getConversionConfig</h4>
<pre>protected&nbsp;<a href="../../../../../../gobblin/data/management/conversion/hive/dataset/ConvertibleHiveDataset.ConversionConfig.html" title="class in gobblin.data.management.conversion.hive.dataset">ConvertibleHiveDataset.ConversionConfig</a>&nbsp;getConversionConfig()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html#getConversionConfig--">AbstractAvroToOrcConverter</a></code></span></div>
<div class="block">Get the <a href="../../../../../../gobblin/data/management/conversion/hive/dataset/ConvertibleHiveDataset.ConversionConfig.html" title="class in gobblin.data.management.conversion.hive.dataset"><code>ConvertibleHiveDataset.ConversionConfig</code></a> required for building the Avro to ORC conversion query</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html#getConversionConfig--">getConversionConfig</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html" title="class in gobblin.data.management.conversion.hive.converter">AbstractAvroToOrcConverter</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Conversion config</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/data/management/conversion/hive/converter/HiveAvroToFlattenedOrcConverter.html" title="class in gobblin.data.management.conversion.hive.converter"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li>Next&nbsp;Class</li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?gobblin/data/management/conversion/hive/converter/HiveAvroToNestedOrcConverter.html" target="_top">Frames</a></li>
<li><a href="HiveAvroToNestedOrcConverter.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.classes.inherited.from.class.gobblin.data.management.conversion.hive.converter.AbstractAvroToOrcConverter">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#fields.inherited.from.class.gobblin.data.management.conversion.hive.converter.AbstractAvroToOrcConverter">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>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>