public class HmsFunctionRegistry extends Object implements FunctionRegistry
| Constructor and Description |
|---|
HmsFunctionRegistry(Exec e,
IMetaStoreClient msc,
BuiltinFunctions builtinFunctions,
HplSqlSessionState hplSqlSession) |
| Modifier and Type | Method and Description |
|---|---|
void |
addUserFunction(HplsqlParser.Create_function_stmtContext ctx) |
void |
addUserProcedure(HplsqlParser.Create_procedure_stmtContext ctx) |
boolean |
exec(String name,
HplsqlParser.Expr_func_paramsContext ctx) |
boolean |
exists(String name) |
void |
remove(String name) |
public HmsFunctionRegistry(Exec e, IMetaStoreClient msc, BuiltinFunctions builtinFunctions, HplSqlSessionState hplSqlSession)
public boolean exists(String name)
exists in interface FunctionRegistrypublic void remove(String name)
remove in interface FunctionRegistrypublic boolean exec(String name, HplsqlParser.Expr_func_paramsContext ctx)
exec in interface FunctionRegistrypublic void addUserFunction(HplsqlParser.Create_function_stmtContext ctx)
addUserFunction in interface FunctionRegistrypublic void addUserProcedure(HplsqlParser.Create_procedure_stmtContext ctx)
addUserProcedure in interface FunctionRegistryCopyright © 2022 The Apache Software Foundation. All rights reserved.