public class UDFSubstr extends UDF
Constructor and Description |
---|
UDFSubstr() |
Modifier and Type | Method and Description |
---|---|
BytesWritable |
evaluate(BytesWritable bw,
IntWritable pos) |
BytesWritable |
evaluate(BytesWritable bw,
IntWritable pos,
IntWritable len) |
Text |
evaluate(Text s,
IntWritable pos) |
Text |
evaluate(Text t,
IntWritable pos,
IntWritable len) |
getRequiredFiles, getRequiredJars, getResolver, setResolver
public Text evaluate(Text t, IntWritable pos, IntWritable len)
public Text evaluate(Text s, IntWritable pos)
public BytesWritable evaluate(BytesWritable bw, IntWritable pos, IntWritable len)
public BytesWritable evaluate(BytesWritable bw, IntWritable pos)
Copyright © 2012 The Apache Software Foundation