blob: fb868cfd035a69841b27ce8ed2cfedc572d645ed [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>AbstractAvroToOrcConverter (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="AbstractAvroToOrcConverter (gobblin-data-management 0.11.0 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":6,"i2":6,"i3":9,"i4":9,"i5":9,"i6":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>Prev&nbsp;Class</li>
<li><a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.OrcFormats.html" title="enum in gobblin.data.management.conversion.hive.converter"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html" target="_top">Frames</a></li>
<li><a href="AbstractAvroToOrcConverter.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.data.management.conversion.hive.converter</div>
<h2 title="Class AbstractAvroToOrcConverter" class="title">Class AbstractAvroToOrcConverter</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>gobblin.data.management.conversion.hive.converter.AbstractAvroToOrcConverter</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>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../../../gobblin/data/management/conversion/hive/converter/HiveAvroToFlattenedOrcConverter.html" title="class in gobblin.data.management.conversion.hive.converter">HiveAvroToFlattenedOrcConverter</a>, <a href="../../../../../../gobblin/data/management/conversion/hive/converter/HiveAvroToNestedOrcConverter.html" title="class in gobblin.data.management.conversion.hive.converter">HiveAvroToNestedOrcConverter</a></dd>
</dl>
<hr>
<br>
<pre>public abstract class <span class="typeNameLabel">AbstractAvroToOrcConverter</span>
extends <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>&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;</pre>
<div class="block">Builds the Hive avro to ORC conversion query. The record type for this converter is <a href="../../../../../../gobblin/data/management/conversion/hive/entities/QueryBasedHiveConversionEntity.html" title="class in gobblin.data.management.conversion.hive.entities"><code>QueryBasedHiveConversionEntity</code></a>. A <a href="../../../../../../gobblin/data/management/conversion/hive/entities/QueryBasedHiveConversionEntity.html" title="class in gobblin.data.management.conversion.hive.entities"><code>QueryBasedHiveConversionEntity</code></a>
can be a hive table or a hive partition.
<p>
Concrete subclasses define the semantics of Avro to ORC conversion for a specific ORC format by providing <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>s.
</p></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>protected static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.OrcFormats.html" title="enum in gobblin.data.management.conversion.hive.converter">AbstractAvroToOrcConverter.OrcFormats</a></span></code>
<div class="block">Supported destination ORC formats</div>
</td>
</tr>
</table>
<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>
<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 boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html#DEFAULT_HIVE_CONVERSION_SETSERDETOAVROEXPLICITELY">DEFAULT_HIVE_CONVERSION_SETSERDETOAVROEXPLICITELY</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html#DEFAULT_HIVE_DATASET_DESTINATION_SKIP_SETGROUP">DEFAULT_HIVE_DATASET_DESTINATION_SKIP_SETGROUP</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html#DEFAULT_HIVE_DATASET_PARTITION_OVERWRITE">DEFAULT_HIVE_DATASET_PARTITION_OVERWRITE</a></span></code>&nbsp;</td>
</tr>
<tr 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/conversion/hive/converter/AbstractAvroToOrcConverter.html#fs">fs</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/conversion/hive/converter/AbstractAvroToOrcConverter.html#HIVE_CONVERSION_SETSERDETOAVROEXPLICITELY">HIVE_CONVERSION_SETSERDETOAVROEXPLICITELY</a></span></code>
<div class="block">If set to true, a set format DDL will be separate from add partition DDL</div>
</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/conversion/hive/converter/AbstractAvroToOrcConverter.html#HIVE_CONVERSION_VIEW_REGISTRATION_BLACKLIST">HIVE_CONVERSION_VIEW_REGISTRATION_BLACKLIST</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/conversion/hive/converter/AbstractAvroToOrcConverter.html#HIVE_CONVERSION_VIEW_REGISTRATION_WHITELIST">HIVE_CONVERSION_VIEW_REGISTRATION_WHITELIST</a></span></code>
<div class="block">Global Hive conversion view registration whitelist / blacklist key</div>
</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/conversion/hive/converter/AbstractAvroToOrcConverter.html#HIVE_DATASET_DESTINATION_SKIP_SETGROUP">HIVE_DATASET_DESTINATION_SKIP_SETGROUP</a></span></code>
<div class="block">If the property is set to true then in the destination dir permissions, group won't be explicitly set.</div>
</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/conversion/hive/converter/AbstractAvroToOrcConverter.html#HIVE_DATASET_PARTITION_OVERWRITE">HIVE_DATASET_PARTITION_OVERWRITE</a></span></code>
<div class="block">If the property is set to true then partition dir is overwritten,
else a new time-stamped partition dir is created to avoid breaking in-flight queries
Check gobblin.data.management.retention.Avro2OrcStaleDatasetCleaner to clean stale directories</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../../gobblin/data/management/conversion/hive/dataset/ConvertibleHiveDataset.html" title="class in gobblin.data.management.conversion.hive.dataset">ConvertibleHiveDataset</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html#hiveDataset">hiveDataset</a></span></code>
<div class="block">The dataset being converted.</div>
</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/conversion/hive/converter/AbstractAvroToOrcConverter.html#REPLACED_PARTITIONS_HIVE_METASTORE_KEY">REPLACED_PARTITIONS_HIVE_METASTORE_KEY</a></span></code>
<div class="block">list of partitions that a partition has replaced.</div>
</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/conversion/hive/converter/AbstractAvroToOrcConverter.html#AbstractAvroToOrcConverter--">AbstractAvroToOrcConverter</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="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="../../../../../../gobblin/data/management/conversion/hive/entities/QueryBasedHiveConversionEntity.html" title="class in gobblin.data.management.conversion.hive.entities">QueryBasedHiveConversionEntity</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><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></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;outputAvroSchema,
<a href="../../../../../../gobblin/data/management/conversion/hive/entities/QueryBasedHiveConversionEntity.html" title="class in gobblin.data.management.conversion.hive.entities">QueryBasedHiveConversionEntity</a>&nbsp;conversionEntity,
<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">Populate the avro to orc conversion queries.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>abstract <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/AbstractAvroToOrcConverter.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">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>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>protected abstract <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/AbstractAvroToOrcConverter.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="i3" class="rowColor">
<td class="colFirst"><code>static <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="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/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<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>&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html#getDropPartitionsDDLInfo-org.apache.hadoop.hive.ql.metadata.Partition-">getDropPartitionsDDLInfo</a></span>(<a href="https://hive.apache.org/javadocs/r1.0.1/api/org/apache/hadoop/hive/ql/metadata/Partition.html?is-external=true" title="class or interface in org.apache.hadoop.hive.ql.metadata">Partition</a>&nbsp;hivePartition)</code>
<div class="block">Parse the <a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html#REPLACED_PARTITIONS_HIVE_METASTORE_KEY"><code>REPLACED_PARTITIONS_HIVE_METASTORE_KEY</code></a> from partition parameters to returns DDLs for all the partitions to be
dropped.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>static <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="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/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<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>&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html#getDropPartitionsDDLInfo-gobblin.data.management.conversion.hive.entities.QueryBasedHiveConversionEntity-">getDropPartitionsDDLInfo</a></span>(<a href="../../../../../../gobblin/data/management/conversion/hive/entities/QueryBasedHiveConversionEntity.html" title="class in gobblin.data.management.conversion.hive.entities">QueryBasedHiveConversionEntity</a>&nbsp;conversionEntity)</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<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/data/management/copy/hive/WhitelistBlacklist.html?is-external=true" title="class or interface in gobblin.data.management.copy.hive">WhitelistBlacklist</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html#getViewWhiteBackListFromWorkUnit-gobblin.configuration.WorkUnitState-">getViewWhiteBackListFromWorkUnit</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;workUnit)</code>
<div class="block">Get Hive view registration whitelist blacklist from Workunit state</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>protected abstract boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html#hasConversionConfig--">hasConversionConfig</a></span>()</code>
<div class="block">
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>convertRecord(Schema, QueryBasedHiveConversionEntity, WorkUnitState)</code></a> before building the
conversion query.</div>
</td>
</tr>
</table>
<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">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="fs">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fs</h4>
<pre>protected final&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> fs</pre>
</li>
</ul>
<a name="REPLACED_PARTITIONS_HIVE_METASTORE_KEY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>REPLACED_PARTITIONS_HIVE_METASTORE_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> REPLACED_PARTITIONS_HIVE_METASTORE_KEY</pre>
<div class="block">list of partitions that a partition has replaced. E.g. list of hourly partitons for a daily partition</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#gobblin.data.management.conversion.hive.converter.AbstractAvroToOrcConverter.REPLACED_PARTITIONS_HIVE_METASTORE_KEY">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="hiveDataset">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hiveDataset</h4>
<pre>protected&nbsp;<a href="../../../../../../gobblin/data/management/conversion/hive/dataset/ConvertibleHiveDataset.html" title="class in gobblin.data.management.conversion.hive.dataset">ConvertibleHiveDataset</a> hiveDataset</pre>
<div class="block">The dataset being converted.</div>
</li>
</ul>
<a name="HIVE_DATASET_DESTINATION_SKIP_SETGROUP">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>HIVE_DATASET_DESTINATION_SKIP_SETGROUP</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_DATASET_DESTINATION_SKIP_SETGROUP</pre>
<div class="block">If the property is set to true then in the destination dir permissions, group won't be explicitly set.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#gobblin.data.management.conversion.hive.converter.AbstractAvroToOrcConverter.HIVE_DATASET_DESTINATION_SKIP_SETGROUP">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="DEFAULT_HIVE_DATASET_DESTINATION_SKIP_SETGROUP">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_HIVE_DATASET_DESTINATION_SKIP_SETGROUP</h4>
<pre>public static final&nbsp;boolean DEFAULT_HIVE_DATASET_DESTINATION_SKIP_SETGROUP</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#gobblin.data.management.conversion.hive.converter.AbstractAvroToOrcConverter.DEFAULT_HIVE_DATASET_DESTINATION_SKIP_SETGROUP">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="HIVE_DATASET_PARTITION_OVERWRITE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>HIVE_DATASET_PARTITION_OVERWRITE</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_DATASET_PARTITION_OVERWRITE</pre>
<div class="block">If the property is set to true then partition dir is overwritten,
else a new time-stamped partition dir is created to avoid breaking in-flight queries
Check gobblin.data.management.retention.Avro2OrcStaleDatasetCleaner to clean stale directories</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#gobblin.data.management.conversion.hive.converter.AbstractAvroToOrcConverter.HIVE_DATASET_PARTITION_OVERWRITE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="DEFAULT_HIVE_DATASET_PARTITION_OVERWRITE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_HIVE_DATASET_PARTITION_OVERWRITE</h4>
<pre>public static final&nbsp;boolean DEFAULT_HIVE_DATASET_PARTITION_OVERWRITE</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#gobblin.data.management.conversion.hive.converter.AbstractAvroToOrcConverter.DEFAULT_HIVE_DATASET_PARTITION_OVERWRITE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="HIVE_CONVERSION_SETSERDETOAVROEXPLICITELY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>HIVE_CONVERSION_SETSERDETOAVROEXPLICITELY</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_CONVERSION_SETSERDETOAVROEXPLICITELY</pre>
<div class="block">If set to true, a set format DDL will be separate from add partition DDL</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#gobblin.data.management.conversion.hive.converter.AbstractAvroToOrcConverter.HIVE_CONVERSION_SETSERDETOAVROEXPLICITELY">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="DEFAULT_HIVE_CONVERSION_SETSERDETOAVROEXPLICITELY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_HIVE_CONVERSION_SETSERDETOAVROEXPLICITELY</h4>
<pre>public static final&nbsp;boolean DEFAULT_HIVE_CONVERSION_SETSERDETOAVROEXPLICITELY</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#gobblin.data.management.conversion.hive.converter.AbstractAvroToOrcConverter.DEFAULT_HIVE_CONVERSION_SETSERDETOAVROEXPLICITELY">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="HIVE_CONVERSION_VIEW_REGISTRATION_WHITELIST">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>HIVE_CONVERSION_VIEW_REGISTRATION_WHITELIST</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_CONVERSION_VIEW_REGISTRATION_WHITELIST</pre>
<div class="block">Global Hive conversion view registration whitelist / blacklist key</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#gobblin.data.management.conversion.hive.converter.AbstractAvroToOrcConverter.HIVE_CONVERSION_VIEW_REGISTRATION_WHITELIST">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="HIVE_CONVERSION_VIEW_REGISTRATION_BLACKLIST">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>HIVE_CONVERSION_VIEW_REGISTRATION_BLACKLIST</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_CONVERSION_VIEW_REGISTRATION_BLACKLIST</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#gobblin.data.management.conversion.hive.converter.AbstractAvroToOrcConverter.HIVE_CONVERSION_VIEW_REGISTRATION_BLACKLIST">Constant Field Values</a></dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="AbstractAvroToOrcConverter--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>AbstractAvroToOrcConverter</h4>
<pre>public&nbsp;AbstractAvroToOrcConverter()</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 abstract&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">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="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/converter/Converter.html?is-external=true#convertSchema-SI-gobblin.configuration.WorkUnitState-" title="class or interface in gobblin.converter">convertSchema</a></code>&nbsp;in class&nbsp;<code><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>&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;</code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/converter/Converter.html?is-external=true#convertSchema-SI-gobblin.configuration.WorkUnitState-" title="class or interface in gobblin.converter"><code>Converter.convertSchema(java.lang.Object, gobblin.configuration.WorkUnitState)</code></a></dd>
</dl>
</li>
</ul>
<a name="hasConversionConfig--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasConversionConfig</h4>
<pre>protected abstract&nbsp;boolean&nbsp;hasConversionConfig()</pre>
<div class="block"><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>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="returnLabel">Returns:</span></dt>
<dd>true if conversion is required. false otherwise</dd>
</dl>
</li>
</ul>
<a name="getConversionConfig--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConversionConfig</h4>
<pre>protected abstract&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">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="returnLabel">Returns:</span></dt>
<dd>Conversion config</dd>
</dl>
</li>
</ul>
<a name="convertRecord-org.apache.avro.Schema-gobblin.data.management.conversion.hive.entities.QueryBasedHiveConversionEntity-gobblin.configuration.WorkUnitState-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>convertRecord</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="../../../../../../gobblin/data/management/conversion/hive/entities/QueryBasedHiveConversionEntity.html" title="class in gobblin.data.management.conversion.hive.entities">QueryBasedHiveConversionEntity</a>&gt;&nbsp;convertRecord(<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;outputAvroSchema,
<a href="../../../../../../gobblin/data/management/conversion/hive/entities/QueryBasedHiveConversionEntity.html" title="class in gobblin.data.management.conversion.hive.entities">QueryBasedHiveConversionEntity</a>&nbsp;conversionEntity,
<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)
throws <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/converter/DataConversionException.html?is-external=true" title="class or interface in gobblin.converter">DataConversionException</a></pre>
<div class="block">Populate the avro to orc conversion queries. The Queries will be added to <code>QueryBasedHiveConversionEntity#getQueries()</code></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/converter/Converter.html?is-external=true#convertRecord-SO-DI-gobblin.configuration.WorkUnitState-" title="class or interface in gobblin.converter">convertRecord</a></code>&nbsp;in class&nbsp;<code><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>&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;</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/converter/DataConversionException.html?is-external=true" title="class or interface in gobblin.converter">DataConversionException</a></code></dd>
</dl>
</li>
</ul>
<a name="getViewWhiteBackListFromWorkUnit-gobblin.configuration.WorkUnitState-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getViewWhiteBackListFromWorkUnit</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/data/management/copy/hive/WhitelistBlacklist.html?is-external=true" title="class or interface in gobblin.data.management.copy.hive">WhitelistBlacklist</a>&gt;&nbsp;getViewWhiteBackListFromWorkUnit(<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">Get Hive view registration whitelist blacklist from Workunit state</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>workUnit</code> - Workunit containing view whitelist blacklist property</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Optional WhitelistBlacklist if Workunit contains it</dd>
</dl>
</li>
</ul>
<a name="getDropPartitionsDDLInfo-gobblin.data.management.conversion.hive.entities.QueryBasedHiveConversionEntity-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDropPartitionsDDLInfo</h4>
<pre>public static&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="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/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<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>&gt;&gt;&nbsp;getDropPartitionsDDLInfo(<a href="../../../../../../gobblin/data/management/conversion/hive/entities/QueryBasedHiveConversionEntity.html" title="class in gobblin.data.management.conversion.hive.entities">QueryBasedHiveConversionEntity</a>&nbsp;conversionEntity)</pre>
</li>
</ul>
<a name="getDropPartitionsDDLInfo-org.apache.hadoop.hive.ql.metadata.Partition-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getDropPartitionsDDLInfo</h4>
<pre>public static&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="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/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<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>&gt;&gt;&nbsp;getDropPartitionsDDLInfo(<a href="https://hive.apache.org/javadocs/r1.0.1/api/org/apache/hadoop/hive/ql/metadata/Partition.html?is-external=true" title="class or interface in org.apache.hadoop.hive.ql.metadata">Partition</a>&nbsp;hivePartition)</pre>
<div class="block">Parse the <a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html#REPLACED_PARTITIONS_HIVE_METASTORE_KEY"><code>REPLACED_PARTITIONS_HIVE_METASTORE_KEY</code></a> from partition parameters to returns DDLs for all the partitions to be
dropped.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>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 partitions to be dropped. Each element of the list is a <a href="https://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> which maps a partition's
key and value.</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>Prev&nbsp;Class</li>
<li><a href="../../../../../../gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.OrcFormats.html" title="enum in gobblin.data.management.conversion.hive.converter"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?gobblin/data/management/conversion/hive/converter/AbstractAvroToOrcConverter.html" target="_top">Frames</a></li>
<li><a href="AbstractAvroToOrcConverter.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>