public abstract class StandaloneUDTF extends UDTF
| 构造器和说明 |
|---|
StandaloneUDTF() |
| 限定符和类型 | 方法和说明 |
|---|---|
Object[] |
getNextRow()
获取下一条记录
|
UDTFPuller |
getPuller() |
void |
init(UDTFPuller puller)
该方法由框架调用来初始化 StandaloneUDTF
|
void |
run()
run方法默认实现,每拉一条记录,调用一次process方法。
|
close, getCollector, initialize, process, resolve, setCollector, setuppublic final void init(UDTFPuller puller)
public void run()
throws UDFException
UDFExceptionpublic final Object[] getNextRow()
public final UDTFPuller getPuller()
Copyright © 2015 Alibaba Cloud Computing. All rights reserved.