Modifier and Type | Class and Description |
---|---|
static class |
Top.Final
Deprecated.
|
static class |
Top.Initial
Deprecated.
|
static class |
Top.Intermed
Deprecated.
|
EvalFunc.SchemaType
pigLogger, 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.
|
java.util.List<FuncSpec> |
getArgToFuncMapping()
Deprecated.
Allow a UDF to specify type specific implementations of itself.
|
java.lang.String |
getFinal()
Deprecated.
Get the final function.
|
java.lang.String |
getInitial()
Deprecated.
Get the initial function.
|
java.lang.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(java.util.PriorityQueue<Tuple> store,
int limit,
DataBag inputBag)
Deprecated.
|
allowCompileTimeCalculation, finish, getCacheFiles, getInputSchema, getLogger, getPigLogger, getReporter, getReturnType, getSchemaName, getSchemaType, getShipFiles, isAsynchronous, progress, setInputSchema, setPigLogger, setReporter, setUDFContextSignature, warn
public DataBag exec(Tuple tuple) throws java.io.IOException
EvalFunc
protected static void updateTop(java.util.PriorityQueue<Tuple> store, int limit, DataBag inputBag)
public java.util.List<FuncSpec> getArgToFuncMapping() throws FrontendException
EvalFunc
getArgToFuncMapping
in class EvalFunc<DataBag>
FrontendException
public 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 java.lang.String getInitial()
Algebraic
getInitial
in interface Algebraic
public java.lang.String getIntermed()
Algebraic
getIntermed
in interface Algebraic
public java.lang.String getFinal()
Algebraic
Copyright © 2007-2012 The Apache Software Foundation