当前位置:网站首页>GBase 8c 函数/存储过程参数(二)
GBase 8c 函数/存储过程参数(二)
2022-07-03 02:18:00 【大壮十二】
- RETURNS NULL ON NULL INPUT | STRICT:RETURNS NULL ON NULL INPUT或STRICT用于指定如果函数的某个参数是NULL,此函数总是返回NULL。如果声明了该参数,当有NULL值参数时该函数不会被执行;而只是自动返回一个NULL结果;
- [EXTERNAL] SECURITY INVOKER:表明该函数将带着调用它的用户的权限执行,该参数可以省略,EXTERNAL为可选参数;
- [EXTERNAL] SECURITY DEFINER:声明该函数将以创建它的用户的权限执行EXTERNAL为可选参数;
- PARALLEL:表示该函数是否可以下推到DN上执行。PARALLEL UNSAFE表示该函数不能下推到DN上执行且强制使用顺序执行计划,为默认选项;PARALLEL RESTRICTED表示该函数能下推到DN上执行,但是要求必须在DN Leader上执行;PARALLEL SAFE表示该函数能下推到DN上执行,安全且不受限制;
- execution_cost:用来估计函数的执行成本,execution_cost以cpu_operator_cost为单位,取值范围为正数;
- result_rows:估计函数返回的行数,用于函数返回的是一个集合,取值范围为正数,默认值1000行;
- configuration_parameter:把指定的数据库会话参数值设置为给定的值,如果value是DEFAULT或者RESET,则在新的会话中使用系统的缺省设置。OFF关闭设置,取值范围为字符串;
- definition:定义该函数的字符串常量,可以是内部函数名、对象文件的路径、SQL命令或者用过程语言编写的文本;
- obj_file, link_symbol:适用于C语言函数,字符串obj_file指定了动态库的绝对路径;link_symbol 指定了该函数的链接符号,也就是该函数在C代码中的函数名称;
- attribute:函数可选信息,取值范围:isStrict(等效于STRICT或者RETURNS NULL ON NULL INPUT)、isCachable(等效于IMMUTABLE)。
边栏推荐
- PyTorch 卷积网络正则化 DropBlock
- Face recognition 6-face_ recognition_ Py based on OpenCV, face detection and real-time tracking using Haar cascade and Dlib Library
- DDL basic operation
- Trial setup and use of idea GoLand development tool
- Answers to ten questions about automated testing software testers must see
- Swift development learning
- Awk from introduction to earth (0) overview of awk
- stm32F407-------ADC
- SPI机制
- Storage basic operation
猜你喜欢

Memory pool (understand the process of new developing space from the perspective of kernel)

Wechat applet Development Tool Post net:: Err Proxy Connexion Problèmes d'agent défectueux

stm32F407-------IIC通讯协议

《上市风云》荐书——唯勇气最可贵

easyPOI
![[Flutter] dart: class; abstract class; factory; Class, abstract class, factory constructor](/img/06/ab333a4752de27eae2dd937cf579e2.png)
[Flutter] dart: class; abstract class; factory; Class, abstract class, factory constructor

Detailed introduction to the usage of Nacos configuration center

A 30-year-old software tester, who has been unemployed for 4 months, is confused and doesn't know what to do?

Awk from introduction to earth (0) overview of awk

easyPOI
随机推荐
【ROS进阶篇】第六讲 ROS中的录制与回放(rosbag)
Socket programming
awk从入门到入土(3)awk内置函数printf和print实现格式化打印
What are MySQL locks and classifications
Cancellation of collaboration in kotlin, side effects of cancellation and overtime tasks
[shutter] shutter debugging (debugging control related functions | breakpoint management | code operation control)
Explore the conversion between PX pixels and Pt pounds, mm and MM
Exception handling in kotlin process
[shutter] bottom navigation bar implementation (bottomnavigationbar bottom navigation bar | bottomnavigationbaritem navigation bar entry | pageview)
Trial setup and use of idea GoLand development tool
Wechat applet Development Tool Post net:: Err Proxy Connexion Problèmes d'agent défectueux
2022 spring "golden three silver four" job hopping prerequisites: Software Test interview questions (with answers)
4. Classes and objects
Tongda OA homepage portal workbench
Redis: simple use of redis
easyExcel
Codeforces Round #418 (Div. 2) D. An overnight dance in discotheque
es6 filter() 数组过滤方法总结
Use go language to realize try{}catch{}finally
502 (bad gateway) causes and Solutions