| Modifier and Type | Class and Description |
|---|---|
static class |
Distinct.Final |
static class |
Distinct.Initial |
static class |
Distinct.Intermediate |
EvalFunc.SchemaTypelog, pigLogger, reporter, returnType| Constructor and Description |
|---|
Distinct() |
| Modifier and Type | Method and Description |
|---|---|
DataBag |
exec(Tuple input)
This callback method must be implemented by all subclasses.
|
protected DataBag |
getDistinct(Tuple input) |
String |
getFinal()
Get the final function.
|
String |
getInitial()
Get the initial function.
|
String |
getIntermed()
Get the intermediate function.
|
allowCompileTimeCalculation, finish, getArgToFuncMapping, getCacheFiles, getInputSchema, getLoadCaster, getLogger, getPigLogger, getReporter, getReturnType, getSchemaName, getSchemaType, getShipFiles, isAsynchronous, needEndOfAllInputProcessing, outputSchema, progress, setEndOfAllInput, setInputSchema, setPigLogger, setReporter, setUDFContextSignature, warnpublic DataBag exec(Tuple input) throws IOException
EvalFuncexec in class EvalFunc<DataBag>input - the Tuple to be processed.IOExceptionpublic String getFinal()
Algebraicpublic String getInitial()
AlgebraicgetInitial in interface Algebraicpublic String getIntermed()
AlgebraicgetIntermed in interface Algebraicprotected DataBag getDistinct(Tuple input) throws IOException
IOExceptionCopyright © 2007-2017 The Apache Software Foundation