| Modifier and Type | Class and Description |
|---|---|
static class |
Top.Final
Deprecated.
|
static class |
Top.Initial
Deprecated.
|
static class |
Top.Intermed
Deprecated.
|
EvalFunc.SchemaTypepigLogger, reporter, returnType| Constructor and Description |
|---|
Top()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
DataBag |
exec(Tuple tuple)
Deprecated.
This callback method must be implemented by all subclasses.
|
List<FuncSpec> |
getArgToFuncMapping()
Deprecated.
Allow a UDF to specify type specific implementations of itself.
|
String |
getFinal()
Deprecated.
Get the final function.
|
String |
getInitial()
Deprecated.
Get the initial function.
|
String |
getIntermed()
Deprecated.
Get the intermediate function.
|
Schema |
outputSchema(Schema input)
Deprecated.
Report the schema of the output of this UDF.
|
protected static void |
updateTop(PriorityQueue<Tuple> store,
int limit,
DataBag inputBag)
Deprecated.
|
allowCompileTimeCalculation, finish, getCacheFiles, getInputSchema, getLoadCaster, getLogger, getPigLogger, getReporter, getReturnType, getSchemaName, getSchemaType, getShipFiles, isAsynchronous, needEndOfAllInputProcessing, progress, setEndOfAllInput, setInputSchema, setPigLogger, setReporter, setUDFContextSignature, warnpublic DataBag exec(Tuple tuple) throws IOException
EvalFuncexec in class EvalFunc<DataBag>tuple - the Tuple to be processed.IOExceptionprotected static void updateTop(PriorityQueue<Tuple> store, int limit, DataBag inputBag)
public List<FuncSpec> getArgToFuncMapping() throws FrontendException
EvalFuncgetArgToFuncMapping in class EvalFunc<DataBag>FrontendExceptionpublic Schema outputSchema(Schema input)
EvalFunc
The default implementation interprets the OutputSchema annotation,
if one is present. Otherwise, it returns null (no known output schema).
outputSchema in class EvalFunc<DataBag>input - Schema of the inputpublic String getInitial()
AlgebraicgetInitial in interface Algebraicpublic String getIntermed()
AlgebraicgetIntermed in interface AlgebraicCopyright © 2007-2017 The Apache Software Foundation