Modifier and Type | Class and Description |
---|---|
static class |
Distinct.Final |
static class |
Distinct.Initial |
static class |
Distinct.Intermediate |
EvalFunc.SchemaType
log, 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, warn
public DataBag exec(Tuple input) throws IOException
EvalFunc
exec
in class EvalFunc<DataBag>
input
- the Tuple to be processed.IOException
public String getFinal()
Algebraic
public String getInitial()
Algebraic
getInitial
in interface Algebraic
public String getIntermed()
Algebraic
getIntermed
in interface Algebraic
protected DataBag getDistinct(Tuple input) throws IOException
IOException
Copyright © 2007-2017 The Apache Software Foundation