brickhouse.udf.sanity
Class WriteToTSDBUDF

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

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


Constructor Summary
WriteToTSDBUDF()
           
 
Method Summary
 String evaluate(String host, Integer port, Map<String,Double> nameToValue)
           
 String evaluate(String host, Integer port, Map<String,Double> nameToValue, String tags)
           
 String evaluate(String host, Integer port, Map<String,Double> nameToValue, String tags, Long timestampInSeconds)
           
 String evaluate(String host, Integer port, String name, Double value)
           
 String evaluate(String host, Integer port, String name, Double value, String tags)
           
 String evaluate(String host, Integer port, String name, Double value, String tags, Long timestampInSeconds)
           
 
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

WriteToTSDBUDF

public WriteToTSDBUDF()
Method Detail

evaluate

public String evaluate(String host,
                       Integer port,
                       Map<String,Double> nameToValue,
                       String tags,
                       Long timestampInSeconds)

evaluate

public String evaluate(String host,
                       Integer port,
                       Map<String,Double> nameToValue,
                       String tags)

evaluate

public String evaluate(String host,
                       Integer port,
                       Map<String,Double> nameToValue)

evaluate

public String evaluate(String host,
                       Integer port,
                       String name,
                       Double value,
                       String tags,
                       Long timestampInSeconds)

evaluate

public String evaluate(String host,
                       Integer port,
                       String name,
                       Double value,
                       String tags)

evaluate

public String evaluate(String host,
                       Integer port,
                       String name,
                       Double value)


Copyright © 2013. All rights reserved.