getType()
The getType() method is mandatory and is used to indicate the type of
program that is represented by the nzLua code. The getType() method must return a
string that is one of "udf", "uda", or "udtf".
During the nzLua compile phase, the compiler calls the getType() method so that
it knows how to compile and install the program.
Examples
function getType()
return "udf"
end
function getType()
return "udtf"
end