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, getLoadCaster, getLogger, getPigLogger, getReporter, getReturnType, getSchemaName, getSchemaType, getShipFiles, isAsynchronous, needEndOfAllInputProcessing, outputSchema, progress, setEndOfAllInput, setInputSchema, setPigLogger, setReporter, setUDFContextSignature, warnprotected static final TupleFactory tf
protected void init()
public Boolean exec(Tuple input) throws IOException
EvalFuncexec in class EvalFunc<Boolean>input - the Tuple to be processed.IOExceptionCopyright © 2007-2017 The Apache Software Foundation