<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/Coherence+Cache+Translator">Coherence Cache 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="CoherenceCacheTranslator-%7B%7DCoherenceCacheTranslator%7B%7D"></a><b>Coherence Cache Translator</b></h1>

<p>The Coherence Cache translator, known by the name of <em>coherence</em>, is a bridge for reading and writing java objects to/from an Coherence Cache.  &nbsp;This translator extends the <a href="/author/display/TEIID/Object+Translator" title="Object Translator">Object Translator</a> and uses it for the core processing of reading and writing objects.   The Coherence Cache Translator is written so that it can control how the cache is searched and any capabilities that are needed to control that behavior. </p>


<h2><a name="CoherenceCacheTranslator-%7B%7DSearchingCapabilities%7B%7D"></a><b><em>Searching Capabilities</em></b></h2>

<p>Current searching capabilities that is performed by the cache is Key searching.  Future enhancements are being targeted to work out the details for how the indexing can be configured so that searching on any indexed column is possible.</p>

<h2><a name="CoherenceCacheTranslator-Installation"></a>Installation</h2>
<p>The coherence translator is not built as part of core Teiid build.   Its being stored in a separate <a href="https://github.com/teiid/teiid-coherence/tree/master/translator-coherence" class="external-link" rel="nofollow">teiid-coherence  </a> github repository due to the coherence jar dependency is not available in a public maven repo.  See the <a href="https://github.com/teiid/teiid-coherence/blob/master/README.md" class="external-link" rel="nofollow">README.md </a> for full details on building and installation.</p>


<h3><a name="CoherenceCacheTranslator-ExecutionProperties"></a>Execution Properties</h3>
<p>None applicable at this time.</p>

<h3><a name="CoherenceCacheTranslator-SupportedCapabilities"></a>Supported Capabilities</h3>

<p>The following are the connector capabilities when Key Searching is used:</p>
<ul>
        <li>SELECT command</li>
        <li>CompareCriteria - only EQ</li>
        <li>InCriteria</li>
        <li>Insert, Update, Delete</li>
</ul>



<h2><a name="CoherenceCacheTranslator-Usage"></a>Usage</h2>

<ul>
        <li>Retrieve objects from a cache and transform into rows and columns.</li>
        <li>Perform writes to the cache</li>
</ul>



<h2><a name="CoherenceCacheTranslator-Metadata"></a>Metadata</h2>

<p>See the <a href="/author/display/TEIID/Object+Translator#ObjectTranslator-Metadata">Object Translator#Metadata</a> for details on defining the metadata.</p>


<h3><a name="CoherenceCacheTranslator-%7B%7DJCAResourceAdapter%7B%7D"></a><b>JCA Resource Adapter</b></h3>

<p>See the Coherence Datasources resource adapter for this translator.</p>
    </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/Coherence+Cache+Translator">View Online</a>
              |
       <a href="https://docs.jboss.org/author/display/TEIID/Coherence+Cache+Translator?showComments=true&amp;showCommentArea=true#addcomment">Add Comment</a>
           </div>
</div>
</div>
</div>
</div>
</body>
</html>