public class EventLoader extends org.apache.pig.LoadFunc implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected TupleStoreIterator<org.calrissian.mango.domain.event.Event> |
itr |
protected org.calrissian.mango.criteria.builder.QueryBuilder |
qb |
protected org.calrissian.mango.types.TypeRegistry<String> |
registry |
static String |
USAGE |
| Constructor and Description |
|---|
EventLoader(String query) |
| 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 transient TupleStoreIterator<org.calrissian.mango.domain.event.Event> itr
protected final org.calrissian.mango.types.TypeRegistry<String> registry
protected final org.calrissian.mango.criteria.builder.QueryBuilder qb
public EventLoader(String query)
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.