public class AggregatingUDFFinder extends java.lang.Object implements UDFFinder
Modifier and Type | Field and Description |
---|---|
static UDFFinder |
DEFAULT
Default UDFFinder implementation
(默认 UDFFinder 实现)
|
Constructor and Description |
---|
AggregatingUDFFinder(UDFFinder... usedToolPacks) |
Modifier and Type | Method and Description |
---|---|
void |
add(UDFFinder toolPack)
Add a new toolpack
(添加一个新的工具包)
|
FreeRefFunction |
findFunction(java.lang.String name)
Returns executor by specified name.
(按指定名称返回执行者。)
|
public static final UDFFinder DEFAULT
public AggregatingUDFFinder(UDFFinder... usedToolPacks)
public FreeRefFunction findFunction(java.lang.String name)
null
if function isn't contained by any registered tool pack.
(按指定名称返回执行者。如果函数不包含在任何注册的工具包中,则返回 null。)
findFunction
in interface
UDFFinder
(接口 UDFFinder 中的 findFunction)
name
- Name of function.
(name - 函数的名称。)
null
if not found
(函数执行者。如果没有找到则为空)
public void add(UDFFinder toolPack)
toolPack
- the UDF toolpack to add
(toolPack - 要添加的 UDF 工具包)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.