gora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r911202 - in /websites/staging/gora/trunk/content: ./ current/gora-camel.html
Date Tue, 03 Jun 2014 23:00:48 GMT
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
     <td><tt><code>schemaExists</code></tt> 
     <td>*Returns whether the schema that holds the data exists in the datastore.*</td>
    </tr>
- <table>
+ </table>
 
-## Options
-
-### Gora Headers
+<h2 id="options">Options</h2>
+<h3 id="gora-headers">Gora Headers</h3>
 <table>
 <tr><th align="left">Property</th><th align="left">Description</th></tr>
 
@@ -249,10 +248,9 @@ Gora is being used in different settings
     <td><tt><code>GoraKey</code></tt> 
     <td>*Used in order to define the datum key for the operations need it.*</td>
    </tr>
- <table>
-
-### Gora Configuration attributes
+ </table>
 
+<h3 id="gora-configuration-attributes">Gora Configuration attributes</h3>
 <table>
   <tr><th align="left">Property</th><th align="left">Type</th><th
align="left">Description</th></tr>
    <tr>
@@ -290,12 +288,10 @@ Gora is being used in different settings
     </td><td>_boolean_</td>
     <td> *Flush on every operation (used only by producers).*</td>
    </tr>
-<table>
-
-*NOTE: the gora configuration properties marked with asterisk are mandatory* 
-
-### Gora Query attributes
+</table>
 
+<p><em>NOTE: the gora configuration properties marked with asterisk are mandatory</em>
</p>
+<h3 id="gora-query-attributes">Gora Query attributes</h3>
 <table>
    <tr><th align="left">Property</th><th align="left">Type</th><th
align="left">Description</th></tr>
 
@@ -365,73 +361,74 @@ Gora is being used in different settings
     <td> *Fields attribute.*</td>
    </tr>
 
-<table>
-
-### Usage examples
-
-
-**Create Schema** *(XML DSL)*:
-
-    <setHeader headerName="GoraOperation">
-       <constant>CreateSchema</constant>
-    </setHeader>
-
-    <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"/>
+</table>
 
-**SchemaExists** *(XML DSL)*:
+<h3 id="usage-examples">Usage examples</h3>
+<p><strong>Create Schema</strong> <em>(XML DSL)</em>:</p>
+<div class="codehilite"><pre><span class="nt">&lt;setHeader</span>
<span class="na">headerName=</span><span class="s">&quot;GoraOperation&quot;</span><span
class="nt">&gt;</span>
+   <span class="nt">&lt;constant&gt;</span>CreateSchema<span class="nt">&lt;/constant&gt;</span>
+<span class="nt">&lt;/setHeader&gt;</span>
 
-      <setHeader headerName="GoraOperation">
-        <constant>SchemaExists</constant>
-      </setHeader>
+<span class="nt">&lt;to</span> <span class="na">uri=</span><span
class="s">&quot;gora:foobar?keyClass=java.lang.Long&amp;amp;valueClass=org.apache.camel.component.gora.generated.Pageview&amp;amp;dataStoreClass=org.apache.gora.hbase.store.HBaseStore&quot;</span><span
class="nt">/&gt;</span>
+</pre></div>
 
-      <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"/>
 
+<p><strong>SchemaExists</strong> <em>(XML DSL)</em>:</p>
+<div class="codehilite"><pre>  <span class="nt">&lt;setHeader</span>
<span class="na">headerName=</span><span class="s">&quot;GoraOperation&quot;</span><span
class="nt">&gt;</span>
+    <span class="nt">&lt;constant&gt;</span>SchemaExists<span class="nt">&lt;/constant&gt;</span>
+  <span class="nt">&lt;/setHeader&gt;</span>
 
-**Put** *(XML DSL)*:
+  <span class="nt">&lt;to</span> <span class="na">uri=</span><span
class="s">&quot;gora:foobar?keyClass=java.lang.Long&amp;amp;valueClass=org.apache.camel.component.gora.generated.Pageview&amp;amp;dataStoreClass=org.apache.gora.hbase.store.HBaseStore&quot;</span><span
class="nt">/&gt;</span>
+</pre></div>
 
-      <setHeader headerName="GoraOperation">
-        <constant>put</constant>
-      </setHeader>
 
-      <setHeader headerName="GoraKey">
-        <constant>22222</constant>
-      </setHeader>
+<p><strong>Put</strong> <em>(XML DSL)</em>:</p>
+<div class="codehilite"><pre>  <span class="nt">&lt;setHeader</span>
<span class="na">headerName=</span><span class="s">&quot;GoraOperation&quot;</span><span
class="nt">&gt;</span>
+    <span class="nt">&lt;constant&gt;</span>put<span class="nt">&lt;/constant&gt;</span>
+  <span class="nt">&lt;/setHeader&gt;</span>
 
-      <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"/>
+  <span class="nt">&lt;setHeader</span> <span class="na">headerName=</span><span
class="s">&quot;GoraKey&quot;</span><span class="nt">&gt;</span>
+    <span class="nt">&lt;constant&gt;</span>22222<span class="nt">&lt;/constant&gt;</span>
+  <span class="nt">&lt;/setHeader&gt;</span>
 
-**Get** *(XML DSL)*:
+  <span class="nt">&lt;to</span> <span class="na">uri=</span><span
class="s">&quot;gora:foo?keyClass=java.lang.Long&amp;amp;valueClass=org.apache.camel.component.gora.generated.Pageview&amp;amp;dataStoreClass=org.apache.gora.hbase.store.HBaseStore&quot;</span><span
class="nt">/&gt;</span>
+</pre></div>
 
-    <setHeader headerName="GoraOperation">
-       <constant>GET</constant>
-    </setHeader>
 
-    <setHeader headerName="GoraKey">
-       <constant>10101</constant>
-    </setHeader>
+<p><strong>Get</strong> <em>(XML DSL)</em>:</p>
+<div class="codehilite"><pre><span class="nt">&lt;setHeader</span>
<span class="na">headerName=</span><span class="s">&quot;GoraOperation&quot;</span><span
class="nt">&gt;</span>
+   <span class="nt">&lt;constant&gt;</span>GET<span class="nt">&lt;/constant&gt;</span>
+<span class="nt">&lt;/setHeader&gt;</span>
 
-    <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"/>
+<span class="nt">&lt;setHeader</span> <span class="na">headerName=</span><span
class="s">&quot;GoraKey&quot;</span><span class="nt">&gt;</span>
+   <span class="nt">&lt;constant&gt;</span>10101<span class="nt">&lt;/constant&gt;</span>
+<span class="nt">&lt;/setHeader&gt;</span>
 
-**Delete** *(XML DSL)*:
+<span class="nt">&lt;to</span> <span class="na">uri=</span><span
class="s">&quot;gora:bar?keyClass=java.lang.Long&amp;amp;valueClass=org.apache.camel.component.gora.generated.Pageview&amp;amp;dataStoreClass=org.apache.gora.hbase.store.HBaseStore&quot;</span><span
class="nt">/&gt;</span>
+</pre></div>
 
-    <setHeader headerName="GoraOperation">
-      <constant>DELETE</constant>
-    </setHeader>
 
-    <setHeader headerName="GoraKey">
-      <constant>22222</constant>
-    </setHeader>
+<p><strong>Delete</strong> <em>(XML DSL)</em>:</p>
+<div class="codehilite"><pre><span class="nt">&lt;setHeader</span>
<span class="na">headerName=</span><span class="s">&quot;GoraOperation&quot;</span><span
class="nt">&gt;</span>
+  <span class="nt">&lt;constant&gt;</span>DELETE<span class="nt">&lt;/constant&gt;</span>
+<span class="nt">&lt;/setHeader&gt;</span>
 
-    <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"/>
+<span class="nt">&lt;setHeader</span> <span class="na">headerName=</span><span
class="s">&quot;GoraKey&quot;</span><span class="nt">&gt;</span>
+  <span class="nt">&lt;constant&gt;</span>22222<span class="nt">&lt;/constant&gt;</span>
+<span class="nt">&lt;/setHeader&gt;</span>
 
-**Query** *(XML DSL)*:
+<span class="nt">&lt;to</span> <span class="na">uri=</span><span
class="s">&quot;gora:bar?keyClass=java.lang.Long&amp;amp;valueClass=org.apache.camel.component.gora.generated.Pageview&amp;amp;dataStoreClass=org.apache.gora.hbase.store.HBaseStore&quot;</span><span
class="nt">/&gt;</span>
+</pre></div>
 
-    <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"/>
 
-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.
+<p><strong>Query</strong> <em>(XML DSL)</em>:</p>
+<div class="codehilite"><pre><span class="o">&lt;</span><span
class="n">to</span> <span class="n">uri</span><span class="p">=</span>&quot;<span
class="n">gora</span><span class="p">:</span><span class="n">foobar</span>?<span
class="n">keyClass</span><span class="p">=</span><span class="n">java</span><span
class="p">.</span><span class="n">lang</span><span class="p">.</span><span
class="n">Long</span><span class="o">&amp;</span><span class="n">amp</span><span
class="p">;</span><span class="n">valueClass</span><span class="p">=</span><span
class="n">org</span><span class="p">.</span><span class="n">apache</span><span
class="p">.</span><span class="n">camel</span><span class="p">.</span><span
class="n">component</span><span class="p">.</span><span class="n">gora</span><span
class="p">.</span><span class="n">generated</span><span class="p">.</span><span
class="n">Pageview</span><span class="o">&amp;</span><span class="n">amp</span><span
class="p">;</span><span class="n">dataStoreClass</
 span><span class="p">=</span><span class="n">org</span><span
class="p">.</span><span class="n">apache</span><span class="p">.</span><span
class="n">gora</span><span class="p">.</span><span class="n">hbase</span><span
class="p">.</span><span class="n">store</span><span class="p">.</span><span
class="n">HBaseStore</span>&quot;<span class="o">/&gt;</span>
+</pre></div>
 
-### 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).
+<p>The full usage examples in the form of integration tests can be found at <a href="https://github.com/ipolyzos/camel-gora-examples/">camel-gora-examples</a>
repository.</p>
+<h3 id="more-resources">More resources</h3>
+<p>For more please information and in depth configuration refer to the <a href="./overview.html">Apache
Gora Documentation</a> and the <a href="./tutorial.html">Apache Gora Tutorial</a>.</p>
 
   </div> <!-- /container (main block) -->
 



Mime
View raw message