Return-Path: X-Original-To: apmail-gora-commits-archive@www.apache.org Delivered-To: apmail-gora-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D7C9E11B19 for ; Tue, 3 Jun 2014 23:01:10 +0000 (UTC) Received: (qmail 42571 invoked by uid 500); 3 Jun 2014 23:01:10 -0000 Delivered-To: apmail-gora-commits-archive@gora.apache.org Received: (qmail 42539 invoked by uid 500); 3 Jun 2014 23:01:10 -0000 Mailing-List: contact commits-help@gora.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@gora.apache.org Delivered-To: mailing list commits@gora.apache.org Received: (qmail 42532 invoked by uid 99); 3 Jun 2014 23:01:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jun 2014 23:01:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jun 2014 23:01:09 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 104D42388ABC for ; Tue, 3 Jun 2014 23:00:49 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r911202 - in /websites/staging/gora/trunk/content: ./ current/gora-camel.html Date: Tue, 03 Jun 2014 23:00:48 -0000 To: commits@gora.apache.org From: buildbot@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20140603230049.104D42388ABC@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: buildbot Date: Tue Jun 3 23:00:48 2014 New Revision: 911202 Log: Staging update by buildbot for gora Modified: websites/staging/gora/trunk/content/ (props changed) websites/staging/gora/trunk/content/current/gora-camel.html Propchange: websites/staging/gora/trunk/content/ ------------------------------------------------------------------------------ --- cms:source-revision (original) +++ cms:source-revision Tue Jun 3 23:00:48 2014 @@ -1 +1 @@ -1599830 +1599831 Modified: websites/staging/gora/trunk/content/current/gora-camel.html ============================================================================== --- websites/staging/gora/trunk/content/current/gora-camel.html (original) +++ websites/staging/gora/trunk/content/current/gora-camel.html Tue Jun 3 23:00:48 2014 @@ -231,11 +231,10 @@ Gora is being used in different settings schemaExists *Returns whether the schema that holds the data exists in the datastore.* - +
-## Options - -### Gora Headers +

Options

+

Gora Headers

@@ -249,10 +248,9 @@ Gora is being used in different settings -
PropertyDescription
GoraKey *Used in order to define the datum key for the operations need it.*
- -### Gora Configuration attributes +
+

Gora Configuration attributes

@@ -290,12 +288,10 @@ Gora is being used in different settings -
PropertyTypeDescription
_boolean_ *Flush on every operation (used only by producers).*
- -*NOTE: the gora configuration properties marked with asterisk are mandatory* - -### Gora Query attributes +
+

NOTE: the gora configuration properties marked with asterisk are mandatory

+

Gora Query attributes

@@ -365,73 +361,74 @@ Gora is being used in different settings -
PropertyTypeDescription
*Fields attribute.*
- -### Usage examples - - -**Create Schema** *(XML DSL)*: - - - CreateSchema - - - +
-**SchemaExists** *(XML DSL)*: +

Usage examples

+

Create Schema (XML DSL):

+
<setHeader headerName="GoraOperation">
+   <constant>CreateSchema</constant>
+</setHeader>
 
-      
-        SchemaExists
-      
+<to uri="gora:foobar?keyClass=java.lang.Long&amp;valueClass=org.apache.camel.component.gora.generated.Pageview&amp;dataStoreClass=org.apache.gora.hbase.store.HBaseStore"/>
+
- +

SchemaExists (XML DSL):

+
  <setHeader headerName="GoraOperation">
+    <constant>SchemaExists</constant>
+  </setHeader>
 
-**Put** *(XML DSL)*:
+  <to uri="gora:foobar?keyClass=java.lang.Long&amp;valueClass=org.apache.camel.component.gora.generated.Pageview&amp;dataStoreClass=org.apache.gora.hbase.store.HBaseStore"/>
+
- - put - - - 22222 - +

Put (XML DSL):

+
  <setHeader headerName="GoraOperation">
+    <constant>put</constant>
+  </setHeader>
 
-      
+  <setHeader headerName="GoraKey">
+    <constant>22222</constant>
+  </setHeader>
 
-**Get** *(XML DSL)*:
+  <to uri="gora:foo?keyClass=java.lang.Long&amp;valueClass=org.apache.camel.component.gora.generated.Pageview&amp;dataStoreClass=org.apache.gora.hbase.store.HBaseStore"/>
+
- - GET - - - 10101 - +

Get (XML DSL):

+
<setHeader headerName="GoraOperation">
+   <constant>GET</constant>
+</setHeader>
 
-    
+<setHeader headerName="GoraKey">
+   <constant>10101</constant>
+</setHeader>
 
-**Delete** *(XML DSL)*:
+<to uri="gora:bar?keyClass=java.lang.Long&amp;valueClass=org.apache.camel.component.gora.generated.Pageview&amp;dataStoreClass=org.apache.gora.hbase.store.HBaseStore"/>
+
- - DELETE - - - 22222 - +

Delete (XML DSL):

+
<setHeader headerName="GoraOperation">
+  <constant>DELETE</constant>
+</setHeader>
 
-    
+<setHeader headerName="GoraKey">
+  <constant>22222</constant>
+</setHeader>
 
-**Query** *(XML DSL)*:
+<to uri="gora:bar?keyClass=java.lang.Long&amp;valueClass=org.apache.camel.component.gora.generated.Pageview&amp;dataStoreClass=org.apache.gora.hbase.store.HBaseStore"/>
+
- -The full usage examples in the form of integration tests can be found at [camel-gora-examples](https://github.com/ipolyzos/camel-gora-examples/) repository. +

Query (XML DSL):

+
<to uri="gora:foobar?keyClass=java.lang.Long&amp;valueClass=org.apache.camel.component.gora.generated.Pageview&amp;dataStoreClass=org.apache.gora.hbase.store.HBaseStore"/>
+
-### More resources -For more please information and in depth configuration refer to the [Apache Gora Documentation](./overview.html) and the [Apache Gora Tutorial](./tutorial.html). +

The full usage examples in the form of integration tests can be found at camel-gora-examples repository.

+

More resources

+

For more please information and in depth configuration refer to the Apache Gora Documentation and the Apache Gora Tutorial.