public abstract class StandaloneUDTF extends UDTF
| Constructor and Description |
|---|
StandaloneUDTF() |
| Modifier and Type | Method and Description |
|---|---|
Object[] |
getNextRow()
获取下一条记录
|
UDTFPuller |
getPuller() |
void |
init(UDTFPuller puller)
该方法由框架调用来初始化 StandaloneUDTF
|
void |
run()
run方法默认实现,每拉一条记录,调用一次process方法。
|
close, getCollector, initialize, process, resolve, resolve, setCollector, setuppublic final void init(UDTFPuller puller)
public void run()
throws UDFException,
IOException
UDFExceptionIOExceptionpublic final Object[] getNextRow()
public final UDTFPuller getPuller()
Copyright © 2023 Alibaba Cloud Computing. All rights reserved.