You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gora.apache.org by bu...@apache.org on 2014/06/05 02:10:32 UTC
svn commit: r911385 - in /websites/staging/gora/trunk/content: ./
current/gora-accumulo.html
Author: buildbot
Date: Thu Jun 5 00:10:32 2014
New Revision: 911385
Log:
Staging update by buildbot for gora
Modified:
websites/staging/gora/trunk/content/ (props changed)
websites/staging/gora/trunk/content/current/gora-accumulo.html
Propchange: websites/staging/gora/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Jun 5 00:10:32 2014
@@ -1 +1 @@
-1600513
+1600545
Modified: websites/staging/gora/trunk/content/current/gora-accumulo.html
==============================================================================
--- websites/staging/gora/trunk/content/current/gora-accumulo.html (original)
+++ websites/staging/gora/trunk/content/current/gora-accumulo.html Thu Jun 5 00:10:32 2014
@@ -172,8 +172,8 @@ enables <a href="http://accumulo.apache.
<p>Say we wished to map some Employee data and store it into the AccumuloStore.</p>
<div class="codehilite"><pre><span class="nt"><gora-orm></span>
<span class="nt"><table</span> <span class="na">name=</span><span class="s">"Employee"</span><span class="nt">></span>
- <span class="nt"><family</span> <span class="na">name=</span><span class="s">"info"</span>
- <span class="na">config=</span><span class="s">"$$$"</span><span class="nt">/></span>
+ <span class="nt"><family</span> <span class="na">name=</span><span class="s">"info"</span> <span class="nt">/></span>
+ <span class="nt"><config</span> <span class="na">key=</span><span class="s">"table.file.compress.blocksize"</span> <span class="na">value=</span><span class="s">"32K"</span><span class="nt">/></span>
<span class="nt"></table></span>
<span class="nt"><class</span> <span class="na">name=</span><span class="s">"org.apache.gora.examples.generated.Employee"</span> <span class="na">keyClass=</span><span class="s">"java.lang.String"</span> <span class="na">table=</span><span class="s">"Employee"</span>
@@ -197,8 +197,8 @@ enables <a href="http://accumulo.apache.
</li>
<li>
<p>a nested element containing the type and definition of any families we wish to create within Accumulo. In this case we create one family <em>info</em> which could have a combination of any of the following parameters;</p>
-<p><strong>name</strong> (String): family name e.g. info</p>
-<p><strong>config</strong> (String): ...</p>
+<p>a <strong>name</strong> (String): family name e.g. info</p>
+<p>a <strong>config</strong> (key:value): which is a typical key/value-type configuration for Accumulo runtime configuration. A fully comprehensive list of options can be found <a href="http://accumulo.apache.org/1.5/accumulo_user_manual.html#_table_configuration">here</a> </p>
</li>
</ol>
<p>The <strong>class</strong> element where we specify of persistent fields which values should map to. This contains;</p>