|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.pig.EvalFunc<DataBag>
org.apache.pig.piggybank.evaluation.util.Top
TOP
@Deprecated public class Top
| Nested Class Summary | |
|---|---|
static class |
Top.Final
Deprecated. |
static class |
Top.Initial
Deprecated. |
static class |
Top.Intermed
Deprecated. |
| Nested classes/interfaces inherited from class org.apache.pig.EvalFunc |
|---|
EvalFunc.SchemaType |
| Field Summary |
|---|
| Fields inherited from class org.apache.pig.EvalFunc |
|---|
pigLogger, reporter, returnType |
| Constructor Summary | |
|---|---|
Top()
Deprecated. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.apache.pig.EvalFunc |
|---|
finish, getCacheFiles, getInputSchema, getLogger, getPigLogger, getReporter, getReturnType, getSchemaName, getSchemaType, isAsynchronous, progress, setInputSchema, setPigLogger, setReporter, setUDFContextSignature, warn |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Top()
| Method Detail |
|---|
public DataBag exec(Tuple tuple)
throws IOException
EvalFunc
exec in class EvalFunc<DataBag>tuple - the Tuple to be processed.
IOException
protected static void updateTop(PriorityQueue<Tuple> store,
int limit,
DataBag inputBag)
public List<FuncSpec> getArgToFuncMapping()
throws FrontendException
EvalFunc
getArgToFuncMapping 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 input
public String getInitial()
Algebraic
getInitial in interface Algebraicpublic String getIntermed()
Algebraic
getIntermed in interface Algebraicpublic String getFinal()
Algebraic
getFinal in interface Algebraic
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||