public class UDFSubstr extends UDF implements StatEstimatorProvider
| Constructor and Description |
|---|
UDFSubstr() |
| Modifier and Type | Method and Description |
|---|---|
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.BytesWritable |
evaluate(org.apache.hadoop.io.BytesWritable bw,
org.apache.hadoop.io.LongWritable pos) |
org.apache.hadoop.io.BytesWritable |
evaluate(org.apache.hadoop.io.BytesWritable bw,
org.apache.hadoop.io.LongWritable pos,
org.apache.hadoop.io.LongWritable 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) |
org.apache.hadoop.io.Text |
evaluate(org.apache.hadoop.io.Text s,
org.apache.hadoop.io.LongWritable pos) |
org.apache.hadoop.io.Text |
evaluate(org.apache.hadoop.io.Text t,
org.apache.hadoop.io.LongWritable pos,
org.apache.hadoop.io.LongWritable len) |
StatEstimator |
getStatEstimator()
Returns the
StatEstimator for the given UDF instance. |
getRequiredFiles, getRequiredJars, getResolver, setResolverpublic org.apache.hadoop.io.Text evaluate(org.apache.hadoop.io.Text t,
org.apache.hadoop.io.LongWritable pos,
org.apache.hadoop.io.LongWritable len)
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)
public org.apache.hadoop.io.Text evaluate(org.apache.hadoop.io.Text s,
org.apache.hadoop.io.IntWritable pos)
public org.apache.hadoop.io.Text evaluate(org.apache.hadoop.io.Text s,
org.apache.hadoop.io.LongWritable pos)
public org.apache.hadoop.io.BytesWritable evaluate(org.apache.hadoop.io.BytesWritable bw,
org.apache.hadoop.io.LongWritable pos,
org.apache.hadoop.io.LongWritable len)
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)
public org.apache.hadoop.io.BytesWritable evaluate(org.apache.hadoop.io.BytesWritable bw,
org.apache.hadoop.io.IntWritable pos)
public org.apache.hadoop.io.BytesWritable evaluate(org.apache.hadoop.io.BytesWritable bw,
org.apache.hadoop.io.LongWritable pos)
public StatEstimator getStatEstimator()
StatEstimatorProviderStatEstimator for the given UDF instance.getStatEstimator in interface StatEstimatorProviderCopyright © 2024 The Apache Software Foundation. All rights reserved.