blob: 7f0cef89fa833cd323de93afd017c98cff332a7c [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:40 PDT 2017 -->
<title>HiveRegistrationPolicyBase (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="HiveRegistrationPolicyBase (gobblin-hive-registration 0.11.0 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":9,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":9,"i13":10,"i14":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../gobblin/hive/policy/HiveRegistrationPolicy.html" title="interface in gobblin.hive.policy"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../gobblin/hive/policy/HiveSnapshotRegistrationPolicy.html" title="class in gobblin.hive.policy"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?gobblin/hive/policy/HiveRegistrationPolicyBase.html" target="_top">Frames</a></li>
<li><a href="HiveRegistrationPolicyBase.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">gobblin.hive.policy</div>
<h2 title="Class HiveRegistrationPolicyBase" class="title">Class HiveRegistrationPolicyBase</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.policy.HiveRegistrationPolicyBase</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../gobblin/hive/policy/HiveRegistrationPolicy.html" title="interface in gobblin.hive.policy">HiveRegistrationPolicy</a></dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../gobblin/hive/policy/HiveSnapshotRegistrationPolicy.html" title="class in gobblin.hive.policy">HiveSnapshotRegistrationPolicy</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 class <span class="typeNameLabel">HiveRegistrationPolicyBase</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>
implements <a href="../../../gobblin/hive/policy/HiveRegistrationPolicy.html" title="interface in gobblin.hive.policy">HiveRegistrationPolicy</a></pre>
<div class="block">A base implementation of <a href="../../../gobblin/hive/policy/HiveRegistrationPolicy.html" title="interface in gobblin.hive.policy"><code>HiveRegistrationPolicy</code></a>. It obtains database name from
property <a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#HIVE_DATABASE_NAME"><code>HIVE_DATABASE_NAME</code></a> or <a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#HIVE_DATABASE_REGEX"><code>HIVE_DATABASE_REGEX</code></a> (group 1), obtains
table name from property <a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#HIVE_TABLE_NAME"><code>HIVE_TABLE_NAME</code></a> and <a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#HIVE_TABLE_REGEX"><code>HIVE_TABLE_REGEX</code></a> (group 1),
and builds a <a href="../../../gobblin/hive/spec/SimpleHiveSpec.html" title="class in gobblin.hive.spec"><code>SimpleHiveSpec</code></a>.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#ADDITIONAL_HIVE_DATABASE_NAMES">ADDITIONAL_HIVE_DATABASE_NAMES</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#ADDITIONAL_HIVE_TABLE_NAMES">ADDITIONAL_HIVE_TABLE_NAMES</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/hive/policy/HiveRegistrationPolicyBase.html#CONFIG_FOR_TOPIC_TIMER">CONFIG_FOR_TOPIC_TIMER</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected static <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-config-client/gobblin/config/client/ConfigClient.html?is-external=true" title="class or interface in gobblin.config.client">ConfigClient</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#configClient">configClient</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <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="https://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html?is-external=true" title="class or interface in java.util.regex">Pattern</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#dbNamePattern">dbNamePattern</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <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/policy/HiveRegistrationPolicyBase.html#dbNamePrefix">dbNamePrefix</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <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/policy/HiveRegistrationPolicyBase.html#dbNameSuffix">dbNameSuffix</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/hive/policy/HiveRegistrationPolicyBase.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/hive/policy/HiveRegistrationPolicyBase.html#HIVE_DATABASE_NAME">HIVE_DATABASE_NAME</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#HIVE_DATABASE_NAME_PREFIX">HIVE_DATABASE_NAME_PREFIX</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/hive/policy/HiveRegistrationPolicyBase.html#HIVE_DATABASE_NAME_SUFFIX">HIVE_DATABASE_NAME_SUFFIX</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#HIVE_DATABASE_REGEX">HIVE_DATABASE_REGEX</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/hive/policy/HiveRegistrationPolicyBase.html#HIVE_FS_URI">HIVE_FS_URI</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#HIVE_SANITIZE_INVALID_NAMES">HIVE_SANITIZE_INVALID_NAMES</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/hive/policy/HiveRegistrationPolicyBase.html#HIVE_TABLE_NAME">HIVE_TABLE_NAME</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#HIVE_TABLE_NAME_PREFIX">HIVE_TABLE_NAME_PREFIX</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/hive/policy/HiveRegistrationPolicyBase.html#HIVE_TABLE_NAME_SUFFIX">HIVE_TABLE_NAME_SUFFIX</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#HIVE_TABLE_REGEX">HIVE_TABLE_REGEX</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-metrics/gobblin/metrics/MetricContext.html?is-external=true" title="class or interface in gobblin.metrics">MetricContext</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#metricContext">metricContext</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#PRIMARY_TABLE_TOKEN">PRIMARY_TABLE_TOKEN</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../gobblin/hive/HiveRegProps.html" title="class in gobblin.hive">HiveRegProps</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#props">props</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#sanitizeNameAllowed">sanitizeNameAllowed</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <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="https://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html?is-external=true" title="class or interface in java.util.regex">Pattern</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#tableNamePattern">tableNamePattern</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <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/policy/HiveRegistrationPolicyBase.html#tableNamePrefix">tableNamePrefix</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <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/policy/HiveRegistrationPolicyBase.html#tableNameSuffix">tableNameSuffix</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#HiveRegistrationPolicyBase-gobblin.configuration.State-">HiveRegistrationPolicyBase</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="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>protected <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="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;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#getDatabaseName-org.apache.hadoop.fs.Path-">getDatabaseName</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)</code>
<div class="block">This method first tries to obtain the database name from <a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#HIVE_DATABASE_NAME"><code>HIVE_DATABASE_NAME</code></a>.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>protected <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="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;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#getDatabaseNames-org.apache.hadoop.fs.Path-">getDatabaseNames</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)</code>
<div class="block">Obtain Hive database names.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>protected <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/policy/HiveRegistrationPolicyBase.html#getDatabaseOrTableName-org.apache.hadoop.fs.Path-java.lang.String-java.lang.String-com.google.common.base.Optional-">getDatabaseOrTableName</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="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;nameKey,
<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>&nbsp;regexKey,
<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="https://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html?is-external=true" title="class or interface in java.util.regex">Pattern</a>&gt;&nbsp;pattern)</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../../gobblin/hive/spec/HiveSpec.html" title="interface in gobblin.hive.spec">HiveSpec</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#getHiveSpecs-org.apache.hadoop.fs.Path-">getHiveSpecs</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)</code>
<div class="block">Get a collection of <a href="../../../gobblin/hive/spec/HiveSpec.html" title="interface in gobblin.hive.spec"><code>HiveSpec</code></a>s for a <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>, which can be used by <a href="../../../gobblin/hive/HiveRegister.html" title="class in gobblin.hive"><code>HiveRegister</code></a>
to register the given <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>.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>protected <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="../../../gobblin/hive/HivePartition.html" title="class in gobblin.hive">HivePartition</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#getPartition-org.apache.hadoop.fs.Path-gobblin.hive.HiveTable-">getPartition</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/HiveTable.html" title="class in gobblin.hive">HiveTable</a>&nbsp;table)</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>static <a href="../../../gobblin/hive/policy/HiveRegistrationPolicy.html" title="interface in gobblin.hive.policy">HiveRegistrationPolicy</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#getPolicy-gobblin.configuration.State-">getPolicy</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 a <a href="../../../gobblin/hive/policy/HiveRegistrationPolicy.html" title="interface in gobblin.hive.policy"><code>HiveRegistrationPolicy</code></a> from a <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/configuration/State.html?is-external=true" title="class or interface in gobblin.configuration"><code>State</code></a> object.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>protected <a href="../../../gobblin/hive/HiveTable.html" title="class in gobblin.hive">HiveTable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#getTable-org.apache.hadoop.fs.Path-java.lang.String-java.lang.String-">getTable</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="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;dbName,
<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>&nbsp;tableName)</code>
<div class="block">A base implementation for creating a non bucketed, external <a href="../../../gobblin/hive/HiveTable.html" title="class in gobblin.hive"><code>HiveTable</code></a> for a <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>.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>protected <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></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#getTableLocation-org.apache.hadoop.fs.Path-">getTableLocation</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)</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>protected <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="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;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#getTableName-org.apache.hadoop.fs.Path-">getTableName</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)</code>
<div class="block">This method first tries to obtain the database name from <a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#HIVE_TABLE_NAME"><code>HIVE_TABLE_NAME</code></a>.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>protected <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/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#getTableNames-com.google.common.base.Optional-org.apache.hadoop.fs.Path-">getTableNames</a></span>(<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="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;&nbsp;dbPrefix,
<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)</code>
<div class="block">Obtain Hive table names filtered by <code>dbPrefix</code> (if present).</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>protected <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="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;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#getTableNames-org.apache.hadoop.fs.Path-">getTableNames</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)</code>
<div class="block">Obtain Hive table names.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>protected <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="../../../gobblin/hive/HiveTable.html" title="class in gobblin.hive">HiveTable</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#getTables-org.apache.hadoop.fs.Path-">getTables</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)</code>
<div class="block">A base implementation for creating <a href="../../../gobblin/hive/HiveTable.html" title="class in gobblin.hive"><code>HiveTable</code></a>s given a <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>.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>protected static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#isNameValid-java.lang.String-">isNameValid</a></span>(<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>&nbsp;name)</code>
<div class="block">Determine whether a database or table name is valid.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>protected <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/policy/HiveRegistrationPolicyBase.html#sanitizeAndValidateName-java.lang.String-">sanitizeAndValidateName</a></span>(<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>&nbsp;name)</code>&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>protected 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/policy/HiveRegistrationPolicyBase.html#sanitizeName-java.lang.String-">sanitizeName</a></span>(<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>&nbsp;name)</code>
<div class="block">Attempt to sanitize an invalid database or table name by replacing characters that are not alphanumeric
or '_' with '_'.</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_DATABASE_NAME">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>HIVE_DATABASE_NAME</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_DATABASE_NAME</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../constant-values.html#gobblin.hive.policy.HiveRegistrationPolicyBase.HIVE_DATABASE_NAME">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="ADDITIONAL_HIVE_DATABASE_NAMES">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ADDITIONAL_HIVE_DATABASE_NAMES</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> ADDITIONAL_HIVE_DATABASE_NAMES</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../constant-values.html#gobblin.hive.policy.HiveRegistrationPolicyBase.ADDITIONAL_HIVE_DATABASE_NAMES">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="HIVE_DATABASE_REGEX">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>HIVE_DATABASE_REGEX</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_DATABASE_REGEX</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../constant-values.html#gobblin.hive.policy.HiveRegistrationPolicyBase.HIVE_DATABASE_REGEX">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="HIVE_DATABASE_NAME_PREFIX">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>HIVE_DATABASE_NAME_PREFIX</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_DATABASE_NAME_PREFIX</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../constant-values.html#gobblin.hive.policy.HiveRegistrationPolicyBase.HIVE_DATABASE_NAME_PREFIX">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="HIVE_DATABASE_NAME_SUFFIX">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>HIVE_DATABASE_NAME_SUFFIX</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_DATABASE_NAME_SUFFIX</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../constant-values.html#gobblin.hive.policy.HiveRegistrationPolicyBase.HIVE_DATABASE_NAME_SUFFIX">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="HIVE_TABLE_NAME">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>HIVE_TABLE_NAME</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_TABLE_NAME</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../constant-values.html#gobblin.hive.policy.HiveRegistrationPolicyBase.HIVE_TABLE_NAME">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="ADDITIONAL_HIVE_TABLE_NAMES">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ADDITIONAL_HIVE_TABLE_NAMES</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> ADDITIONAL_HIVE_TABLE_NAMES</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../constant-values.html#gobblin.hive.policy.HiveRegistrationPolicyBase.ADDITIONAL_HIVE_TABLE_NAMES">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="HIVE_TABLE_REGEX">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>HIVE_TABLE_REGEX</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_TABLE_REGEX</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../constant-values.html#gobblin.hive.policy.HiveRegistrationPolicyBase.HIVE_TABLE_REGEX">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="HIVE_TABLE_NAME_PREFIX">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>HIVE_TABLE_NAME_PREFIX</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_TABLE_NAME_PREFIX</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../constant-values.html#gobblin.hive.policy.HiveRegistrationPolicyBase.HIVE_TABLE_NAME_PREFIX">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="HIVE_TABLE_NAME_SUFFIX">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>HIVE_TABLE_NAME_SUFFIX</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_TABLE_NAME_SUFFIX</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../constant-values.html#gobblin.hive.policy.HiveRegistrationPolicyBase.HIVE_TABLE_NAME_SUFFIX">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="HIVE_SANITIZE_INVALID_NAMES">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>HIVE_SANITIZE_INVALID_NAMES</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_SANITIZE_INVALID_NAMES</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../constant-values.html#gobblin.hive.policy.HiveRegistrationPolicyBase.HIVE_SANITIZE_INVALID_NAMES">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="HIVE_FS_URI">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>HIVE_FS_URI</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_FS_URI</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../constant-values.html#gobblin.hive.policy.HiveRegistrationPolicyBase.HIVE_FS_URI">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="PRIMARY_TABLE_TOKEN">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PRIMARY_TABLE_TOKEN</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> PRIMARY_TABLE_TOKEN</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../constant-values.html#gobblin.hive.policy.HiveRegistrationPolicyBase.PRIMARY_TABLE_TOKEN">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="configClient">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>configClient</h4>
<pre>protected static final&nbsp;<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-config-client/gobblin/config/client/ConfigClient.html?is-external=true" title="class or interface in gobblin.config.client">ConfigClient</a> configClient</pre>
</li>
</ul>
<a name="CONFIG_FOR_TOPIC_TIMER">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CONFIG_FOR_TOPIC_TIMER</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> CONFIG_FOR_TOPIC_TIMER</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../constant-values.html#gobblin.hive.policy.HiveRegistrationPolicyBase.CONFIG_FOR_TOPIC_TIMER">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="props">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>props</h4>
<pre>protected final&nbsp;<a href="../../../gobblin/hive/HiveRegProps.html" title="class in gobblin.hive">HiveRegProps</a> props</pre>
</li>
</ul>
<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="sanitizeNameAllowed">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sanitizeNameAllowed</h4>
<pre>protected final&nbsp;boolean sanitizeNameAllowed</pre>
</li>
</ul>
<a name="dbNamePattern">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dbNamePattern</h4>
<pre>protected final&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="https://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html?is-external=true" title="class or interface in java.util.regex">Pattern</a>&gt; dbNamePattern</pre>
</li>
</ul>
<a name="tableNamePattern">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>tableNamePattern</h4>
<pre>protected final&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="https://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html?is-external=true" title="class or interface in java.util.regex">Pattern</a>&gt; tableNamePattern</pre>
</li>
</ul>
<a name="dbNamePrefix">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dbNamePrefix</h4>
<pre>protected 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> dbNamePrefix</pre>
</li>
</ul>
<a name="dbNameSuffix">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dbNameSuffix</h4>
<pre>protected 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> dbNameSuffix</pre>
</li>
</ul>
<a name="tableNamePrefix">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>tableNamePrefix</h4>
<pre>protected 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> tableNamePrefix</pre>
</li>
</ul>
<a name="tableNameSuffix">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>tableNameSuffix</h4>
<pre>protected 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> tableNameSuffix</pre>
</li>
</ul>
<a name="metricContext">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>metricContext</h4>
<pre>protected final&nbsp;<a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-metrics/gobblin/metrics/MetricContext.html?is-external=true" title="class or interface in gobblin.metrics">MetricContext</a> metricContext</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="HiveRegistrationPolicyBase-gobblin.configuration.State-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>HiveRegistrationPolicyBase</h4>
<pre>public&nbsp;HiveRegistrationPolicyBase(<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)
throws <a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getDatabaseName-org.apache.hadoop.fs.Path-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDatabaseName</h4>
<pre>protected&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="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;&nbsp;getDatabaseName(<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)</pre>
<div class="block">This method first tries to obtain the database name from <a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#HIVE_DATABASE_NAME"><code>HIVE_DATABASE_NAME</code></a>.
If this property is not specified, it then tries to obtain the database name using
the first group of <a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#HIVE_DATABASE_REGEX"><code>HIVE_DATABASE_REGEX</code></a>.</div>
</li>
</ul>
<a name="getDatabaseNames-org.apache.hadoop.fs.Path-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDatabaseNames</h4>
<pre>protected&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="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;&nbsp;getDatabaseNames(<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)</pre>
<div class="block">Obtain Hive database names. The returned <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang"><code>Iterable</code></a> contains the database name returned by
<a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#getDatabaseName-org.apache.hadoop.fs.Path-"><code>getDatabaseName(Path)</code></a> (if present) plus additional database names specified in
<a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#ADDITIONAL_HIVE_DATABASE_NAMES"><code>ADDITIONAL_HIVE_DATABASE_NAMES</code></a>.</div>
</li>
</ul>
<a name="getTableName-org.apache.hadoop.fs.Path-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTableName</h4>
<pre>protected&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="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;&nbsp;getTableName(<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)</pre>
<div class="block">This method first tries to obtain the database name from <a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#HIVE_TABLE_NAME"><code>HIVE_TABLE_NAME</code></a>.
If this property is not specified, it then tries to obtain the database name using
the first group of <a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#HIVE_TABLE_REGEX"><code>HIVE_TABLE_REGEX</code></a>.</div>
</li>
</ul>
<a name="getTableNames-org.apache.hadoop.fs.Path-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTableNames</h4>
<pre>protected&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="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;&nbsp;getTableNames(<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)</pre>
<div class="block">Obtain Hive table names.
The returned <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang"><code>Iterable</code></a> contains:
1. Table name returned by <a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#getTableName-org.apache.hadoop.fs.Path-"><code>getTableName(Path)</code></a>
2. Table names specified by <code>additional.hive.table.names</code>
In table names above, the <a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#PRIMARY_TABLE_TOKEN">"$PRIMARY_TABLE"</a> if present is also replaced by the
table name obtained via <a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#getTableName-org.apache.hadoop.fs.Path-"><code>getTableName(Path)</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>path</code> - Path for the table on filesystem.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Table names to register.</dd>
</dl>
</li>
</ul>
<a name="getTableNames-com.google.common.base.Optional-org.apache.hadoop.fs.Path-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTableNames</h4>
<pre>protected&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/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;getTableNames(<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="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;&nbsp;dbPrefix,
<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)</pre>
<div class="block">Obtain Hive table names filtered by <code>dbPrefix</code> (if present).
The returned <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> contains:
A. If <code>dbPrefix</code> is absent:
1. Table name returned by <a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#getTableName-org.apache.hadoop.fs.Path-"><code>getTableName(Path)</code></a>
2. Table names specified by <code>additional.hive.table.names</code>
B. If dbPrefix is present:
1. Table names specified by <code>dbPrefix.hive.table.names</code>
In table names above, the <a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#PRIMARY_TABLE_TOKEN">"$PRIMARY_TABLE"</a> if present is also replaced by the
table name obtained via <a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#getTableName-org.apache.hadoop.fs.Path-"><code>getTableName(Path)</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dbPrefix</code> - Prefix to the property <code>additional.table.names</code>, to obtain table names only
for the specified db. Eg. If <code>dbPrefix</code> is db, then
<code>db.hive.table.names</code> is the resolved property name.</dd>
<dd><code>path</code> - Path for the table on filesystem.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Table names to register.</dd>
</dl>
</li>
</ul>
<a name="getDatabaseOrTableName-org.apache.hadoop.fs.Path-java.lang.String-java.lang.String-com.google.common.base.Optional-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDatabaseOrTableName</h4>
<pre>protected&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>&nbsp;getDatabaseOrTableName(<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="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;nameKey,
<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>&nbsp;regexKey,
<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="https://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html?is-external=true" title="class or interface in java.util.regex">Pattern</a>&gt;&nbsp;pattern)</pre>
</li>
</ul>
<a name="sanitizeAndValidateName-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sanitizeAndValidateName</h4>
<pre>protected&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>&nbsp;sanitizeAndValidateName(<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>&nbsp;name)</pre>
</li>
</ul>
<a name="getTables-org.apache.hadoop.fs.Path-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTables</h4>
<pre>protected&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="../../../gobblin/hive/HiveTable.html" title="class in gobblin.hive">HiveTable</a>&gt;&nbsp;getTables(<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)
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">A base implementation for creating <a href="../../../gobblin/hive/HiveTable.html" title="class in gobblin.hive"><code>HiveTable</code></a>s given a <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>.
<p>
This method returns a list of <code>Hivetable</code>s that contains one table per db name
(returned by <a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#getDatabaseNames-org.apache.hadoop.fs.Path-"><code>getDatabaseNames(Path)</code></a>) and table name (returned by <a href="../../../gobblin/hive/policy/HiveRegistrationPolicyBase.html#getTableNames-org.apache.hadoop.fs.Path-"><code>getTableNames(Path)</code></a>.
</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>path</code> - a <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> used to create the <a href="../../../gobblin/hive/HiveTable.html" title="class in gobblin.hive"><code>HiveTable</code></a>.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a list of <a href="../../../gobblin/hive/HiveTable.html" title="class in gobblin.hive"><code>HiveTable</code></a>s for the given <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>.</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="getTable-org.apache.hadoop.fs.Path-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTable</h4>
<pre>protected&nbsp;<a href="../../../gobblin/hive/HiveTable.html" title="class in gobblin.hive">HiveTable</a>&nbsp;getTable(<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="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;dbName,
<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>&nbsp;tableName)
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">A base implementation for creating a non bucketed, external <a href="../../../gobblin/hive/HiveTable.html" title="class in gobblin.hive"><code>HiveTable</code></a> for a <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>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>path</code> - a <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> used to create the <a href="../../../gobblin/hive/HiveTable.html" title="class in gobblin.hive"><code>HiveTable</code></a>.</dd>
<dd><code>dbName</code> - the database name for the created <a href="../../../gobblin/hive/HiveTable.html" title="class in gobblin.hive"><code>HiveTable</code></a>.</dd>
<dd><code>tableName</code> - the table name for the created <a href="../../../gobblin/hive/HiveTable.html" title="class in gobblin.hive"><code>HiveTable</code></a>.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a <a href="../../../gobblin/hive/HiveTable.html" title="class in gobblin.hive"><code>HiveTable</code></a>s for the given <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>.</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="getPartition-org.apache.hadoop.fs.Path-gobblin.hive.HiveTable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPartition</h4>
<pre>protected&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="../../../gobblin/hive/HivePartition.html" title="class in gobblin.hive">HivePartition</a>&gt;&nbsp;getPartition(<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/HiveTable.html" title="class in gobblin.hive">HiveTable</a>&nbsp;table)
throws <a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
<a name="getTableLocation-org.apache.hadoop.fs.Path-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTableLocation</h4>
<pre>protected&nbsp;<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;getTableLocation(<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)</pre>
</li>
</ul>
<a name="isNameValid-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isNameValid</h4>
<pre>protected static&nbsp;boolean&nbsp;isNameValid(<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>&nbsp;name)</pre>
<div class="block">Determine whether a database or table name is valid.
A name is valid if and only if: it starts with an alphanumeric character, contains only alphanumeric characters
and '_', and is NOT composed of numbers only.</div>
</li>
</ul>
<a name="sanitizeName-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sanitizeName</h4>
<pre>protected static&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>&nbsp;sanitizeName(<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>&nbsp;name)</pre>
<div class="block">Attempt to sanitize an invalid database or table name by replacing characters that are not alphanumeric
or '_' with '_'.</div>
</li>
</ul>
<a name="getHiveSpecs-org.apache.hadoop.fs.Path-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHiveSpecs</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../../gobblin/hive/spec/HiveSpec.html" title="interface in gobblin.hive.spec">HiveSpec</a>&gt;&nbsp;getHiveSpecs(<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)
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"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../gobblin/hive/policy/HiveRegistrationPolicy.html#getHiveSpecs-org.apache.hadoop.fs.Path-">HiveRegistrationPolicy</a></code></span></div>
<div class="block">Get a collection of <a href="../../../gobblin/hive/spec/HiveSpec.html" title="interface in gobblin.hive.spec"><code>HiveSpec</code></a>s for a <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>, which can be used by <a href="../../../gobblin/hive/HiveRegister.html" title="class in gobblin.hive"><code>HiveRegister</code></a>
to register the given <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>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../gobblin/hive/policy/HiveRegistrationPolicy.html#getHiveSpecs-org.apache.hadoop.fs.Path-">getHiveSpecs</a></code>&nbsp;in interface&nbsp;<code><a href="../../../gobblin/hive/policy/HiveRegistrationPolicy.html" title="interface in gobblin.hive.policy">HiveRegistrationPolicy</a></code></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="getPolicy-gobblin.configuration.State-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getPolicy</h4>
<pre>public static&nbsp;<a href="../../../gobblin/hive/policy/HiveRegistrationPolicy.html" title="interface in gobblin.hive.policy">HiveRegistrationPolicy</a>&nbsp;getPolicy(<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 a <a href="../../../gobblin/hive/policy/HiveRegistrationPolicy.html" title="interface in gobblin.hive.policy"><code>HiveRegistrationPolicy</code></a> from a <a href="http://linkedin.github.io/gobblin/javadoc/0.11.0/gobblin-api/gobblin/configuration/State.html?is-external=true" title="class or interface in gobblin.configuration"><code>State</code></a> object.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<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 that contains property, <code>#HIVE_REGISTRATION_POLICY</code>,
which is the class name of the desired policy. This policy class 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>
</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/policy/HiveRegistrationPolicy.html" title="interface in gobblin.hive.policy"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../gobblin/hive/policy/HiveSnapshotRegistrationPolicy.html" title="class in gobblin.hive.policy"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?gobblin/hive/policy/HiveRegistrationPolicyBase.html" target="_top">Frames</a></li>
<li><a href="HiveRegistrationPolicyBase.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>