Repository: incubator-hawq Updated Branches: refs/heads/master f6452d273 -> 7d02472b8
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/master Commit: 7d02472b82e841254d63215c9acdfc51a2ecd7e3 Parents: f6452d2 Author: Oleksandr Diachenko <odiache...@pivotal.io> Authored: Thu Feb 2 14:43:45 2017 -0800 Committer: Oleksandr Diachenko <odiache...@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{