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/04 23:35:23 UTC

svn commit: r1600512 - /gora/site/trunk/content/current/gora-accumulo.md

Author: lewismc
Date: Wed Jun  4 21:35:23 2014
New Revision: 1600512

URL: http://svn.apache.org/r1600512
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=1600512&r1=1600511&r2=1600512&view=diff
==============================================================================
--- gora/site/trunk/content/current/gora-accumulo.md (original)
+++ gora/site/trunk/content/current/gora-accumulo.md Wed Jun  4 21:35:23 2014
@@ -37,18 +37,28 @@ Here you can see that we require the def
 
 The **table** element; where we specify:
 
-* a parameter relating to the Accumulo table name (String) e.g. name="Employee",
-* 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
-  * config (String): ...
+1. a parameter relating to the Accumulo table name (String) e.g. name="Employee",
+
+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
+
+   **config** (String): ...
 
 The **class** element where we specify of persistent fields which values should map to. This contains;
 
-* a parameter containing the Persistent class name e.g. <code>org.apache.gora.examples.generated.Employee</code>,
-* a parameter containing the keyClass e.g. <code>java.lang.String</code> which specifies the keys which map to the field values,
-* a parameter containing the Table name e.g. <code>Employee</code> which matches to the above Table definition,
-* a parameter containing the Encoder to be used e.g. <code>org.apache.gora.accumulo.encoders.BinaryEncoder</code> which defines an appropriate [encoder](https://github.com/apache/gora/tree/master/gora-accumulo/src/main/java/org/apache/gora/accumulo/encoders) for for object field values. 
-* finally nested child element(s) mapping fields which are to be persisted into Accumulo. These fields need to be configured such that they receive;
- * a parameter containing the name e.g. (name, dateOfBirth, ssn and salary respectively),
- * a parameter containing the column family to which they belong e.g. (all info in this case),
- * an optional parameter qualifier, which enables more granular control over the data to be persisted into HBase.
+1. a parameter containing the Persistent class **name** e.g. <code>org.apache.gora.examples.generated.Employee</code>,
+
+2. a parameter containing the **keyClass** e.g. <code>java.lang.String</code> which specifies the keys which map to the field values,
+
+3. a parameter containing the Table **name** e.g. <code>Employee</code> which matches to the above Table definition,
+
+4. a parameter containing the **Encoder** to be used e.g. <code>org.apache.gora.accumulo.encoders.BinaryEncoder</code> which defines an appropriate [encoder](https://github.com/apache/gora/tree/master/gora-accumulo/src/main/java/org/apache/gora/accumulo/encoders) for for object field values. 
+
+5. finally nested child element(s) mapping fields which are to be persisted into Accumulo. These fields need to be configured such that they receive;
+
+    a parameter containing the **name** e.g. (name, dateOfBirth, ssn and salary respectively),
+
+    a parameter containing the column **family** to which they belong e.g. (all info in this case),
+
+    an optional parameter **qualifier**, which enables more granular control over the data to be persisted into HBase.