Versions in this module Expand all Collapse all v0 v0.4.0 May 5, 2022 Changes in this version + var BuiltinFunctions = [...]*FunctionSig + var BuiltinFunctionsMap map[string]*FunctionSig + type CompilerContext interface + Cost func(obj *ObjectRef, e *Expr) *Cost + Resolve func(name string) (*plan.ObjectRef, *plan.TableDef) + type Const plan.Const + type Cost plan.Cost + type Expr plan.Expr + type FunctionSig struct + ArgType []int8 + ArgTypeClass []plan.Type_TypeId + Flag plan.Function_FuncFlag + Name string + type MockCompilerContext struct + func NewMockCompilerContext() *MockCompilerContext + func (m *MockCompilerContext) Cost(obj *ObjectRef, e *Expr) *Cost + func (m *MockCompilerContext) Resolve(name string) (*plan.ObjectRef, *plan.TableDef) + type MockOptimizer struct + func (moc *MockOptimizer) CurrentContext() CompilerContext + func (moc *MockOptimizer) Optimize(stmt tree.Statement) (*Query, error) + type Node plan.Node + type ObjectRef plan.ObjectRef + type Optimizer interface + CurrentContext func() CompilerContext + Optimize func(stmt tree.Statement) (*Query, error) + type Query plan.Query + type RowsetData plan.RowsetData + type SelectContext struct + type TableDef plan.TableDef