You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gora.apache.org by le...@apache.org on 2014/06/05 02:10:21 UTC
svn commit: r1600545 - /gora/site/trunk/content/current/gora-accumulo.md
Author: lewismc
Date: Thu Jun 5 00:10:20 2014
New Revision: 1600545
URL: http://svn.apache.org/r1600545
Log:
CMS commit to gora by lewismc
Modified:
gora/site/trunk/content/current/gora-accumulo.md
Modified: gora/site/trunk/content/current/gora-accumulo.md
URL: http://svn.apache.org/viewvc/gora/site/trunk/content/current/gora-accumulo.md?rev=1600545&r1=1600544&r2=1600545&view=diff
==============================================================================
--- gora/site/trunk/content/current/gora-accumulo.md (original)
+++ gora/site/trunk/content/current/gora-accumulo.md Thu Jun 5 00:10:20 2014
@@ -18,8 +18,8 @@ Say we wished to map some Employee data
<gora-orm>
<table name="Employee">
- <family name="info"
- config="$$$"/>
+ <family name="info" />
+ <config key="table.file.compress.blocksize" value="32K"/>
</table>
<class name="org.apache.gora.examples.generated.Employee" keyClass="java.lang.String" table="Employee"
@@ -41,9 +41,9 @@ The **table** element; where we specify:
2. a nested element containing the type and definition of any families we wish to create within Accumulo. In this case we create one family *info* which could have a combination of any of the following parameters;
- **name** (String): family name e.g. info
+ a **name** (String): family name e.g. info
- **config** (String): ...
+ a **config** (key:value): which is a typical key/value-type configuration for Accumulo runtime configuration. A fully comprehensive list of options can be found [here](http://accumulo.apache.org/1.5/accumulo_user_manual.html#_table_configuration)
The **class** element where we specify of persistent fields which values should map to. This contains;