Author: lewismc
Date: Fri Aug 10 10:35:43 2012
New Revision: 1371643
URL: http://svn.apache.org/viewvc?rev=1371643&view=rev
Log:
copy new docs from trunk
Modified:
gora/site/publish/docs/current/gora-cassandra.html
gora/site/publish/docs/current/gora-cassandra.pdf
gora/site/publish/docs/current/gora-conf.html
gora/site/publish/docs/current/gora-conf.pdf
gora/site/publish/docs/current/gora-core.html
gora/site/publish/docs/current/gora-core.pdf
gora/site/publish/docs/current/gora-hbase.html
gora/site/publish/docs/current/gora-hbase.pdf
gora/site/publish/docs/current/gora-sql.html
gora/site/publish/docs/current/gora-sql.pdf
gora/site/publish/docs/current/index.html
gora/site/publish/docs/current/index.pdf
gora/site/publish/docs/current/linkmap.html
gora/site/publish/docs/current/linkmap.pdf
gora/site/publish/docs/current/quickstart.html
gora/site/publish/docs/current/quickstart.pdf
gora/site/publish/docs/current/tutorial.html
gora/site/publish/docs/current/tutorial.pdf
Modified: gora/site/publish/docs/current/gora-cassandra.html
URL:
http://svn.apache.org/viewvc/gora/site/publish/docs/current/gora-cassandra.html?rev=1371643&r1=1371642&r2=1371643&view=diff
==============================================================================
--- gora/site/publish/docs/current/gora-cassandra.html (original)
+++ gora/site/publish/docs/current/gora-cassandra.html Fri Aug 10 10:35:43 2012
@@ -129,7 +129,10 @@ document.write("Last Published: " + docu
<a href="gora-sql.html">gora-sql</a>
</div>
<div class="menuitem">
-<a href="api/index.html">API docs</a>
+<a href="https://builds.apache.org/job/gora-trunk/javadoc">Nightly API docs</a>
+</div>
+<div class="menuitem">
+<a href="apidocs-0.2.1/index.html">0.2.1 API docs</a>
</div>
</div>
<div id="credit"></div>
Modified: gora/site/publish/docs/current/gora-cassandra.pdf
URL:
http://svn.apache.org/viewvc/gora/site/publish/docs/current/gora-cassandra.pdf?rev=1371643&r1=1371642&r2=1371643&view=diff
==============================================================================
Binary files - no diff available.
Modified: gora/site/publish/docs/current/gora-conf.html
URL:
http://svn.apache.org/viewvc/gora/site/publish/docs/current/gora-conf.html?rev=1371643&r1=1371642&r2=1371643&view=diff
==============================================================================
--- gora/site/publish/docs/current/gora-conf.html (original)
+++ gora/site/publish/docs/current/gora-conf.html Fri Aug 10 10:35:43 2012
@@ -129,7 +129,10 @@ document.write("Last Published: " + docu
<a href="gora-sql.html">gora-sql</a>
</div>
<div class="menuitem">
-<a href="api/index.html">API docs</a>
+<a href="https://builds.apache.org/job/gora-trunk/javadoc">Nightly API docs</a>
+</div>
+<div class="menuitem">
+<a href="apidocs-0.2.1/index.html">0.2.1 API docs</a>
</div>
</div>
<div id="credit"></div>
Modified: gora/site/publish/docs/current/gora-conf.pdf
URL:
http://svn.apache.org/viewvc/gora/site/publish/docs/current/gora-conf.pdf?rev=1371643&r1=1371642&r2=1371643&view=diff
==============================================================================
Binary files - no diff available.
Modified: gora/site/publish/docs/current/gora-core.html
URL:
http://svn.apache.org/viewvc/gora/site/publish/docs/current/gora-core.html?rev=1371643&r1=1371642&r2=1371643&view=diff
==============================================================================
--- gora/site/publish/docs/current/gora-core.html (original)
+++ gora/site/publish/docs/current/gora-core.html Fri Aug 10 10:35:43 2012
@@ -129,7 +129,10 @@ document.write("Last Published: " + docu
<a href="gora-sql.html">gora-sql</a>
</div>
<div class="menuitem">
-<a href="api/index.html">API docs</a>
+<a href="https://builds.apache.org/job/gora-trunk/javadoc">Nightly API docs</a>
+</div>
+<div class="menuitem">
+<a href="apidocs-0.2.1/index.html">0.2.1 API docs</a>
</div>
</div>
<div id="credit"></div>
Modified: gora/site/publish/docs/current/gora-core.pdf
URL:
http://svn.apache.org/viewvc/gora/site/publish/docs/current/gora-core.pdf?rev=1371643&r1=1371642&r2=1371643&view=diff
==============================================================================
Binary files - no diff available.
Modified: gora/site/publish/docs/current/gora-hbase.html
URL:
http://svn.apache.org/viewvc/gora/site/publish/docs/current/gora-hbase.html?rev=1371643&r1=1371642&r2=1371643&view=diff
==============================================================================
--- gora/site/publish/docs/current/gora-hbase.html (original)
+++ gora/site/publish/docs/current/gora-hbase.html Fri Aug 10 10:35:43 2012
@@ -129,7 +129,10 @@ document.write("Last Published: " + docu
<a href="gora-sql.html">gora-sql</a>
</div>
<div class="menuitem">
-<a href="api/index.html">API docs</a>
+<a href="https://builds.apache.org/job/gora-trunk/javadoc">Nightly API docs</a>
+</div>
+<div class="menuitem">
+<a href="apidocs-0.2.1/index.html">0.2.1 API docs</a>
</div>
</div>
<div id="credit"></div>
Modified: gora/site/publish/docs/current/gora-hbase.pdf
URL:
http://svn.apache.org/viewvc/gora/site/publish/docs/current/gora-hbase.pdf?rev=1371643&r1=1371642&r2=1371643&view=diff
==============================================================================
Binary files - no diff available.
Modified: gora/site/publish/docs/current/gora-sql.html
URL:
http://svn.apache.org/viewvc/gora/site/publish/docs/current/gora-sql.html?rev=1371643&r1=1371642&r2=1371643&view=diff
==============================================================================
--- gora/site/publish/docs/current/gora-sql.html (original)
+++ gora/site/publish/docs/current/gora-sql.html Fri Aug 10 10:35:43 2012
@@ -129,7 +129,10 @@ document.write("Last Published: " + docu
<div class="menupagetitle">gora-sql</div>
</div>
<div class="menuitem">
-<a href="api/index.html">API docs</a>
+<a href="https://builds.apache.org/job/gora-trunk/javadoc">Nightly API docs</a>
+</div>
+<div class="menuitem">
+<a href="apidocs-0.2.1/index.html">0.2.1 API docs</a>
</div>
</div>
<div id="credit"></div>
Modified: gora/site/publish/docs/current/gora-sql.pdf
URL:
http://svn.apache.org/viewvc/gora/site/publish/docs/current/gora-sql.pdf?rev=1371643&r1=1371642&r2=1371643&view=diff
==============================================================================
Binary files - no diff available.
Modified: gora/site/publish/docs/current/index.html
URL:
http://svn.apache.org/viewvc/gora/site/publish/docs/current/index.html?rev=1371643&r1=1371642&r2=1371643&view=diff
==============================================================================
--- gora/site/publish/docs/current/index.html (original)
+++ gora/site/publish/docs/current/index.html Fri Aug 10 10:35:43 2012
@@ -129,7 +129,10 @@ document.write("Last Published: " + docu
<a href="gora-sql.html">gora-sql</a>
</div>
<div class="menuitem">
-<a href="api/index.html">API docs</a>
+<a href="https://builds.apache.org/job/gora-trunk/javadoc">Nightly API docs</a>
+</div>
+<div class="menuitem">
+<a href="apidocs-0.2.1/index.html">0.2.1 API docs</a>
</div>
</div>
<div id="credit">
@@ -181,7 +184,7 @@ document.write("Last Published: " + docu
<li>Information about gora modules can be found at the <a
href="#Gora+Modules">section below</a>. </li>
-<li>You can also take a look at the <a href="api/index.html"> API</a>
documentation which
+<li>You can also take a look at the <a href="apidocs-0.2.1/index.html">
API</a> documentation which
contains the javadoc for all of the modules combined. </li>
<li>You can find how to configure gora in <a href="gora-conf.html"> Gora
Configuration</a>. </li>
Modified: gora/site/publish/docs/current/index.pdf
URL:
http://svn.apache.org/viewvc/gora/site/publish/docs/current/index.pdf?rev=1371643&r1=1371642&r2=1371643&view=diff
==============================================================================
Binary files - no diff available.
Modified: gora/site/publish/docs/current/linkmap.html
URL:
http://svn.apache.org/viewvc/gora/site/publish/docs/current/linkmap.html?rev=1371643&r1=1371642&r2=1371643&view=diff
==============================================================================
--- gora/site/publish/docs/current/linkmap.html (original)
+++ gora/site/publish/docs/current/linkmap.html Fri Aug 10 10:35:43 2012
@@ -129,7 +129,10 @@ document.write("Last Published: " + docu
<a href="gora-sql.html">gora-sql</a>
</div>
<div class="menuitem">
-<a href="api/index.html">API docs</a>
+<a href="https://builds.apache.org/job/gora-trunk/javadoc">Nightly API docs</a>
+</div>
+<div class="menuitem">
+<a href="apidocs-0.2.1/index.html">0.2.1 API docs</a>
</div>
</div>
<div id="credit"></div>
@@ -219,7 +222,13 @@ document.write("Last Published: " + docu
<ul>
<li>
-<a href="api/index.html">API
docs</a> ___________________ <em>api</em>
+<a href="https://builds.apache.org/job/gora-trunk/javadoc">Nightly API
docs</a> ___________________ <em>nightly</em>
+</li>
+</ul>
+
+<ul>
+<li>
+<a href="apidocs-0.2.1/index.html">0.2.1 API
docs</a> ___________________ <em>api</em>
</li>
</ul>
Modified: gora/site/publish/docs/current/linkmap.pdf
URL:
http://svn.apache.org/viewvc/gora/site/publish/docs/current/linkmap.pdf?rev=1371643&r1=1371642&r2=1371643&view=diff
==============================================================================
Binary files - no diff available.
Modified: gora/site/publish/docs/current/quickstart.html
URL:
http://svn.apache.org/viewvc/gora/site/publish/docs/current/quickstart.html?rev=1371643&r1=1371642&r2=1371643&view=diff
==============================================================================
--- gora/site/publish/docs/current/quickstart.html (original)
+++ gora/site/publish/docs/current/quickstart.html Fri Aug 10 10:35:43 2012
@@ -129,7 +129,10 @@ document.write("Last Published: " + docu
<a href="gora-sql.html">gora-sql</a>
</div>
<div class="menuitem">
-<a href="api/index.html">API docs</a>
+<a href="https://builds.apache.org/job/gora-trunk/javadoc">Nightly API docs</a>
+</div>
+<div class="menuitem">
+<a href="apidocs-0.2.1/index.html">0.2.1 API docs</a>
</div>
</div>
<div id="credit"></div>
Modified: gora/site/publish/docs/current/quickstart.pdf
URL:
http://svn.apache.org/viewvc/gora/site/publish/docs/current/quickstart.pdf?rev=1371643&r1=1371642&r2=1371643&view=diff
==============================================================================
Binary files - no diff available.
Modified: gora/site/publish/docs/current/tutorial.html
URL:
http://svn.apache.org/viewvc/gora/site/publish/docs/current/tutorial.html?rev=1371643&r1=1371642&r2=1371643&view=diff
==============================================================================
--- gora/site/publish/docs/current/tutorial.html (original)
+++ gora/site/publish/docs/current/tutorial.html Fri Aug 10 10:35:43 2012
@@ -129,7 +129,10 @@ document.write("Last Published: " + docu
<a href="gora-sql.html">gora-sql</a>
</div>
<div class="menuitem">
-<a href="api/index.html">API docs</a>
+<a href="https://builds.apache.org/job/gora-trunk/javadoc">Nightly API docs</a>
+</div>
+<div class="menuitem">
+<a href="apidocs-0.2.1/index.html">0.2.1 API docs</a>
</div>
</div>
<div id="credit"></div>
@@ -524,7 +527,7 @@ document.write("Last Published: " + docu
now. </p>
<p> Gora compiler extends Avro's <span
class="codefrag">SpecificCompiler</span> to convert JSON definition
into a Java class. Generated classes extend
- the <a
href="api/org/apache/gora/persistency/Persistent.html">Persistent</a>
interface.
+ the <a
href="apidocs-0.2.1/org/apache/gora/persistency/Persistent.html">Persistent</a>
interface.
Most of the methods of the <span class="codefrag">Persistent</span>
interface deal with bookkeeping for
persistence, and state tracking, so most of the time they are not used
explicitly by the
user. Now, let's look at the internals of the generated class <span
class="codefrag">Pageview.java</span>.
@@ -589,7 +592,7 @@ public class Pageview extends Persistent
<a name="HBase+mappings"></a>
<h4> HBase mappings </h4>
<p> HBase mappings are stored at file named <span
class="codefrag">gora-hbase-mappings.xml</span>.
- For this tutorial we will be using the file <span
class="codefrag">gora-tutorial/conf/gora-sql-mappings.xml</span>.</p>
+ For this tutorial we will be using the file <span
class="codefrag">gora-tutorial/conf/gora-hbase-mappings.xml</span>.</p>
<p>
<pre class="code">
<gora-orm>
@@ -672,7 +675,7 @@ public class Pageview extends Persistent
</pre>
</p>
<p>
-<a href="api/org/apache/gora/store/DataStore.html">DataStore</a> is probably
the most important
+<a href="apidocs-0.2.1/org/apache/gora/store/DataStore.html">DataStore</a> is
probably the most important
class in the Gora API. <span class="codefrag">DataStore</span> handles
actual object persistence. Objects can be persisted,
fetched, queried or deleted by the DataStore methods. Every data store
that Gora supports, defines its own subclass
of the DataStore class. For example <span
class="codefrag">gora-hbase</span> module defines <span
class="codefrag">HBaseStore</span>, and
@@ -681,7 +684,7 @@ public class Pageview extends Persistent
<p> DataStores always have associated key and value(persistent) classes. Key
class is the class of the keys of the
data store, and the value is the actual data bean's class. The value class
is almost always generated by
Avro schema definitions using the Gora compiler. </p>
-<p> Data store objects are created by <a
href="api/org/apache/gora/store/DataStoreFactory.html">DataStoreFactory</a>. It
is necessary to
+<p> Data store objects are created by <a
href="apidocs-0.2.1/org/apache/gora/store/DataStoreFactory.html">DataStoreFactory</a>.
It is necessary to
provide the key and value class. The datastore class is optional,
and if not specified it will be read from the configuration
(gora.properties).</p>
<p> For this tutorial, we have already defined the avro schema to use and
compiled
@@ -812,7 +815,7 @@ LogManager -parse <input_log_file>
}
</pre>
</p>
-<p> All we need to do is to call the <a
href="api/org/apache/gora/store/DataStore.html#put(K,T)">
+<p> All we need to do is to call the <a
href="apidocs-0.2.1/org/apache/gora/store/DataStore.html#put(K,T)">
put()</a> method, which expects a long as key and an instance of <span
class="codefrag">Pageview</span>
as a value.</p>
<a name="Closing+the+DataStore"></a>
@@ -821,7 +824,7 @@ LogManager -parse <input_log_file>
<span class="codefrag">DataStore</span> implementations can do a lot of
caching for performance.
However, this means that data is not always flushed to persistent storage
all the times.
So we need to make sure that upon finishing storing objects, we need to
close the datastore
- instance by calling it's <a
href="api/org/apache/gora/store/DataStore.html#close()">close()</a> method.
+ instance by calling it's <a
href="apidocs-0.2.1/org/apache/gora/store/DataStore.html#close()">close()</a>
method.
LogManager always closes it's datastore in it's own <span
class="codefrag">close()</span> method. </p>
<p>
<pre class="code">
@@ -834,7 +837,7 @@ LogManager -parse <input_log_file>
</pre>
</p>
<p>If you are pushing a lot of data, or if you want your data to be accessible
before closing
- the data store, you can also the <a
href="api/org/apache/gora/store/DataStore.html#flush()">flush()</a>
+ the data store, you can also the <a
href="apidocs-0.2.1/org/apache/gora/store/DataStore.html#flush()">flush()</a>
method which, as expected, flushes the data to the underlying data store.
However, the actual flush
semantics can vary by the data store backend. For example, in SQL flush
calls <span class="codefrag">commit()</span>
on the jdbc <span class="codefrag">Connection</span> object, whereas in
Hbase, <span class="codefrag">HTable#flush()</span> is called.
@@ -908,7 +911,7 @@ ROW COLUMN+CELL
two methods for fetching objects. First one is to fetch a single object
given it's key. The
second method is to run a query through the data store. </p>
<p>To fetch objects one by one, we can use one of the overloaded
- <a href="api/org/apache/gora/store/DataStore.html#get(K)">get()</a>
methods.
+ <a
href="apidocs-0.2.1/org/apache/gora/store/DataStore.html#get(K)">get()</a>
methods.
The method with signature <span class="codefrag">get(K key)</span> returns
the object corresponding to the given key fetching all the
fields. On the other hand <span class="codefrag">get(K key, String[]
fields) </span> returns the object corresponding to the
given key, but fetching only the fields given as the second argument.</p>
@@ -943,12 +946,12 @@ org.apache.gora.tutorial.log.generated.P
</p>
<a name="Querying+objects"></a>
<h3 class="underlined_5"> Querying objects </h3>
-<p> DataStore API defines a <a
href="api/org/apache/gora/query/Query.html">Query</a>
+<p> DataStore API defines a <a
href="apidocs-0.2.1/org/apache/gora/query/Query.html">Query</a>
interface to query the objects at the data store. Each data store
implementation
can use a specific implementation of the <span
class="codefrag">Query</span> interface. Queries are
- instantiated by calling <a
href="api/org/apache/gora/store/DataStore.html#newQuery()">
+ instantiated by calling <a
href="apidocs-0.2.1/org/apache/gora/store/DataStore.html#newQuery()">
DataStore#newQuery()</a>. When the query is run through the datastore, the
results
- are returned via the <a href="api/org/apache/gora/query/Result.html">
Result</a>
+ are returned via the <a
href="apidocs-0.2.1/org/apache/gora/query/Result.html"> Result</a>
interface. Let's see how we can run a query and display the results below
in the
the LogManager class. </p>
<p>
@@ -966,15 +969,15 @@ org.apache.gora.tutorial.log.generated.P
}
</pre>
</p>
-<p> After constructing a <a
href="api/org/apache/gora/query/Query.html">Query</a>, its properties
+<p> After constructing a <a
href="apidocs-0.2.1/org/apache/gora/query/Query.html">Query</a>, its properties
are set via the setter methods. Then calling
- <a
href="api/org/apache/gora/query/Query.html#execute()">query.execute()</a>
returns
+ <a
href="apidocs-0.2.1/org/apache/gora/query/Query.html#execute()">query.execute()</a>
returns
the Result object.</p>
<p>
-<a href="api/org/apache/gora/query/Result.html"> Result</a> interface allows
us to
- iterate the results one by one by calling the <a
href="api/org/apache/gora/query/Result.html#next()">
- next()</a> method. The <a
href="api/org/apache/gora/query/Result.html#getKey()">
- getKey()</a> method returns the current key and <a
href="api/org/apache/gora/query/Result.html#get()">
+<a href="apidocs-0.2.1/org/apache/gora/query/Result.html"> Result</a>
interface allows us to
+ iterate the results one by one by calling the <a
href="apidocs-0.2.1/org/apache/gora/query/Result.html#next()">
+ next()</a> method. The <a
href="apidocs-0.2.1/org/apache/gora/query/Result.html#getKey()">
+ getKey()</a> method returns the current key and <a
href="apidocs-0.2.1/org/apache/gora/query/Result.html#get()">
get()</a> returns current persistent object. </p>
<p>
<pre class="code">
@@ -1030,10 +1033,10 @@ org.apache.gora.tutorial.log.generated.P
<h3 class="underlined_5">Deleting objects</h3>
<p> Just like fetching objects, there are two main methods to delete
objects from the data store. The first one is to delete objects one by
- one using the <a href="api/org/apache/gora/store/DataStore.html#delete(K)">
+ one using the <a
href="apidocs-0.2.1/org/apache/gora/store/DataStore.html#delete(K)">
DataStore#delete(K)</a> method, which takes the key of the object.
Alternatively we can delete all of the data that matches a given query by
- calling the <a
href="api/org/apache/gora/store/DataStore.html#deleteByQuery(org.gora.query.Query)">
+ calling the <a
href="apidocs-0.2.1/org/apache/gora/store/DataStore.html#deleteByQuery(org.gora.query.Query)">
DataStore#deleteByQuery(Query)</a> method. By using deleteByQuery, we can
do fine-grain deletes, for example deleting just a specific field
from several records. </p>
@@ -1194,18 +1197,18 @@ gora.sqlstore.jdbc.url=jdbc:hsqldb:hsql:
<h3 class="underlined_5"> Constructing the job </h3>
<p> In constructing the job object for Hadoop, we need to define whether we
will use
Gora as job input, output or both. Gora defines
- its own <a
href="api/org/apache/gora/mapreduce/GoraInputFormat.html">GoraInputFormat</a>,
- and <a
href="api/org/apache/gora/mapreduce/GoraOutputFormat.html">GoraOutputFormat</a>,
which
+ its own <a
href="apidocs-0.2.1/org/apache/gora/mapreduce/GoraInputFormat.html">GoraInputFormat</a>,
+ and <a
href="apidocs-0.2.1/org/apache/gora/mapreduce/GoraOutputFormat.html">GoraOutputFormat</a>,
which
uses <span class="codefrag">DataStore</span>'s as input sources and
output sinks for the jobs.
<span class="codefrag">Gora{In|Out}putFormat</span> classes define
static methods to set up the job properly.
However, if the mapper or reducer extends Gora's mapper and reducer
classes,
- you can use the static methods defined in <a
href="api/org/apache/gora/mapreduce/GoraMapper.html">GoraMapper</a> and
- <a
href="api/org/apache/gora/mapreduce/GoraReducer.html">GoraReducer</a> since
they are more convenient. </p>
+ you can use the static methods defined in <a
href="apidocs-0.2.1/org/apache/gora/mapreduce/GoraMapper.html">GoraMapper</a>
and
+ <a
href="apidocs-0.2.1/org/apache/gora/mapreduce/GoraReducer.html">GoraReducer</a>
since they are more convenient. </p>
<p> For this tutorial we will use Gora as both input and output. As can be
seen from the
<span class="codefrag">createJob()</span> function, quoted below, we
create the job
as normal, and set the input parameters via
- <a
href="api/org/apache/gora/mapreduce/GoraMapper.html#initMapperJob(org.apache.hadoop.mapreduce.Job,%20org.gora.store.DataStore,%20java.lang.Class,%20java.lang.Class,%20java.lang.Class,%20boolean)">GoraMapper#initMapperJob()</a>,
- and <a
href="api/org/apache/gora/mapreduce/GoraReducer.html#initReducerJob(org.apache.hadoop.mapreduce.Job,%20org.apache.gora.store.DataStore,%20java.lang.Class)">GoraReducer#initReducerJob()
+ <a
href="apidocs-0.2.1/org/apache/gora/mapreduce/GoraMapper.html#initMapperJob(org.apache.hadoop.mapreduce.Job,%20org.gora.store.DataStore,%20java.lang.Class,%20java.lang.Class,%20java.lang.Class,%20boolean)">GoraMapper#initMapperJob()</a>,
+ and <a
href="apidocs-0.2.1/org/apache/gora/mapreduce/GoraReducer.html#initReducerJob(org.apache.hadoop.mapreduce.Job,%20org.apache.gora.store.DataStore,%20java.lang.Class)">GoraReducer#initReducerJob()
</a>. <span class="codefrag">GoraMapper#initMapperJob()</span> takes a
store and an optional query to fetch the data from.
When a query is given, only the results of the query is used as the
input of the job, if not all the records
are used.
@@ -1244,14 +1247,14 @@ gora.sqlstore.jdbc.url=jdbc:hsqldb:hsql:
<a name="Gora+mappers+and+using+Gora+an+input"></a>
<h3 class="underlined_5"> Gora mappers and using Gora an input </h3>
<p> Typically, if Gora is used as job input, the Mapper class extends
- <a href="api/org/apache/gora/mapreduce/GoraMapper.html">GoraMapper</a>.
However, currently
+ <a
href="apidocs-0.2.1/org/apache/gora/mapreduce/GoraMapper.html">GoraMapper</a>.
However, currently
this is not forced by the API so other class hierarchies can be used
instead.
The mapper receives the key value pairs that are the results of the
input query, and emits
the results of the custom map task. Note that output records from map
are independent
from the input and output data stores, so any Hadoop serializable key
value class can be used.
However, Gora persistent classes are also Hadoop serializable. Hadoop
serialization is
- handled by the <a
href="api/org/apache/gora/mapreduce/PersistentSerialization.html">
- PersistentSerialization</a> class. Gora also defines a <a
href="api/org/apache/gora/mapreduce/StringSerialization.html">
+ handled by the <a
href="apidocs-0.2.1/org/apache/gora/mapreduce/PersistentSerialization.html">
+ PersistentSerialization</a> class. Gora also defines a <a
href="apidocs-0.2.1/org/apache/gora/mapreduce/StringSerialization.html">
StringSerialization</a> class, to serialize strings easily.
</p>
<p> Coming back to the code for the tutorial, we can see that <span
class="codefrag">LogAnalytics</span>
@@ -1281,7 +1284,7 @@ gora.sqlstore.jdbc.url=jdbc:hsqldb:hsql:
<a name="Gora+reducers+and+using+Gora+as+output"></a>
<h3 class="underlined_5"> Gora reducers and using Gora as output</h3>
<p>Similar to the input, typically, if Gora is used as job output, the Reducer
extends
- <a
href="api/org/apache/gora/mapreduce/GoraReducer.html">GoraReducer</a>. The
values
+ <a
href="apidocs-0.2.1/org/apache/gora/mapreduce/GoraReducer.html">GoraReducer</a>.
The values
emitted by the reducer are persisted to the output data store as a
result of the job.
</p>
<p> For this tutorial, the <span class="codefrag">LogAnalyticsReducer</span>
inner class,
Modified: gora/site/publish/docs/current/tutorial.pdf
URL:
http://svn.apache.org/viewvc/gora/site/publish/docs/current/tutorial.pdf?rev=1371643&r1=1371642&r2=1371643&view=diff
==============================================================================
Binary files - no diff available.