Module expressions

Source
Expand description

Traits for converting Rust Types to Spark Connect Expression Types

Spark Connect has a few different ways of creating expressions and different gRPC methods require expressions in different forms. These traits are used to either translate a value into a spark::Expression or into a spark::expression::Literal.

§Overview

Traits§

ToExpr
Translate string values into a spark::Expression
ToFilterExpr
Create a filter expression
ToLiteral
Translate a rust value into a literal type
ToLiteralExpr
Wrap a literal value into a spark::Expression
ToVecExpr
Translate values into a Vec<spark::Expression>