public class IsFirstReduceOfKey extends EvalFunc<Boolean>
EvalFunc.SchemaType
Modifier and Type | Field and Description |
---|---|
protected Map<Object,Pair<Integer,Integer>> |
reducerMap |
protected static TupleFactory |
tf |
log, pigLogger, reporter, returnType
Constructor and Description |
---|
IsFirstReduceOfKey() |
Modifier and Type | Method and Description |
---|---|
Boolean |
exec(Tuple input)
This callback method must be implemented by all subclasses.
|
protected void |
init() |
allowCompileTimeCalculation, finish, getArgToFuncMapping, getCacheFiles, getInputSchema, getLogger, getPigLogger, getReporter, getReturnType, getSchemaName, getSchemaType, getShipFiles, isAsynchronous, needEndOfAllInputProcessing, outputSchema, progress, setEndOfAllInput, setInputSchema, setPigLogger, setReporter, setUDFContextSignature, warn
protected static final TupleFactory tf
protected void init()
public Boolean exec(Tuple input) throws IOException
EvalFunc
exec
in class EvalFunc<Boolean>
input
- the Tuple to be processed.IOException
Copyright © 2007-2012 The Apache Software Foundation