Modulesยง
- context ๐
- gen ๐
- Generate code for the functions.
- parse ๐
- Parse the tokens of the macro.
- types ๐
- This module provides utility functions for SQL data type conversion and manipulation.
- utils ๐
Macrosยง
- define_
context - Define the context variables which can be used by risingwave expressions.
Structsยง
- Aggregate
Impl ๐ - Function
Attr ๐ - User
Function ๐Attr - Attributes from function signature
fn(..)
Enumsยง
- Aggregate
FnOr ๐Impl - Return
Type ๐Kind
Attribute Macrosยง
- aggregate
- build_
aggregate - build_
function - Different from
#[function]
, which implements theExpression
trait for a rust scalar function,#[build_function]
is used when you already implementedExpression
manually. - capture_
context - Capture the context from the local context to the function impl.
TODO: The macro will be merged to
#[function(.., capture_context(..))]
later. - function
- Defining the RisingWave SQL function from a Rust function.