<html>
<head>
    <base href="https://docs.jboss.org/author">
            <link rel="stylesheet" href="/author/s/en/2172/19/5/_/styles/combined.css?spaceKey=TEIID&amp;forWysiwyg=true" type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://docs.jboss.org/author/display/TEIID/Apache+HBase+Translator">Apache HBase Translator</a></h2>
    <h4>Page  <b>added</b> by             <a href="https://docs.jboss.org/author/display/~van.halbert">Van Halbert</a>
    </h4>
         <br/>
    <div class="notificationGreySide">
         <h1><a name="ApacheHBaseTranslator-ApacheHBaseTranslator%28hbase%29"></a><b>Apache HBase Translator</b> (hbase)</h1>

<p>The Apache HBase Translator, known by the name of <b><em>hbase</em></b>, exposes querying functionality to <a href="http://hbase.apache.org/" class="external-link" rel="nofollow">HBase</a> Tables. <a href="http://phoenix.apache.org/" class="external-link" rel="nofollow">Apache Phoenix </a> is a JDBC SQL interface for HBase - see <a href="/author/display/TEIID/Phoenix+Data+Sources" title="Phoenix Data Sources">Phoenix Data Sources</a> that is required for this translator as it pushes down commands into <a href="http://phoenix.apache.org/language/index.html" class="external-link" rel="nofollow">Phoenix SQL</a>.</p>

<p>The DatabaseTimezone property should not be used with this translator.</p>

<p>The HBase Translator doesn't support Joins. Phoenix uses the HBase Table Row ID as the Primary Key, which map to . This Translator is developed with Phoenix 4.3+ for HBase 0.98.1+.</p>

<div class='panelMacro'><table class='noteMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/author/images/icons/emoticons/warning.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td>The translator implements INSERT/UPDATE through the Phoenix UPSERT operation.  This means you can see different behavior than with standard INSERT/UPDATE - such as repeated inserts will not throw a duplicate key exception, but will instead update the row in question.</td></tr></table></div>

<div class='panelMacro'><table class='noteMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/author/images/icons/emoticons/warning.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td>Due to Phoenix driver limitations the importer will not look for unique constraints and defaults to not importing foreign keys.</td></tr></table></div>
    </div>
    <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;" class="grey">
                        <a href="https://docs.jboss.org/author/users/removespacenotification.action?spaceKey=TEIID">Stop watching space</a>
            <span style="padding: 0px 5px;">|</span>
                <a href="https://docs.jboss.org/author/users/editmyemailsettings.action">Change email notification preferences</a>
</div>
       <a href="https://docs.jboss.org/author/display/TEIID/Apache+HBase+Translator">View Online</a>
              |
       <a href="https://docs.jboss.org/author/display/TEIID/Apache+HBase+Translator?showComments=true&amp;showCommentArea=true#addcomment">Add Comment</a>
           </div>
</div>
</div>
</div>
</div>
</body>
</html>