org.apache.hadoop.hive.ql.exec.descriptionorg.apache.hadoop.hive.ql.exec.Description



Project apache/hive in file ...contrib.genericudf.example.GenericUDFDBOutput.java (2010-01-25)
@@ -25,7 +25,7 @@
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.hadoop.hive.ql.exec.UDFArgumentTypeException;
-import org.apache.hadoop.hive.ql.exec.description;
+import org.apache.hadoop.hive.ql.exec.Description;
 import org.apache.hadoop.hive.ql.metadata.HiveException;
 import org.apache.hadoop.hive.ql.udf.UDFType;
 import org.apache.hadoop.hive.ql.udf.generic.GenericUDF;
@@ -51,7 +51,7 @@
  * Use hive's ADD JAR feature to add your JDBC Driver to the distributed cache,
  * otherwise GenericUDFDBoutput will fail.
  */
-@description(name = "dboutput", value = "_FUNC_(jdbcstring,username,password,preparedstatement,[arguments]) - sends data to a jdbc driver", extended = "argument 0 is the JDBC connection string\n"
+@Description(name = "dboutput", value = "_FUNC_(jdbcstring,username,password,preparedstatement,[arguments]) - sends data to a jdbc driver", extended = "argument 0 is the JDBC connection string\n"
     + "argument 1 is the user name\n"
     + "argument 2 is the password\n"
     + "argument 3 is an SQL query to be used in the PreparedStatement\n"
Project apache/hive in file ...hive.contrib.udtf.example.GenericUDTFExplode2.java (2010-01-25)
@@ -22,7 +22,7 @@
 import java.util.List;
 
 import org.apache.hadoop.hive.ql.exec.UDFArgumentException;
-import org.apache.hadoop.hive.ql.exec.description;
+import org.apache.hadoop.hive.ql.exec.Description;
 import org.apache.hadoop.hive.ql.metadata.HiveException;
 import org.apache.hadoop.hive.ql.udf.generic.GenericUDTF;
 import org.apache.hadoop.hive.serde2.objectinspector.ListObjectInspector;
@@ -30,7 +30,7 @@
 import org.apache.hadoop.hive.serde2.objectinspector.ObjectInspectorFactory;
 import org.apache.hadoop.hive.serde2.objectinspector.StructObjectInspector;
 
-@description(name = "explode2", value = "_FUNC_(a) - like explode, but outputs two identical columns (for "
+@Description(name = "explode2", value = "_FUNC_(a) - like explode, but outputs two identical columns (for "
     + "testing purposes)")
 public class GenericUDTFExplode2 extends GenericUDTF {
 
Project apache/hive in file ...rc.java.org.apache.hadoop.hive.ql.udf.UDAFMax.java (2010-01-25)
@@ -20,7 +20,7 @@
 
 import org.apache.hadoop.hive.ql.exec.UDAF;
 import org.apache.hadoop.hive.ql.exec.UDAFEvaluator;
-import org.apache.hadoop.hive.ql.exec.description;
+import org.apache.hadoop.hive.ql.exec.Description;
 import org.apache.hadoop.hive.serde2.io.DoubleWritable;
 import org.apache.hadoop.hive.serde2.io.ShortWritable;
 import org.apache.hadoop.hive.shims.ShimLoader;
@@ -29,7 +29,7 @@
 import org.apache.hadoop.io.LongWritable;
 import org.apache.hadoop.io.Text;
 
-@description(name = "max", value = "_FUNC_(expr) - Returns the maximum value of expr")
+@Description(name = "max", value = "_FUNC_(expr) - Returns the maximum value of expr")
 public class UDAFMax extends UDAF {
 
   static public class MaxShortEvaluator implements UDAFEvaluator {
Project apache/hive in file ...rc.java.org.apache.hadoop.hive.ql.udf.UDAFMin.java (2010-01-25)
@@ -20,7 +20,7 @@
 
 import org.apache.hadoop.hive.ql.exec.UDAF;
 import org.apache.hadoop.hive.ql.exec.UDAFEvaluator;
-import org.apache.hadoop.hive.ql.exec.description;
+import org.apache.hadoop.hive.ql.exec.Description;
 import org.apache.hadoop.hive.serde2.io.DoubleWritable;
 import org.apache.hadoop.hive.serde2.io.ShortWritable;
 import org.apache.hadoop.hive.shims.ShimLoader;
@@ -29,7 +29,7 @@
 import org.apache.hadoop.io.LongWritable;
 import org.apache.hadoop.io.Text;
 
-@description(name = "min", value = "_FUNC_(expr) - Returns the minimum value of expr")
+@Description(name = "min", value = "_FUNC_(expr) - Returns the minimum value of expr")
 public class UDAFMin extends UDAF {
 
   static public class MinShortEvaluator implements UDAFEvaluator {
Project apache/hive in file ...src.java.org.apache.hadoop.hive.ql.udf.UDFAbs.java (2010-01-25)
@@ -19,12 +19,12 @@
 package org.apache.hadoop.hive.ql.udf;
 
 import org.apache.hadoop.hive.ql.exec.UDF;
-import org.apache.hadoop.hive.ql.exec.description;
+import org.apache.hadoop.hive.ql.exec.Description;
 import org.apache.hadoop.hive.serde2.io.DoubleWritable;
 import org.apache.hadoop.io.IntWritable;
 import org.apache.hadoop.io.LongWritable;
 
-@description(name = "abs", value = "_FUNC_(x) - returns the absolute value of x", extended = "Example:\n"
+@Description(name = "abs", value = "_FUNC_(x) - returns the absolute value of x", extended = "Example:\n"
     + "  > SELECT _FUNC_(0) FROM src LIMIT 1;\n"
     + "  0\n"
     + "  > SELECT _FUNC_(-5) FROM src LIMIT 1;\n" + "  5")