org.apache.hadoop.hive.ql.udf
Class UDFTestErrorOnFalse

java.lang.Object
  extended by org.apache.hadoop.hive.ql.exec.UDF
      extended by org.apache.hadoop.hive.ql.udf.UDFTestErrorOnFalse

public class UDFTestErrorOnFalse
extends UDF

A UDF for testing, which throws RuntimeException if the length of a string.


Constructor Summary
UDFTestErrorOnFalse()
           
 
Method Summary
 int evaluate(Boolean b)
           
 
Methods inherited from class org.apache.hadoop.hive.ql.exec.UDF
getRequiredFiles, getRequiredJars, getResolver, setResolver
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UDFTestErrorOnFalse

public UDFTestErrorOnFalse()
Method Detail

evaluate

public int evaluate(Boolean b)


Copyright © 2011 The Apache Software Foundation