public class FunctionInfo
extends java.lang.Object
Constructor and Description |
---|
FunctionInfo(boolean isNative,
java.lang.String displayName,
GenericUDAFResolver genericUDAFResolver) |
FunctionInfo(boolean isNative,
java.lang.String displayName,
GenericUDF genericUDF) |
FunctionInfo(boolean isNative,
java.lang.String displayName,
GenericUDTF genericUDTF) |
FunctionInfo(java.lang.String displayName,
java.lang.Class<? extends TableFunctionResolver> tFnCls) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDisplayName()
Get the display name for this function.
|
java.lang.Class<?> |
getFunctionClass()
Get the Class of the UDF.
|
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.
|
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 |
isTableFunction() |
public FunctionInfo(boolean isNative, java.lang.String displayName, GenericUDF genericUDF)
public FunctionInfo(boolean isNative, java.lang.String displayName, GenericUDAFResolver genericUDAFResolver)
public FunctionInfo(boolean isNative, java.lang.String displayName, GenericUDTF genericUDTF)
public FunctionInfo(java.lang.String displayName, java.lang.Class<? extends TableFunctionResolver> tFnCls)
public GenericUDF getGenericUDF()
public GenericUDTF getGenericUDTF()
public GenericUDAFResolver getGenericUDAFResolver()
public java.lang.Class<?> getFunctionClass()
public java.lang.String getDisplayName()
public boolean isNative()
public boolean isInternalTableFunction()
WindowingTableFunction
public boolean isGenericUDF()
public boolean isGenericUDAF()
public boolean isGenericUDTF()
public boolean isTableFunction()
Copyright © 2012 The Apache Software Foundation