brickhouse.udf.sanity
Class ThrowErrorUDF

java.lang.Object
  extended by org.apache.hadoop.hive.ql.exec.UDF
      extended by brickhouse.udf.sanity.ThrowErrorUDF

public class ThrowErrorUDF
extends org.apache.hadoop.hive.ql.exec.UDF

UDF to throw an error if some assertion is not met.


Constructor Summary
ThrowErrorUDF()
           
 
Method Summary
 String evaluate(String errorMessage)
           
 
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

ThrowErrorUDF

public ThrowErrorUDF()
Method Detail

evaluate

public String evaluate(String errorMessage)


Copyright © 2013. All rights reserved.