risingwave_frontend::expr

Trait Expr

source
pub trait Expr: Into<ExprImpl> {
    // Required methods
    fn return_type(&self) -> DataType;
    fn to_expr_proto(&self) -> ExprNode;
}
Expand description

the trait of bound expressions

Required Methods§

source

fn return_type(&self) -> DataType

Get the return type of the expr

source

fn to_expr_proto(&self) -> ExprNode

Serialize the expression

Object Safety§

This trait is not object safe.

Implementors§