Versions in this module Expand all Collapse all v0 v0.4.0 May 5, 2022 Changes in this version + var BinaryReturnTypes = map[int]func(Extend, Extend) types.T + var BinaryStrings = map[int]func(Extend, Extend) string + var FunctionRegistry = map[string]int + var MultiReturnTypes = map[int]func([]Extend) types.T + var MultiStrings = map[int]func([]Extend) string + var UnaryReturnTypes = map[int]func(Extend) types.T + var UnaryStrings = map[int]func(Extend) string + type Attribute struct + Name string + Type types.T + func (_ *Attribute) IsConstant() bool + func (a *Attribute) Attributes() []string + func (a *Attribute) Eq(e Extend) bool + func (a *Attribute) Eval(bat *batch.Batch, _ *process.Process) (*vector.Vector, types.T, error) + func (a *Attribute) ExtendAttributes() []*Attribute + func (a *Attribute) IsLogical() bool + func (a *Attribute) ReturnType() types.T + func (a *Attribute) String() string + type BinaryExtend struct + Left Extend + Op int + Right Extend + func (_ *BinaryExtend) IsConstant() bool + func (a *BinaryExtend) Eq(e Extend) bool + func (e *BinaryExtend) Attributes() []string + func (e *BinaryExtend) Eval(bat *batch.Batch, proc *process.Process) (*vector.Vector, types.T, error) + func (e *BinaryExtend) ExtendAttributes() []*Attribute + func (e *BinaryExtend) IsLogical() bool + func (e *BinaryExtend) ReturnType() types.T + func (e *BinaryExtend) String() string + type Extend interface + Attributes func() []string + Eq func(Extend) bool + Eval func(*batch.Batch, *process.Process) (*vector.Vector, types.T, error) + ExtendAttributes func() []*Attribute + IsConstant func() bool + IsLogical func() bool + ReturnType func() types.T + String func() string + func AndExtends(e Extend, es []Extend) []Extend + type FuncExtend struct + Args []Extend + Name string + func (_ *FuncExtend) IsConstant() bool + func (_ *FuncExtend) IsLogical() bool + func (a *FuncExtend) Attributes() []string + func (a *FuncExtend) Eq(e Extend) bool + func (a *FuncExtend) Eval(_ *batch.Batch, _ *process.Process) (*vector.Vector, types.T, error) + func (a *FuncExtend) ExtendAttributes() []*Attribute + func (a *FuncExtend) ReturnType() types.T + func (a *FuncExtend) String() string + type MultiExtend struct + Args []Extend + Op int + func (_ *MultiExtend) IsConstant() bool + func (a *MultiExtend) Eq(e Extend) bool + func (e *MultiExtend) Attributes() []string + func (e *MultiExtend) Eval(bat *batch.Batch, proc *process.Process) (*vector.Vector, types.T, error) + func (e *MultiExtend) ExtendAttributes() []*Attribute + func (e *MultiExtend) IsLogical() bool + func (e *MultiExtend) ReturnType() types.T + func (e *MultiExtend) String() string + type ParenExtend struct + E Extend + func (_ *ParenExtend) IsConstant() bool + func (a *ParenExtend) Eq(b Extend) bool + func (e *ParenExtend) Attributes() []string + func (e *ParenExtend) Eval(bat *batch.Batch, proc *process.Process) (*vector.Vector, types.T, error) + func (e *ParenExtend) ExtendAttributes() []*Attribute + func (e *ParenExtend) IsLogical() bool + func (e *ParenExtend) ReturnType() types.T + func (e *ParenExtend) String() string + type StarExtend struct + func (_ *StarExtend) IsConstant() bool + func (_ *StarExtend) IsLogical() bool + func (a *StarExtend) Attributes() []string + func (a *StarExtend) Eq(e Extend) bool + func (a *StarExtend) Eval(_ *batch.Batch, _ *process.Process) (*vector.Vector, types.T, error) + func (a *StarExtend) ExtendAttributes() []*Attribute + func (a *StarExtend) ReturnType() types.T + func (a *StarExtend) String() string + type UnaryExtend struct + E Extend + Op int + func (_ *UnaryExtend) IsConstant() bool + func (a *UnaryExtend) Eq(e Extend) bool + func (e *UnaryExtend) Attributes() []string + func (e *UnaryExtend) Eval(bat *batch.Batch, proc *process.Process) (*vector.Vector, types.T, error) + func (e *UnaryExtend) ExtendAttributes() []*Attribute + func (e *UnaryExtend) IsLogical() bool + func (e *UnaryExtend) ReturnType() types.T + func (e *UnaryExtend) String() string + type UpdateExtend struct + Attr Attribute + UpdateExtend Extend + func (_ *UpdateExtend) Attributes() []string + func (_ *UpdateExtend) IsConstant() bool + func (p *UpdateExtend) Eq(e Extend) bool + func (p *UpdateExtend) Eval(bat *batch.Batch, proc *process.Process) (*vector.Vector, types.T, error) + func (p *UpdateExtend) IsLogical() bool + func (p *UpdateExtend) ReturnType() types.T + func (p *UpdateExtend) String() string + type ValueExtend struct + OrigStr string + V *vector.Vector + func (_ *ValueExtend) Attributes() []string + func (_ *ValueExtend) ExtendAttributes() []*Attribute + func (_ *ValueExtend) IsConstant() bool + func (a *ValueExtend) Eq(e Extend) bool + func (a *ValueExtend) Eval(_ *batch.Batch, _ *process.Process) (*vector.Vector, types.T, error) + func (a *ValueExtend) IsLogical() bool + func (a *ValueExtend) ReturnType() types.T + func (a *ValueExtend) String() string