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

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

public class UDFSubstr
extends UDF

UDFSubstr.


Constructor Summary
UDFSubstr()
           
 
Method Summary
 org.apache.hadoop.io.BytesWritable evaluate(org.apache.hadoop.io.BytesWritable bw, org.apache.hadoop.io.IntWritable pos)
           
 org.apache.hadoop.io.BytesWritable evaluate(org.apache.hadoop.io.BytesWritable bw, org.apache.hadoop.io.IntWritable pos, org.apache.hadoop.io.IntWritable len)
           
 org.apache.hadoop.io.Text evaluate(org.apache.hadoop.io.Text s, org.apache.hadoop.io.IntWritable pos)
           
 org.apache.hadoop.io.Text evaluate(org.apache.hadoop.io.Text t, org.apache.hadoop.io.IntWritable pos, org.apache.hadoop.io.IntWritable len)
           
 
Methods inherited from class org.apache.hadoop.hive.ql.exec.UDF
getRequiredFiles, getRequiredJars, getResolver, setResolver
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UDFSubstr

public UDFSubstr()
Method Detail

evaluate

public org.apache.hadoop.io.Text evaluate(org.apache.hadoop.io.Text t,
                                          org.apache.hadoop.io.IntWritable pos,
                                          org.apache.hadoop.io.IntWritable len)

evaluate

public org.apache.hadoop.io.Text evaluate(org.apache.hadoop.io.Text s,
                                          org.apache.hadoop.io.IntWritable pos)

evaluate

public org.apache.hadoop.io.BytesWritable evaluate(org.apache.hadoop.io.BytesWritable bw,
                                                   org.apache.hadoop.io.IntWritable pos,
                                                   org.apache.hadoop.io.IntWritable len)

evaluate

public org.apache.hadoop.io.BytesWritable evaluate(org.apache.hadoop.io.BytesWritable bw,
                                                   org.apache.hadoop.io.IntWritable pos)


Copyright © 2014 The Apache Software Foundation. All rights reserved.