public class FunctionUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FunctionUtils.FunctionType
Function type, for permanent functions.
|
static class |
FunctionUtils.UDFClassType
Enum type to describe what kind of UDF implementation class
|
Constructor and Description |
---|
FunctionUtils() |
Modifier and Type | Method and Description |
---|---|
static String[] |
getQualifiedFunctionNameParts(String name) |
static FunctionUtils.UDFClassType |
getUDFClassType(Class<?> udfClass)
Determine the UDF class type of the class
|
static boolean |
isQualifiedFunctionName(String functionName) |
static String |
qualifyFunctionName(String functionName,
String dbName) |
static String[] |
splitQualifiedFunctionName(String functionName)
Splits a qualified function name into an array containing the database name and function name.
|
public static boolean isQualifiedFunctionName(String functionName)
public static String[] splitQualifiedFunctionName(String functionName) throws HiveException
functionName
- Function name, which may or may not be qualifiedHiveException
public static String[] getQualifiedFunctionNameParts(String name) throws HiveException
HiveException
public static FunctionUtils.UDFClassType getUDFClassType(Class<?> udfClass)
udfClass
- Copyright © 2017 The Apache Software Foundation. All rights reserved.