risingwave_pb::expr

Type Alias PbUserDefinedFunction

source
pub type PbUserDefinedFunction = UserDefinedFunction;
Expand description

Aliased Type§

struct PbUserDefinedFunction {
    pub children: Vec<ExprNode>,
    pub name: String,
    pub arg_names: Vec<String>,
    pub arg_types: Vec<DataType>,
    pub language: String,
    pub link: Option<String>,
    pub identifier: Option<String>,
    pub body: Option<String>,
    pub compressed_binary: Option<Vec<u8>>,
    pub always_retry_on_network_error: bool,
    pub runtime: Option<String>,
}

Fields§

§children: Vec<ExprNode>§name: String§arg_names: Vec<String>§arg_types: Vec<DataType>§language: String§link: Option<String>

The link to the external function service.

§identifier: Option<String>

An unique identifier to the function.

  • If link is not empty, the name of the function in the external function service.
  • If language is rust or wasm, the name of the function in the wasm binary file.
  • If language is javascript, the name of the function.
§body: Option<String>
  • If language is javascript, the source code of the function.
§compressed_binary: Option<Vec<u8>>
  • If language is rust or wasm, the zstd-compressed wasm binary.
§always_retry_on_network_error: bool§runtime: Option<String>

The runtime selected when multiple runtimes are available for the language. Now is not used.