org.apache.hadoop.hive.ql.udf
Class UDFSqrt
java.lang.Object
org.apache.hadoop.hive.ql.exec.UDF
org.apache.hadoop.hive.ql.udf.UDFMath
org.apache.hadoop.hive.ql.udf.UDFSqrt
public class UDFSqrt
- extends UDFMath
Implementation of the SQRT UDF found in many databases.
Methods inherited from class org.apache.hadoop.hive.ql.udf.UDFMath |
evaluate |
UDFSqrt
public UDFSqrt()
evaluate
public DoubleWritable evaluate(DoubleWritable i)
- Return NULL for NULL or negative inputs; otherwise, return the square root.
- Specified by:
evaluate
in class UDFMath
Copyright © 2014 The Apache Software Foundation. All rights reserved.