keith-turner commented on a change in pull request #38: Continue tour
URL: https://github.com/apache/accumulo-website/pull/38#discussion_r150921255
 
 

 ##########
 File path: tour/data-model-code.md
 ##########
 @@ -0,0 +1,65 @@
+---
+title: Data Model Code
+---
+
+```java
+        // Connect to Mini Accumulo as the root user and create a table called 
"GothamPD".
+        Connector conn = mac.getConnector("root", "tourguide");
+        conn.tableOperations().create("GothamPD");
+
+        // Create 3 Mutation objects to hold each person of interest.
+        Mutation mutation1 = new Mutation("id0001");
+        Mutation mutation2 = new Mutation("id0002");
 
 Review comment:
   personally I would colocate the mutation creation with the puts for that 
mutation ... 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to