<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>edited</b> by             <a href="https://docs.jboss.org/author/display/~shawkins">Steven Hawkins</a>
    </h4>
        <br/>
                         <h4>Changes (1)</h4>
                                 
    
<div id="page-diffs">
                    <table class="diff" cellpadding="0" cellspacing="0">
    
            <tr><td class="diff-unchanged" >h1. *Apache HBase Translator* (hbase) <br> <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">{space-metadata-from:jdbcParent} <br> <br></td></tr>
            <tr><td class="diff-unchanged" >The Apache HBase Translator, known by the type name *_hbase_*, exposes querying functionality to [HBase|http://hbase.apache.org/] Tables. [Apache Phoenix |http://phoenix.apache.org/] is a JDBC SQL interface for HBase - see [TEIID:Phoenix Data Sources] that is required for this translator as it pushes down commands into [Phoenix SQL|http://phoenix.apache.org/language/index.html]. <br> <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
    
            </table>
    </div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <h1><a name="ApacheHBaseTranslator-ApacheHBaseTranslator%28hbase%29"></a><b>Apache HBase Translator</b> (hbase)</h1>

<p>Also see common <a href="/author/display/TEIID/JDBC+Translators" title="JDBC Translators">JDBC Translator Information</a></p>

<p>The Apache HBase Translator, known by the type name <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/pages/diffpagesbyversion.action?pageId=94765428&revisedVersion=3&originalVersion=2">View Changes</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>