phoenix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elilev...@apache.org
Subject [1/4] phoenix git commit: minor changes based on jesses feedback
Date Wed, 17 Jun 2015 20:06:38 GMT
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-0.98 b145ea3ab -> 7e25b6915


minor changes based on jesses feedback


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/7e25b691
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/7e25b691
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/7e25b691

Branch: refs/heads/4.x-HBase-0.98
Commit: 7e25b69156d9f5615893d5e5c1bfb714f3547d0c
Parents: 2ca6847
Author: Prashant Kommireddi <pkommireddi@pkommireddi-ltm.internal.salesforce.com>
Authored: Mon Jun 15 16:18:47 2015 -0700
Committer: Eli Levine <elilevine@apache.org>
Committed: Wed Jun 17 13:06:25 2015 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/phoenix/pig/util/TypeUtil.java   | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/7e25b691/phoenix-pig/src/main/java/org/apache/phoenix/pig/util/TypeUtil.java
----------------------------------------------------------------------
diff --git a/phoenix-pig/src/main/java/org/apache/phoenix/pig/util/TypeUtil.java b/phoenix-pig/src/main/java/org/apache/phoenix/pig/util/TypeUtil.java
index 6e32fb5..5820ec6 100644
--- a/phoenix-pig/src/main/java/org/apache/phoenix/pig/util/TypeUtil.java
+++ b/phoenix-pig/src/main/java/org/apache/phoenix/pig/util/TypeUtil.java
@@ -76,9 +76,7 @@ public final class TypeUtil {
     private TypeUtil() {}
 
     /**
-     * A map of Phoenix to Pig data types.
-     * 
-     * @return
+     * @return map of Phoenix to Pig data types.
      */
     private static ImmutableMap<PDataType, Byte> init() {
         final ImmutableMap.Builder<PDataType, Byte> builder = new Builder<PDataType,
Byte>();
@@ -160,7 +158,8 @@ public final class TypeUtil {
 
     /**
      * This method encodes a value with Phoenix data type. It begins with checking whether
an object is BINARY and makes
-     * a call to {@link #castBytes(Object, PDataType)} to convery bytes to targetPhoenixType
+     * a call to {@link #castBytes(Object, PDataType)} to convert bytes to targetPhoenixType.
It returns a {@link RuntimeException}
+     * when object can not be coerced.
      * 
      * @param o
      * @param targetPhoenixType


Mime
View raw message