Repository: incubator-hawq
Updated Branches:
  refs/heads/master b661d3a0e -> 2c4502158


HAWQ-1070. Fix javadoc related issues in PXF


Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/2c450215
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/2c450215
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/2c450215

Branch: refs/heads/master
Commit: 2c45021587c594dce009259cfd847a9fe052a3e1
Parents: b661d3a
Author: Shivram Mani <[email protected]>
Authored: Fri Sep 23 11:29:04 2016 -0700
Committer: Shivram Mani <[email protected]>
Committed: Fri Sep 23 11:29:04 2016 -0700

----------------------------------------------------------------------
 .../hawq/pxf/plugins/hive/utilities/EnumHiveToHawqType.java      | 2 +-
 .../apache/hawq/pxf/plugins/hive/utilities/HiveUtilities.java    | 2 +-
 .../java/org/apache/hawq/pxf/plugins/json/JsonRecordReader.java  | 2 +-
 .../hawq/pxf/plugins/json/parser/PartitionedJsonParser.java      | 4 ++--
 4 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/2c450215/pxf/pxf-hive/src/main/java/org/apache/hawq/pxf/plugins/hive/utilities/EnumHiveToHawqType.java
----------------------------------------------------------------------
diff --git 
a/pxf/pxf-hive/src/main/java/org/apache/hawq/pxf/plugins/hive/utilities/EnumHiveToHawqType.java
 
b/pxf/pxf-hive/src/main/java/org/apache/hawq/pxf/plugins/hive/utilities/EnumHiveToHawqType.java
index cea52e0..d91e949 100644
--- 
a/pxf/pxf-hive/src/main/java/org/apache/hawq/pxf/plugins/hive/utilities/EnumHiveToHawqType.java
+++ 
b/pxf/pxf-hive/src/main/java/org/apache/hawq/pxf/plugins/hive/utilities/EnumHiveToHawqType.java
@@ -100,7 +100,7 @@ public enum EnumHiveToHawqType {
     /**
      * Returns Hive to HAWQ type mapping entry for given Hive type 
      * 
-     * @param hiveType full Hive type with modifiers, for example - 
decimal(10, 0), char(5), binary, array<string>, map<string,float> etc
+     * @param hiveType full Hive type with modifiers, for example - 
decimal(10, 0), char(5), binary, array&lt;string&gt;, map&lt;string,float&gt; 
etc
      * @return corresponding Hive to HAWQ type mapping entry
      * @throws UnsupportedTypeException if there is no corresponding HAWQ type
      */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/2c450215/pxf/pxf-hive/src/main/java/org/apache/hawq/pxf/plugins/hive/utilities/HiveUtilities.java
----------------------------------------------------------------------
diff --git 
a/pxf/pxf-hive/src/main/java/org/apache/hawq/pxf/plugins/hive/utilities/HiveUtilities.java
 
b/pxf/pxf-hive/src/main/java/org/apache/hawq/pxf/plugins/hive/utilities/HiveUtilities.java
index 806b041..e18fcd8 100644
--- 
a/pxf/pxf-hive/src/main/java/org/apache/hawq/pxf/plugins/hive/utilities/HiveUtilities.java
+++ 
b/pxf/pxf-hive/src/main/java/org/apache/hawq/pxf/plugins/hive/utilities/HiveUtilities.java
@@ -262,7 +262,7 @@ public class HiveUtilities {
      * Converts HAWQ type to hive type.
      * @see EnumHiveToHawqType For supported mappings
      * @param type HAWQ data type
-     * @param name field name
+     * @param modifiers Integer array of modifier info
      * @return Hive type
      * @throws UnsupportedTypeException if type is not supported
      */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/2c450215/pxf/pxf-json/src/main/java/org/apache/hawq/pxf/plugins/json/JsonRecordReader.java
----------------------------------------------------------------------
diff --git 
a/pxf/pxf-json/src/main/java/org/apache/hawq/pxf/plugins/json/JsonRecordReader.java
 
b/pxf/pxf-json/src/main/java/org/apache/hawq/pxf/plugins/json/JsonRecordReader.java
index 26d4c82..8f67f6d 100644
--- 
a/pxf/pxf-json/src/main/java/org/apache/hawq/pxf/plugins/json/JsonRecordReader.java
+++ 
b/pxf/pxf-json/src/main/java/org/apache/hawq/pxf/plugins/json/JsonRecordReader.java
@@ -67,7 +67,7 @@ public class JsonRecordReader implements 
RecordReader<LongWritable, Text> {
         *            Hadoop context
         * @param split
         *            HDFS split to start the reading from
-        * @throws IOException
+        * @throws IOException IOException when reading the file
         */
        public JsonRecordReader(JobConf conf, FileSplit split) throws 
IOException {
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/2c450215/pxf/pxf-json/src/main/java/org/apache/hawq/pxf/plugins/json/parser/PartitionedJsonParser.java
----------------------------------------------------------------------
diff --git 
a/pxf/pxf-json/src/main/java/org/apache/hawq/pxf/plugins/json/parser/PartitionedJsonParser.java
 
b/pxf/pxf-json/src/main/java/org/apache/hawq/pxf/plugins/json/parser/PartitionedJsonParser.java
index 71ad449..fd3b2a1 100644
--- 
a/pxf/pxf-json/src/main/java/org/apache/hawq/pxf/plugins/json/parser/PartitionedJsonParser.java
+++ 
b/pxf/pxf-json/src/main/java/org/apache/hawq/pxf/plugins/json/parser/PartitionedJsonParser.java
@@ -34,7 +34,7 @@ import 
org.apache.hawq.pxf.plugins.json.parser.JsonLexer.JsonLexerState;
  * stream (which is assumed to be positioned at any arbitrary position inside 
some JSON text) until it finds the first
  * JSON begin-object "{". From this point on it will keep reading JSON objects 
until it finds one containing a member
  * string that the user supplies.
- * <p/>
+ * &lt;p/&gt;
  * It is not recommended to use this with JSON text where individual JSON 
objects that can be large (MB's or larger).
  */
 public class PartitionedJsonParser {
@@ -88,7 +88,7 @@ public class PartitionedJsonParser {
         *            Indicates the member name used to determine the 
encapsulating object to return.
         * @return Returns next json object that contains a member attribute 
with name: memberName. Returns null if no such
         *         object is found or the end of the stream is reached.
-        * @throws IOException
+        * @throws IOException IOException when stream reading
         */
        public String nextObjectContainingMember(String memberName) throws 
IOException {
 

Reply via email to