此内容没有您所选择的语言版本。

12.10. Function Options


You can use the following options when creating functions. See "create procedure" in Section A.7, “Productions”. Any others properties defined will be considered as extension metadata.
Expand
Property
Data Type or Allowed Values
Description
UUID
string
unique Identifier
NAMEINSOURCE
If this is source function/procedure the name in the physical source, if different from the logical name given above
ANNOTATION
string
Description of the function/procedure
CATEGORY
string
Function Category
DETERMINISM
  • NONDETERMINISTIC
  • COMMAND_DETERMINISTIC
  • SESSION_DETERMINISTIC
  • USER_DETERMINISTIC
  • VDB_DETERMINISTIC
  • DETERMINISTIC
NULL-ON-NULL
'TRUE'|'FALSE'
JAVA_CLASS
string
Java Class that defines the method in case of UDF
JAVA_METHOD
string
The Java method name on the above defined java class for the UDF implementation
VARARGS
'TRUE'|'FALSE'
Indicates that the last argument of the function can be repeated 0 to any number of times. default false. It is more proper to use a VARIADIC parameter.
AGGREGATE
'TRUE'|'FALSE'
Indicates the function is a user defined aggregate function. Properties specific to aggregates are listed below:
Note that NULL-ON-NULL, VARARGS, and all of the AGGREGATE properties are also valid relational extension metadata properties that can be used on source procedures marked as functions.
You can also create FOREIGN functions that are supported by a source. See the section on user defined functions in Red Hat JBoss Data Virtualization Development Guide: Server Development for more information about source supported functions.
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat