Uses of Class
dev.frostlake.metastore.model.Function
Packages that use Function
-
Uses of Function in dev.frostlake.executor
Methods in dev.frostlake.executor with parameters of type FunctionModifier and TypeMethodDescriptionQueryExecutor.executeScriptingFunctionBody(Function function, List<Object> args) SQLCommandVisitor.executeScriptingFunctionBody(Function function, List<Object> args) Execute aLANGUAGE SQLscalar UDF whose body is a Snowflake-Scripting block and yield the value its RETURN produced — live-verified:CREATE FUNCTION f() RETURNS INT AS $$ BEGIN RETURN 1; END $$thenSELECT f()is 1, and the block really runs (a body ofBEGIN RETURN 1; RETURN 2; ENDyields 1,BEGIN LET x INT := 5; RETURN x * 2; ENDyields 10, and a body with no RETURN at all yields NULL). -
Uses of Function in dev.frostlake.executor.udf
Methods in dev.frostlake.executor.udf with parameters of type FunctionModifier and TypeMethodDescriptiondefault voidUdfLanguageRuntime.compileFunction(Function function) Compile a FUNCTION's body at CREATE time, throwing if the routine could never run — live-verified, a Python, Java or Scala function whose body will not compile, or whose HANDLER is not in it, is refused by CREATE rather than by the first call.UdfLanguageRuntime.executeFunction(Function function, List<Object> arguments, Catalog catalog, S3PathResolver s3PathResolver) Evaluate a scalar UDF call and return its SQL value.UdfLanguageRuntime.executeTableFunction(Function function, List<Object> arguments) Execute a table function (UDTF) call; languages without table functions throw. -
Uses of Function in dev.frostlake.metastore.model
Methods in dev.frostlake.metastore.model that return FunctionModifier and TypeMethodDescriptionSchema.getFunction(String name) Schema.getFunctionBySignature(String name, List<DataType> argumentTypes) Methods in dev.frostlake.metastore.model that return types with arguments of type FunctionMethods in dev.frostlake.metastore.model with parameters of type Function