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 FunctionRegistry
public void remove(String name)
remove
in interface FunctionRegistry
public boolean exec(String name, HplsqlParser.Expr_func_paramsContext ctx)
exec
in interface FunctionRegistry
public void addUserFunction(HplsqlParser.Create_function_stmtContext ctx)
addUserFunction
in interface FunctionRegistry
public void addUserProcedure(HplsqlParser.Create_procedure_stmtContext ctx)
addUserProcedure
in interface FunctionRegistry
Copyright © 2023 The Apache Software Foundation. All rights reserved.