crunch-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwi...@apache.org
Subject svn commit: r1635035 - /crunch/site/trunk/content/user-guide.mdtext
Date Wed, 29 Oct 2014 03:42:25 GMT
Author: jwills
Date: Wed Oct 29 03:42:24 2014
New Revision: 1635035

URL: http://svn.apache.org/r1635035
Log:
MD battle, take 5

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=1635035&r1=1635034&r2=1635035&view=diff
==============================================================================
--- crunch/site/trunk/content/user-guide.mdtext (original)
+++ crunch/site/trunk/content/user-guide.mdtext Wed Oct 29 03:42:24 2014
@@ -547,13 +547,8 @@ includes both Avro generic and specific 
 	PType<Record> avroGenericType = Avros.generics(schema);
 
 The [Avros](apidocs/0.10.0/org/apache/crunch/types/avro/Avros.html) class also has a `reflects`
method for creating PTypes
-for POJOs using Avro's reflection-based serialization mechanism. There are a couple of restrictions
on the structure of
-the POJO:
-
-1. It must have a default, no-arg constructor.
-2. All of its fields must be Avro primitive types or collection types that have Avro equivalents,
like `ArrayList` and
-`HashMap<String, T>`. You may also have arrays of Avro primitive types.
-
+for POJOs using Avro's reflection-based serialization mechanism. There are a couple of restrictions
on the structure of the POJO. First, it must have a default, no-arg constructor. Second, all
of its fields must be Avro primitive types or collection types that have Avro equivalents,
like `ArrayList` and `HAshMap<String, T>`. You may also have arrays of Avro primitive
types.
+the POJO.
 
 	// Declare an inline data type and use it for Crunch serialization
 	public static class UrlData {



Mime
View raw message