public class MetricFeatureLoader
extends org.apache.pig.LoadFunc
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.hadoop.mapreduce.RecordReader<org.apache.accumulo.core.data.Key,? extends Feature> |
reader |
protected org.calrissian.mango.types.TypeRegistry<String> |
registry |
protected TimeUnit |
timeUnit |
static String |
USAGE |
| Constructor and Description |
|---|
MetricFeatureLoader() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.mapreduce.InputFormat |
getInputFormat() |
org.apache.pig.data.Tuple |
getNext() |
void |
prepareToRead(org.apache.hadoop.mapreduce.RecordReader recordReader,
org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigSplit pigSplit) |
void |
setLocation(String uri,
org.apache.hadoop.mapreduce.Job job) |
public static final String USAGE
protected org.calrissian.mango.types.TypeRegistry<String> registry
protected org.apache.hadoop.mapreduce.RecordReader<org.apache.accumulo.core.data.Key,? extends Feature> reader
protected TimeUnit timeUnit
public void setLocation(String uri, org.apache.hadoop.mapreduce.Job job) throws IOException
setLocation in class org.apache.pig.LoadFuncIOExceptionpublic org.apache.hadoop.mapreduce.InputFormat getInputFormat()
throws IOException
getInputFormat in class org.apache.pig.LoadFuncIOExceptionpublic void prepareToRead(org.apache.hadoop.mapreduce.RecordReader recordReader,
org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigSplit pigSplit)
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 Calrissian. All Rights Reserved.