org.apache.hadoop.hive.ql.udf
Class UDFSqrt
java.lang.Object
org.apache.hadoop.hive.ql.exec.UDF
org.apache.hadoop.hive.ql.udf.UDFSqrt
public class UDFSqrt
- extends UDF
Implementation of the SQRT UDF found in many databases.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UDFSqrt
public UDFSqrt()
evaluate
public DoubleWritable evaluate(DoubleWritable i)
- Return NULL for NULL or negative inputs; otherwise, return the square root.
Copyright © 2013 The Apache Software Foundation