Versions in this module Expand all Collapse all v0 v0.1.0 Jun 12, 2026 Changes in this version + func Walk(n ExprNode, fn func(ExprNode) error) error + type AggNode struct + Alias string + Inner Expr + Op AggOp + func (a AggNode) As(name string) AggNode + func (a AggNode) String() string + type AggOp uint8 + const AggOpCount + const AggOpInvalid + const AggOpMax + const AggOpMean + const AggOpMin + const AggOpSum + func (op AggOp) String() string + type AliasNode struct + Inner ExprNode + Name string + func (a AliasNode) Children() []ExprNode + func (a AliasNode) DataType(s *schema.Schema) (arrow.DataType, error) + func (a AliasNode) String() string + type BinaryNode struct + Left ExprNode + Op BinaryOp + Right ExprNode + func (b BinaryNode) Children() []ExprNode + func (b BinaryNode) DataType(s *schema.Schema) (arrow.DataType, error) + func (b BinaryNode) String() string + type BinaryOp uint8 + const BinaryOpAdd + const BinaryOpAnd + const BinaryOpDiv + const BinaryOpEq + const BinaryOpGt + const BinaryOpGte + const BinaryOpInvalid + const BinaryOpLt + const BinaryOpLte + const BinaryOpMul + const BinaryOpNeq + const BinaryOpOr + const BinaryOpSub + func (op BinaryOp) String() string + type CastNode struct + Inner ExprNode + Type arrow.DataType + func (c CastNode) Children() []ExprNode + func (c CastNode) DataType(s *schema.Schema) (arrow.DataType, error) + func (c CastNode) String() string + type ColumnNode struct + Name string + func (c ColumnNode) Children() []ExprNode + func (c ColumnNode) DataType(s *schema.Schema) (arrow.DataType, error) + func (c ColumnNode) String() string + type Expr struct + Node ExprNode + func Col(name string) Expr + func Float32(v float32) Expr + func Float64(v float64) Expr + func Int16(v int16) Expr + func Int32(v int32) Expr + func Int64(v int64) Expr + func Int8(v int8) Expr + func Lit(v any) Expr + func LitTimestamp(t time.Time, tz string) Expr + func Uint16(v uint16) Expr + func Uint32(v uint32) Expr + func Uint64(v uint64) Expr + func Uint8(v uint8) Expr + func (e Expr) Add(other Expr) Expr + func (e Expr) And(other Expr) Expr + func (e Expr) As(name string) Expr + func (e Expr) Cast(t arrow.DataType) Expr + func (e Expr) Count() AggNode + func (e Expr) Div(other Expr) Expr + func (e Expr) Eq(other Expr) Expr + func (e Expr) Gt(other Expr) Expr + func (e Expr) Gte(other Expr) Expr + func (e Expr) IsNotNull() Expr + func (e Expr) IsNull() Expr + func (e Expr) Lt(other Expr) Expr + func (e Expr) Lte(other Expr) Expr + func (e Expr) Max() AggNode + func (e Expr) Mean() AggNode + func (e Expr) Min() AggNode + func (e Expr) Mul(other Expr) Expr + func (e Expr) Neg() Expr + func (e Expr) Neq(other Expr) Expr + func (e Expr) Not() Expr + func (e Expr) Or(other Expr) Expr + func (e Expr) String() string + func (e Expr) Sub(other Expr) Expr + func (e Expr) Sum() AggNode + type ExprNode interface + Children func() []ExprNode + DataType func(s *schema.Schema) (arrow.DataType, error) + String func() string + func Rewrite(n ExprNode, fn func(ExprNode) ExprNode) ExprNode + type LiteralNode struct + Type arrow.DataType + Value any + func (l LiteralNode) Children() []ExprNode + func (l LiteralNode) DataType(_ *schema.Schema) (arrow.DataType, error) + func (l LiteralNode) String() string + type SortKey struct + Column string + Descending bool + NullsFirst bool + func By(column string) SortKey + func (k SortKey) Desc() SortKey + func (k SortKey) WithNullsFirst() SortKey + type UnaryNode struct + Inner ExprNode + Op UnaryOp + func (u UnaryNode) Children() []ExprNode + func (u UnaryNode) DataType(s *schema.Schema) (arrow.DataType, error) + func (u UnaryNode) String() string + type UnaryOp uint8 + const UnaryOpInvalid + const UnaryOpIsNotNull + const UnaryOpIsNull + const UnaryOpNeg + const UnaryOpNot + func (op UnaryOp) String() string