crunch-commits mailing list archives

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

URL: http://svn.apache.org/r1558135
Log:
And one more SeqFile ref fix

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=1558135&r1=1558134&r2=1558135&view=diff
==============================================================================
--- crunch/site/trunk/content/user-guide.mdtext (original)
+++ crunch/site/trunk/content/user-guide.mdtext Tue Jan 14 18:12:00 2014
@@ -654,7 +654,7 @@ You use a Source in conjunction with one
   Pipeline pipeline = ...;
   PCollection<String> lines = pipeline.read(new TextFileSource(new Path("/user/crunch/text"),
Writables.strings()));
   
-  PTable<Long, ByteBuffer> binaryTable = pipeline.read(new SequenceFileTableSource(new
Path("/user/crunch/binary"),
+  PTable<Long, ByteBuffer> binaryTable = pipeline.read(new SeqFileTableSource(new
Path("/user/crunch/binary"),
       Writables.tableOf(Writables.longs(), Writables.bytes())));
 </pre>
 



Mime
View raw message