@Internal public class IndexedUDFFinder extends AggregatingUDFFinder
DEFAULT
Constructor and Description |
---|
IndexedUDFFinder(UDFFinder... usedToolPacks) |
Modifier and Type | Method and Description |
---|---|
FreeRefFunction |
findFunction(java.lang.String name)
Returns executor by specified name.
(按指定名称返回执行者。)
|
int |
getFunctionIndex(java.lang.String name) |
java.lang.String |
getFunctionName(int idx) |
add
public IndexedUDFFinder(UDFFinder... usedToolPacks)
public FreeRefFunction findFunction(java.lang.String name)
AggregatingUDFFinder
null
if function isn't contained by any registered tool pack.
(按指定名称返回执行者。如果函数不包含在任何注册的工具包中,则返回 null。)
findFunction
in interface
UDFFinder
(接口 UDFFinder 中的 findFunction)
findFunction
in class
AggregatingUDFFinder
name
- Name of function.
(name - 函数的名称。)
null
if not found
(函数执行者。如果没有找到则为空)
public java.lang.String getFunctionName(int idx)
public int getFunctionIndex(java.lang.String name)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.