public class WikiRevisionFullTextFilter
extends org.apache.pig.LoadFunc
implements org.apache.pig.LoadMetadata
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.pig.data.BagFactory |
bags |
protected org.apache.pig.ResourceSchema |
schema |
protected org.apache.pig.data.TupleFactory |
tuples |
| Constructor and Description |
|---|
WikiRevisionFullTextFilter(String optString) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.mapreduce.InputFormat |
getInputFormat() |
org.apache.pig.data.Tuple |
getNext() |
String[] |
getPartitionKeys(String loc,
org.apache.hadoop.mapreduce.Job job) |
org.apache.pig.ResourceSchema |
getSchema(String arg0,
org.apache.hadoop.mapreduce.Job arg1) |
org.apache.pig.ResourceStatistics |
getStatistics(String arg0,
org.apache.hadoop.mapreduce.Job arg1) |
void |
prepareToRead(org.apache.hadoop.mapreduce.RecordReader reader,
org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigSplit split) |
void |
setLocation(String loc,
org.apache.hadoop.mapreduce.Job job) |
void |
setPartitionFilter(org.apache.pig.Expression arg0) |
protected volatile org.apache.pig.ResourceSchema schema
protected org.apache.pig.data.TupleFactory tuples
protected org.apache.pig.data.BagFactory bags
public WikiRevisionFullTextFilter(String optString)
public void setLocation(String loc, org.apache.hadoop.mapreduce.Job job) throws IOException
setLocation in class org.apache.pig.LoadFuncIOExceptionpublic String[] getPartitionKeys(String loc, org.apache.hadoop.mapreduce.Job job) throws IOException
getPartitionKeys in interface org.apache.pig.LoadMetadataIOExceptionpublic org.apache.pig.ResourceSchema getSchema(String arg0, org.apache.hadoop.mapreduce.Job arg1) throws IOException
getSchema in interface org.apache.pig.LoadMetadataIOExceptionpublic org.apache.pig.ResourceStatistics getStatistics(String arg0, org.apache.hadoop.mapreduce.Job arg1) throws IOException
getStatistics in interface org.apache.pig.LoadMetadataIOExceptionpublic void setPartitionFilter(org.apache.pig.Expression arg0)
throws IOException
setPartitionFilter in interface org.apache.pig.LoadMetadataIOExceptionpublic org.apache.hadoop.mapreduce.InputFormat getInputFormat()
throws IOException
getInputFormat in class org.apache.pig.LoadFuncIOExceptionpublic void prepareToRead(org.apache.hadoop.mapreduce.RecordReader reader,
org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigSplit split)
throws IOException
prepareToRead in class org.apache.pig.LoadFuncIOExceptionpublic org.apache.pig.data.Tuple getNext()
throws IOException
getNext in class org.apache.pig.LoadFuncIOExceptionCopyright © 2014. All rights reserved.