crunch-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwi...@apache.org
Subject svn commit: r1558133 - /crunch/site/trunk/content/user-guide.mdtext
Date Tue, 14 Jan 2014 18:06:09 GMT
Author: jwills
Date: Tue Jan 14 18:06:08 2014
New Revision: 1558133

URL: http://svn.apache.org/r1558133
Log:
Add links for Source/Targets in User Guide

Modified:
    crunch/site/trunk/content/user-guide.mdtext

Modified: crunch/site/trunk/content/user-guide.mdtext
URL: http://svn.apache.org/viewvc/crunch/site/trunk/content/user-guide.mdtext?rev=1558133&r1=1558132&r2=1558133&view=diff
==============================================================================
--- crunch/site/trunk/content/user-guide.mdtext (original)
+++ crunch/site/trunk/content/user-guide.mdtext Tue Jan 14 18:06:08 2014
@@ -98,7 +98,7 @@ of patterns. The following table illustr
 top of Apache Hadoop:
 
 <a name="rels"></a>
-<table border="1">
+<table border="1" align="center">
   <tr>
     <td>Concept</td>
     <td><a href="http://hadoop.apache.org">Apache Hadoop MapReduce</a></td>
@@ -689,7 +689,7 @@ different files using the NLineInputForm
 
 Here is a table of commonly used Sources and their associated usage information:
 
-<table border="1">
+<table border="1" align="center">
   <tr>
     <td>Input Type</td>
     <td>Source</td>
@@ -699,28 +699,28 @@ Here is a table of commonly used Sources
   </tr>
   <tr>
     <td>Text</td>
-    <td><pre>org.apache.crunch.io.text.TextFileSource</pre></td>
+    <td><a href="apidocs/0.9.0/org/apache/crunch/io/text/TextFileSource.html">org.apache.crunch.io.text.TextFileSource</a></td>
     <td>PCollection&lt;String&gt;</td>
-    <td><pre>textFile</pre></td>
+    <td>textFile</td>
     <td>Works for both TextInputFormat and AvroUtf8InputFormat</td>
   </tr>
   <tr>
     <td>Sequence</td>
-    <td><pre>org.apache.crunch.io.seq.SequenceFileTableSource</pre></td>
+    <td><a href="apidocs/0.9.0/org/apache/crunch/io/seq/SequenceFileTableSource.html">org.apache.crunch.io.seq.SequenceFileTableSource</a></td>
     <td>PTable&lt;K, V&gt;</td>
-    <td><pre>sequenceFile</pre></td>
-    <td>Also has a SequenceFileSource which reads the value and ignores the key.</td>
+    <td>sequenceFile</td>
+    <td>Also has a <a href="apidocs/0.9.0/org/apache/crunch/io/seq/SequenceFileSource.html">SequenceFileSource</a>
which reads the value and ignores the key.</td>
   </tr>
   <tr>
     <td>Avro</td>
-    <td><pre>org.apache.crunch.io.avro.AvroFileSource</pre></td>
+    <td><a href="apidocs/0.9.0/org/apache/crunch/io/avro/AvroFileSource.html">org.apache.crunch.io.avro.AvroFileSource</a></td>
     <td>PCollection&lt;V&gt;</td>
-    <td><pre>avroFile</pre></td>
+    <td>avroFile</td>
     <td>No PTable analogue for Avro records.</td>
   </tr>
   <tr>
     <td>Parquet</td>
-    <td><pre>org.apache.crunch.io.parquet.AvroParquetFileSource</pre></td>
+    <td><a href="apidocs/0.9.0/org/apache/crunch/io/parquet/AvroParquetFileSource.html">org.apache.crunch.io.parquet.AvroParquetFileSource</a></td>
     <td>PCollection&lt;V&gt;</td>
     <td>N/A</td>
     <td>Reads Avro records from a parquet-formatted file; expects an Avro PType.</td>
@@ -773,7 +773,7 @@ parameters that this Target needs:
 
 Here is a table of commonly used Targets:
 
-<table border="1">
+<table border="1" align="center">
   <tr>
     <td>Output Type</td>
     <td>Target</td>
@@ -782,25 +782,25 @@ Here is a table of commonly used Targets
   </tr>
   <tr>
     <td>Text</td>
-    <td><pre>org.apache.crunch.io.text.TextFileTarget</pre></td>
-    <td><pre>textFile</pre></td>
+    <td><a href="apidocs/0.9.0/org/apache/crunch/io/text/TextFileTarget.html">org.apache.crunch.io.text.TextFileTarget</a></td>
+    <td>textFile</td>
     <td>Will write out the string version of whatever it's given, which should be text.
See also: Pipeline.writeTextFile.</td>
   </tr>
   <tr>
     <td>Sequence</td>
-    <td><pre>org.apache.crunch.io.seq.SequenceFileTarget</pre></td>
-    <td><pre>sequenceFile</pre></td>
+    <td><a href="apidocs/0.9.0/org/apache/crunch/io/seq/SequenceFileTarget.html">org.apache.crunch.io.seq.SequenceFileTarget</a></td>
+    <td>sequenceFile</td>
     <td>Works on both PCollection and PTable.</td>
   </tr>
   <tr>
     <td>Avro</td>
-    <td><pre>org.apache.crunch.io.avro.AvroFileTarget</pre></td>
-    <td><pre>avroFile</pre></td>
+    <td><a href="apidocs/0.9.0/org/apache/crunch/io/avro/AvroFileTarget.html">org.apache.crunch.io.avro.AvroFileTarget</a></td>
+    <td>avroFile</td>
     <td>Treats PTables as PCollections of Pairs.</td>
   </tr>
   <tr>
     <td>Parquet</td>
-    <td><pre>org.apache.crunch.io.parquet.AvroParquetFileTarget</pre></td>
+    <td><a href="apidocs/0.9.0/org/apache/crunch/io/parquet/AvroParquetFileTarget.html">org.apache.crunch.io.parquet.AvroParquetFileTarget</a></td>
     <td>N/A</td>
     <td>Writes Avro records to parquet-formatted files; expects an Avro PType.</td>
   </tr>
@@ -1327,7 +1327,7 @@ your jobs on the JobTracker or Applicati
 There are a number of handy configuration parameters that can be used to adjust the behavior
of MRPipeline that you should be
 aware of:
 
-<table border="1">
+<table border="1" align="center">
   <tr>
     <td><b>Name</b></td>
     <td><b>Type</b></td>



Mime
View raw message