public class FunctionInfo extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FunctionInfo.FunctionResource |
static class |
FunctionInfo.FunctionType |
| Modifier and Type | Field and Description |
|---|---|
protected GenericUDF |
genericUDF |
protected GenericUDTF |
genericUDTF |
| Modifier and Type | Method and Description |
|---|---|
void |
discarded() |
String |
getClassName() |
String |
getDisplayName()
Get the display name for this function.
|
Class<?> |
getFunctionClass()
Get the Class of the UDF.
|
FunctionInfo.FunctionType |
getFunctionType() |
GenericUDAFResolver |
getGenericUDAFResolver()
Get the GenericUDAFResolver object for the function.
|
GenericUDF |
getGenericUDF()
Get a new GenericUDF object for the function.
|
GenericUDTF |
getGenericUDTF()
Get a new GenericUDTF object for the function.
|
FunctionInfo.FunctionResource[] |
getResources() |
Class<? extends TableFunctionResolver> |
getTableFunctionResolver() |
boolean |
isBlockedFunction() |
boolean |
isBuiltIn() |
boolean |
isDiscarded() |
boolean |
isGenericUDAF() |
boolean |
isGenericUDF() |
boolean |
isGenericUDTF() |
boolean |
isInternalTableFunction()
Internal table functions cannot be used in the language.
|
boolean |
isNative()
Native functions cannot be unregistered.
|
boolean |
isPersistent() |
boolean |
isTableFunction() |
void |
setBlockedFunction(boolean blockedFunction) |
void |
setClassName(String className) |
void |
shareStateWith(FunctionInfo function) |
protected GenericUDF genericUDF
protected GenericUDTF genericUDTF
public FunctionInfo(String displayName, String className, FunctionInfo.FunctionResource... resources)
public FunctionInfo(FunctionInfo.FunctionType functionType, String displayName, GenericUDF genericUDF, FunctionInfo.FunctionResource... resources)
public FunctionInfo(FunctionInfo.FunctionType functionType, String displayName, GenericUDAFResolver genericUDAFResolver, FunctionInfo.FunctionResource... resources)
public FunctionInfo(FunctionInfo.FunctionType functionType, String displayName, GenericUDTF genericUDTF, FunctionInfo.FunctionResource... resources)
public FunctionInfo(FunctionInfo.FunctionType functionType, String displayName, Class<? extends TableFunctionResolver> tFnCls, FunctionInfo.FunctionResource... resources)
public FunctionInfo(FunctionInfo.FunctionType functionType, String displayName, Class<? extends TableFunctionResolver> tFnCls, GenericUDF genericUDF, GenericUDTF genericUDTF, GenericUDAFResolver genericUDAFResolver, String className, FunctionInfo.FunctionResource... resources)
public GenericUDF getGenericUDF()
public GenericUDTF getGenericUDTF()
public GenericUDAFResolver getGenericUDAFResolver()
public Class<?> getFunctionClass()
public String getDisplayName()
public boolean isNative()
public boolean isInternalTableFunction()
WindowingTableFunctionpublic boolean isGenericUDF()
public boolean isGenericUDAF()
public boolean isGenericUDTF()
public Class<? extends TableFunctionResolver> getTableFunctionResolver()
public boolean isTableFunction()
public boolean isBlockedFunction()
public void setBlockedFunction(boolean blockedFunction)
public boolean isBuiltIn()
public boolean isPersistent()
public String getClassName()
public void setClassName(String className)
public FunctionInfo.FunctionResource[] getResources()
public void discarded()
public boolean isDiscarded()
public void shareStateWith(FunctionInfo function)
public FunctionInfo.FunctionType getFunctionType()
Copyright © 2024 The Apache Software Foundation. All rights reserved.