@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.findFunction
in interface UDFFinder
findFunction
in class AggregatingUDFFinder
name
- Name of function.null
if not foundpublic java.lang.String getFunctionName(int idx)
public int getFunctionIndex(java.lang.String name)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.