You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by es...@apache.org on 2017/02/03 09:00:51 UTC
[49/50] [abbrv] incubator-hawq git commit: HAWQ-1308. Fixed Javadoc
warnings.
HAWQ-1308. Fixed Javadoc warnings.
Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/7d02472b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/7d02472b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/7d02472b
Branch: refs/heads/2.1.0.0-incubating
Commit: 7d02472b82e841254d63215c9acdfc51a2ecd7e3
Parents: f6452d2
Author: Oleksandr Diachenko <od...@pivotal.io>
Authored: Thu Feb 2 14:43:45 2017 -0800
Committer: Oleksandr Diachenko <od...@pivotal.io>
Committed: Thu Feb 2 14:44:19 2017 -0800
----------------------------------------------------------------------
.../java/org/apache/hawq/pxf/api/OutputFormat.java | 3 ++-
.../pxf/plugins/hive/utilities/HiveUtilities.java | 15 ++++++++-------
2 files changed, 10 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/7d02472b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/OutputFormat.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/OutputFormat.java b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/OutputFormat.java
index 89c4b30..4d2d806 100644
--- a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/OutputFormat.java
+++ b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/OutputFormat.java
@@ -44,7 +44,8 @@ public enum OutputFormat {
/**
* Looks up output format for given class name if it exists.
- *
+ *
+ * @param className class name implementing certain output format
* @throws UnsupportedTypeException if output format with given class wasn't found
* @return an output format with given class name
*/
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/7d02472b/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 37f4ac2..3328c9f 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
@@ -455,11 +455,11 @@ public class HiveUtilities {
/**
* The method which serializes fragment-related attributes, needed for reading and resolution to string
*
- * @param fragmenterClassName
- * @param partData
- * @param filterInFragmenter
+ * @param fragmenterClassName fragmenter class name
+ * @param partData partition data
+ * @param filterInFragmenter whether filtering was done in fragmenter
* @return serialized representation of fragment-related attributes
- * @throws Exception
+ * @throws Exception when error occurred during serialization
*/
@SuppressWarnings("unchecked")
public static byte[] makeUserData(String fragmenterClassName, HiveTablePartition partData, boolean filterInFragmenter) throws Exception {
@@ -494,7 +494,7 @@ public class HiveUtilities {
* @param input input data
* @param supportedSerdes list of allowed serdes in current context
* @return instance of HiveUserData class
- * @throws UserDataException
+ * @throws UserDataException when incorrect number of tokens in Hive user data received
*/
public static HiveUserData parseHiveUserData(InputData input, PXF_HIVE_SERDES... supportedSerdes) throws UserDataException{
String userData = new String(input.getFragmentUserData());
@@ -610,10 +610,11 @@ public class HiveUtilities {
/**
* Creates an instance of a given serde type
*
- * @param serdeType
- * @param allowedSerdes
+ * @param serdeType SerDe type
+ * @param allowedSerdes allowed serdes in current context
* @return instance of a given serde
* @throws UnsupportedTypeException if given serde is not allowed in current context
+ * @throws Exception if other error occurred during creation of SerDe instance
*/
@SuppressWarnings("deprecation")
public static SerDe createDeserializer(PXF_HIVE_SERDES serdeType, PXF_HIVE_SERDES... allowedSerdes) throws Exception{