Versions in this module Expand all Collapse all v0 v0.6.1 Jun 12, 2020 Changes in this version + const NumBytes + const NumChars + var Defaults = []sql.Function + var ErrConcatArrayWithOthers = errors.NewKind("can't concat a string array with any other elements") + var ErrDivisionByZero = errors.NewKind("division by zero") + var ErrInvalidArgumentForLogarithm = errors.NewKind("invalid argument value for logarithm: %v") + var ErrNegativeRepeatCount = errors.NewKind("negative Repeat count: %v") + var ErrUintOverflow = errors.NewKind("Unsigned integer too big to fit on signed integer") + var ErrUnsupportedType = errors.NewKind("unsupported type for greatest/least argument: %T") + var IntRegex = regexp.Compile("^-?[1-9][0-9]*$") + var UintRegex = regexp.Compile("^[1-9][0-9]*$") + func NewArrayLength(array sql.Expression) sql.Expression + func NewCeil(num sql.Expression) sql.Expression + func NewCharLength(e sql.Expression) sql.Expression + func NewCoalesce(args ...sql.Expression) (sql.Expression, error) + func NewConcat(args ...sql.Expression) (sql.Expression, error) + func NewConcatWithSeparator(args ...sql.Expression) (sql.Expression, error) + func NewConnectionID() sql.Expression + func NewDatabase(c *sql.Catalog) func() sql.Expression + func NewDate(date sql.Expression) sql.Expression + func NewDateAdd(args ...sql.Expression) (sql.Expression, error) + func NewDateSub(args ...sql.Expression) (sql.Expression, error) + func NewDatetime(args ...sql.Expression) (sql.Expression, error) + func NewDay(date sql.Expression) sql.Expression + func NewDayOfWeek(date sql.Expression) sql.Expression + func NewDayOfYear(date sql.Expression) sql.Expression + func NewExplode(child sql.Expression) sql.Expression + func NewFloor(num sql.Expression) sql.Expression + func NewFromBase64(e sql.Expression) sql.Expression + func NewGenerate(child sql.Expression) sql.Expression + func NewGreatest(args ...sql.Expression) (sql.Expression, error) + func NewHour(date sql.Expression) sql.Expression + func NewIf(expr, ifTrue, ifFalse sql.Expression) sql.Expression + func NewIfNull(ex, value sql.Expression) sql.Expression + func NewInstr(str, substr sql.Expression) sql.Expression + func NewIsBinary(e sql.Expression) sql.Expression + func NewJSONExtract(args ...sql.Expression) (sql.Expression, error) + func NewJSONUnquote(json sql.Expression) sql.Expression + func NewLeast(args ...sql.Expression) (sql.Expression, error) + func NewLeft(str, len sql.Expression) sql.Expression + func NewLength(e sql.Expression) sql.Expression + func NewLog(args ...sql.Expression) (sql.Expression, error) + func NewLogBase(base float64, e sql.Expression) sql.Expression + func NewLogBaseFunc(base float64) func(e sql.Expression) sql.Expression + func NewLower(e sql.Expression) sql.Expression + func NewMinute(date sql.Expression) sql.Expression + func NewMonth(date sql.Expression) sql.Expression + func NewNow() sql.Expression + func NewNullIf(ex1, ex2 sql.Expression) sql.Expression + func NewPad(pType padType, args ...sql.Expression) (sql.Expression, error) + func NewPadFunc(pType padType) func(e ...sql.Expression) (sql.Expression, error) + func NewPower(e1, e2 sql.Expression) sql.Expression + func NewRand(exprs ...sql.Expression) (sql.Expression, error) + func NewRegexpMatches(args ...sql.Expression) (sql.Expression, error) + func NewRepeat(str sql.Expression, count sql.Expression) sql.Expression + func NewReplace(str sql.Expression, fromStr sql.Expression, toStr sql.Expression) sql.Expression + func NewReverse(e sql.Expression) sql.Expression + func NewRound(args ...sql.Expression) (sql.Expression, error) + func NewSecond(date sql.Expression) sql.Expression + func NewSleep(e sql.Expression) sql.Expression + func NewSoundex(e sql.Expression) sql.Expression + func NewSplit(str, delimiter sql.Expression) sql.Expression + func NewSqrt(e sql.Expression) sql.Expression + func NewSubstring(args ...sql.Expression) (sql.Expression, error) + func NewSubstringIndex(str, delim, count sql.Expression) sql.Expression + func NewTimestamp(args ...sql.Expression) (sql.Expression, error) + func NewToBase64(e sql.Expression) sql.Expression + func NewTrim(tType trimType, str sql.Expression) sql.Expression + func NewTrimFunc(tType trimType) func(e sql.Expression) sql.Expression + func NewUnaryMathFunc(name string, logic UnaryMathFuncLogic) func(e sql.Expression) sql.Expression + func NewUnixTimestamp(args ...sql.Expression) (sql.Expression, error) + func NewUpper(e sql.Expression) sql.Expression + func NewUser() sql.Expression + func NewVersion(versionPostfix string) func(...sql.Expression) (sql.Expression, error) + func NewWeekday(date sql.Expression) sql.Expression + func NewYear(date sql.Expression) sql.Expression + func NewYearWeek(args ...sql.Expression) (sql.Expression, error) + type ACosFuncLogic struct + func (fl ACosFuncLogic) EvalFloat(n float64) (interface{}, error) + type ASinFuncLogic struct + func (fl ASinFuncLogic) EvalFloat(n float64) (interface{}, error) + type ATanFuncLogic struct + func (fl ATanFuncLogic) EvalFloat(n float64) (interface{}, error) + type AbsFuncLogic struct + func (fl AbsFuncLogic) EvalDecimal(dec decimal.Decimal) (interface{}, error) + func (fl AbsFuncLogic) EvalFloat(n float64) (interface{}, error) + func (fl AbsFuncLogic) EvalInt(n int64) (interface{}, error) + func (fl AbsFuncLogic) EvalUint(n uint64) (interface{}, error) + type ArrayLength struct + func (*ArrayLength) Type() sql.Type + func (f *ArrayLength) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (f *ArrayLength) String() string + func (f *ArrayLength) WithChildren(children ...sql.Expression) (sql.Expression, error) + type Ceil struct + func (c *Ceil) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (c *Ceil) String() string + func (c *Ceil) Type() sql.Type + func (c *Ceil) WithChildren(children ...sql.Expression) (sql.Expression, error) + type Coalesce struct + func (*Coalesce) WithChildren(children ...sql.Expression) (sql.Expression, error) + func (c *Coalesce) Children() []sql.Expression + func (c *Coalesce) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (c *Coalesce) IsNullable() bool + func (c *Coalesce) Resolved() bool + func (c *Coalesce) String() string + func (c *Coalesce) Type() sql.Type + type Concat struct + func (*Concat) WithChildren(children ...sql.Expression) (sql.Expression, error) + func (f *Concat) Children() []sql.Expression + func (f *Concat) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (f *Concat) IsNullable() bool + func (f *Concat) Resolved() bool + func (f *Concat) String() string + func (f *Concat) Type() sql.Type + type ConcatWithSeparator struct + func (*ConcatWithSeparator) WithChildren(children ...sql.Expression) (sql.Expression, error) + func (f *ConcatWithSeparator) Children() []sql.Expression + func (f *ConcatWithSeparator) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (f *ConcatWithSeparator) IsNullable() bool + func (f *ConcatWithSeparator) Resolved() bool + func (f *ConcatWithSeparator) String() string + func (f *ConcatWithSeparator) Type() sql.Type + type ConnectionID struct + func (ConnectionID) Children() []sql.Expression + func (ConnectionID) Eval(ctx *sql.Context, _ sql.Row) (interface{}, error) + func (ConnectionID) IsNullable() bool + func (ConnectionID) Resolved() bool + func (ConnectionID) String() string + func (ConnectionID) Type() sql.Type + func (c ConnectionID) WithChildren(children ...sql.Expression) (sql.Expression, error) + type CosFuncLogic struct + func (fl CosFuncLogic) EvalFloat(n float64) (interface{}, error) + type CotFuncLogic struct + func (fl CotFuncLogic) EvalFloat(n float64) (interface{}, error) + type CountType bool + type Database struct + func (*Database) String() string + func (d *Database) WithChildren(children ...sql.Expression) (sql.Expression, error) + func (db *Database) Children() []sql.Expression + func (db *Database) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (db *Database) IsNullable() bool + func (db *Database) Resolved() bool + func (db *Database) Type() sql.Type + type Date struct + func (d *Date) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (d *Date) String() string + func (d *Date) Type() sql.Type + func (d *Date) WithChildren(children ...sql.Expression) (sql.Expression, error) + type DateAdd struct + Date sql.Expression + Interval *expression.Interval + func (d *DateAdd) Children() []sql.Expression + func (d *DateAdd) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (d *DateAdd) IsNullable() bool + func (d *DateAdd) Resolved() bool + func (d *DateAdd) String() string + func (d *DateAdd) Type() sql.Type + func (d *DateAdd) WithChildren(children ...sql.Expression) (sql.Expression, error) + type DateSub struct + Date sql.Expression + Interval *expression.Interval + func (d *DateSub) Children() []sql.Expression + func (d *DateSub) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (d *DateSub) IsNullable() bool + func (d *DateSub) Resolved() bool + func (d *DateSub) String() string + func (d *DateSub) Type() sql.Type + func (d *DateSub) WithChildren(children ...sql.Expression) (sql.Expression, error) + type DatetimeConversion struct + Date sql.Expression + func (t *DatetimeConversion) Children() []sql.Expression + func (t *DatetimeConversion) Eval(ctx *sql.Context, r sql.Row) (interface{}, error) + func (t *DatetimeConversion) IsNullable() bool + func (t *DatetimeConversion) Resolved() bool + func (t *DatetimeConversion) String() string + func (t *DatetimeConversion) Type() sql.Type + func (t *DatetimeConversion) WithChildren(children ...sql.Expression) (sql.Expression, error) + type Day struct + func (d *Day) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (d *Day) String() string + func (d *Day) Type() sql.Type + func (d *Day) WithChildren(children ...sql.Expression) (sql.Expression, error) + type DayOfWeek struct + func (d *DayOfWeek) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (d *DayOfWeek) String() string + func (d *DayOfWeek) Type() sql.Type + func (d *DayOfWeek) WithChildren(children ...sql.Expression) (sql.Expression, error) + type DayOfYear struct + func (d *DayOfYear) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (d *DayOfYear) String() string + func (d *DayOfYear) Type() sql.Type + func (d *DayOfYear) WithChildren(children ...sql.Expression) (sql.Expression, error) + type DegreesFuncLogic struct + func (fl DegreesFuncLogic) EvalFloat(n float64) (interface{}, error) + type Explode struct + Child sql.Expression + func (e *Explode) Children() []sql.Expression + func (e *Explode) Eval(*sql.Context, sql.Row) (interface{}, error) + func (e *Explode) IsNullable() bool + func (e *Explode) Resolved() bool + func (e *Explode) String() string + func (e *Explode) Type() sql.Type + func (e *Explode) WithChildren(children ...sql.Expression) (sql.Expression, error) + type Floor struct + func (f *Floor) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (f *Floor) String() string + func (f *Floor) Type() sql.Type + func (f *Floor) WithChildren(children ...sql.Expression) (sql.Expression, error) + type FromBase64 struct + func (t *FromBase64) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (t *FromBase64) IsNullable() bool + func (t *FromBase64) String() string + func (t *FromBase64) Type() sql.Type + func (t *FromBase64) WithChildren(children ...sql.Expression) (sql.Expression, error) + type Generate struct + Child sql.Expression + func (e *Generate) Children() []sql.Expression + func (e *Generate) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (e *Generate) IsNullable() bool + func (e *Generate) Resolved() bool + func (e *Generate) String() string + func (e *Generate) Type() sql.Type + func (e *Generate) WithChildren(children ...sql.Expression) (sql.Expression, error) + type Greatest struct + Args []sql.Expression + func (f *Greatest) Children() []sql.Expression + func (f *Greatest) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (f *Greatest) IsNullable() bool + func (f *Greatest) Resolved() bool + func (f *Greatest) String() string + func (f *Greatest) Type() sql.Type + func (f *Greatest) WithChildren(children ...sql.Expression) (sql.Expression, error) + type Hour struct + func (h *Hour) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (h *Hour) String() string + func (h *Hour) Type() sql.Type + func (h *Hour) WithChildren(children ...sql.Expression) (sql.Expression, error) + type If struct + func (f *If) Children() []sql.Expression + func (f *If) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (f *If) IsNullable() bool + func (f *If) Resolved() bool + func (f *If) String() string + func (f *If) Type() sql.Type + func (f *If) WithChildren(children ...sql.Expression) (sql.Expression, error) + type IfNull struct + func (f *IfNull) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (f *IfNull) IsNullable() bool + func (f *IfNull) String() string + func (f *IfNull) Type() sql.Type + func (f *IfNull) WithChildren(children ...sql.Expression) (sql.Expression, error) + type Instr struct + func (Instr) Type() sql.Type + func (i Instr) Children() []sql.Expression + func (i Instr) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (i Instr) IsNullable() bool + func (i Instr) Resolved() bool + func (i Instr) String() string + func (i Instr) WithChildren(children ...sql.Expression) (sql.Expression, error) + type IsBinary struct + func (ib *IsBinary) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (ib *IsBinary) String() string + func (ib *IsBinary) Type() sql.Type + func (ib *IsBinary) WithChildren(children ...sql.Expression) (sql.Expression, error) + type JSONExtract struct + JSON sql.Expression + Paths []sql.Expression + func (j *JSONExtract) Children() []sql.Expression + func (j *JSONExtract) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (j *JSONExtract) IsNullable() bool + func (j *JSONExtract) Resolved() bool + func (j *JSONExtract) String() string + func (j *JSONExtract) Type() sql.Type + func (j *JSONExtract) WithChildren(children ...sql.Expression) (sql.Expression, error) + type JSONUnquote struct + func (*JSONUnquote) Type() sql.Type + func (js *JSONUnquote) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (js *JSONUnquote) String() string + func (js *JSONUnquote) WithChildren(children ...sql.Expression) (sql.Expression, error) + type Least struct + Args []sql.Expression + func (f *Least) Children() []sql.Expression + func (f *Least) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (f *Least) IsNullable() bool + func (f *Least) Resolved() bool + func (f *Least) String() string + func (f *Least) Type() sql.Type + func (f *Least) WithChildren(children ...sql.Expression) (sql.Expression, error) + type Left struct + func (Left) Type() sql.Type + func (l Left) Children() []sql.Expression + func (l Left) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (l Left) IsNullable() bool + func (l Left) Resolved() bool + func (l Left) String() string + func (l Left) WithChildren(children ...sql.Expression) (sql.Expression, error) + type Length struct + CountType CountType + func (l *Length) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (l *Length) String() string + func (l *Length) Type() sql.Type + func (l *Length) WithChildren(children ...sql.Expression) (sql.Expression, error) + type Log struct + func (l *Log) Children() []sql.Expression + func (l *Log) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (l *Log) IsNullable() bool + func (l *Log) String() string + func (l *Log) Type() sql.Type + func (l *Log) WithChildren(children ...sql.Expression) (sql.Expression, error) + type LogBase struct + func (l *LogBase) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (l *LogBase) IsNullable() bool + func (l *LogBase) String() string + func (l *LogBase) Type() sql.Type + func (l *LogBase) WithChildren(children ...sql.Expression) (sql.Expression, error) + type Lower struct + func (l *Lower) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (l *Lower) String() string + func (l *Lower) Type() sql.Type + func (l *Lower) WithChildren(children ...sql.Expression) (sql.Expression, error) + type Minute struct + func (m *Minute) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (m *Minute) String() string + func (m *Minute) Type() sql.Type + func (m *Minute) WithChildren(children ...sql.Expression) (sql.Expression, error) + type Month struct + func (m *Month) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (m *Month) String() string + func (m *Month) Type() sql.Type + func (m *Month) WithChildren(children ...sql.Expression) (sql.Expression, error) + type Now struct + func (*Now) Children() []sql.Expression + func (*Now) IsNullable() bool + func (*Now) Resolved() bool + func (*Now) String() string + func (*Now) Type() sql.Type + func (n *Now) Eval(*sql.Context, sql.Row) (interface{}, error) + func (n *Now) WithChildren(children ...sql.Expression) (sql.Expression, error) + type NullIf struct + func (f *NullIf) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (f *NullIf) IsNullable() bool + func (f *NullIf) String() string + func (f *NullIf) Type() sql.Type + func (f *NullIf) WithChildren(children ...sql.Expression) (sql.Expression, error) + type Pad struct + func (p *Pad) Children() []sql.Expression + func (p *Pad) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (p *Pad) IsNullable() bool + func (p *Pad) Resolved() bool + func (p *Pad) String() string + func (p *Pad) Type() sql.Type + func (p *Pad) WithChildren(children ...sql.Expression) (sql.Expression, error) + type Power struct + func (p *Power) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (p *Power) IsNullable() bool + func (p *Power) String() string + func (p *Power) Type() sql.Type + func (p *Power) WithChildren(children ...sql.Expression) (sql.Expression, error) + type RadiansFuncLogic struct + func (fl RadiansFuncLogic) EvalFloat(n float64) (interface{}, error) + type Rand struct + Child sql.Expression + func (r *Rand) Children() []sql.Expression + func (r *Rand) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (r *Rand) IsNullable() bool + func (r *Rand) Resolved() bool + func (r *Rand) String() string + func (r *Rand) Type() sql.Type + func (r *Rand) WithChildren(children ...sql.Expression) (sql.Expression, error) + type RegexpMatches struct + Flags sql.Expression + Pattern sql.Expression + Text sql.Expression + func (r *RegexpMatches) Children() []sql.Expression + func (r *RegexpMatches) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (r *RegexpMatches) IsNullable() bool + func (r *RegexpMatches) Resolved() bool + func (r *RegexpMatches) String() string + func (r *RegexpMatches) Type() sql.Type + func (r *RegexpMatches) WithChildren(children ...sql.Expression) (sql.Expression, error) + type Repeat struct + func (r *Repeat) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (r *Repeat) String() string + func (r *Repeat) Type() sql.Type + func (r *Repeat) WithChildren(children ...sql.Expression) (sql.Expression, error) + type Replace struct + func (r *Replace) Children() []sql.Expression + func (r *Replace) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (r *Replace) IsNullable() bool + func (r *Replace) Resolved() bool + func (r *Replace) String() string + func (r *Replace) Type() sql.Type + func (r *Replace) WithChildren(children ...sql.Expression) (sql.Expression, error) + type Reverse struct + func (r *Reverse) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (r *Reverse) String() string + func (r *Reverse) Type() sql.Type + func (r *Reverse) WithChildren(children ...sql.Expression) (sql.Expression, error) + type Round struct + func (r *Round) Children() []sql.Expression + func (r *Round) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (r *Round) IsNullable() bool + func (r *Round) Resolved() bool + func (r *Round) String() string + func (r *Round) Type() sql.Type + func (r *Round) WithChildren(children ...sql.Expression) (sql.Expression, error) + type Second struct + func (s *Second) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (s *Second) String() string + func (s *Second) Type() sql.Type + func (s *Second) WithChildren(children ...sql.Expression) (sql.Expression, error) + type SinFuncLogic struct + func (fl SinFuncLogic) EvalFloat(n float64) (interface{}, error) + type Sleep struct + func (s *Sleep) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (s *Sleep) IsNullable() bool + func (s *Sleep) String() string + func (s *Sleep) Type() sql.Type + func (s *Sleep) WithChildren(children ...sql.Expression) (sql.Expression, error) + type Soundex struct + func (s *Soundex) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (s *Soundex) String() string + func (s *Soundex) Type() sql.Type + func (s *Soundex) WithChildren(children ...sql.Expression) (sql.Expression, error) + type Split struct + func (*Split) Type() sql.Type + func (f *Split) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (f *Split) IsNullable() bool + func (f *Split) String() string + func (f *Split) WithChildren(children ...sql.Expression) (sql.Expression, error) + type Sqrt struct + func (s *Sqrt) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (s *Sqrt) IsNullable() bool + func (s *Sqrt) String() string + func (s *Sqrt) Type() sql.Type + func (s *Sqrt) WithChildren(children ...sql.Expression) (sql.Expression, error) + type Substring struct + func (*Substring) Type() sql.Type + func (*Substring) WithChildren(children ...sql.Expression) (sql.Expression, error) + func (s *Substring) Children() []sql.Expression + func (s *Substring) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (s *Substring) IsNullable() bool + func (s *Substring) Resolved() bool + func (s *Substring) String() string + type SubstringIndex struct + func (*SubstringIndex) Type() sql.Type + func (s *SubstringIndex) Children() []sql.Expression + func (s *SubstringIndex) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (s *SubstringIndex) IsNullable() bool + func (s *SubstringIndex) Resolved() bool + func (s *SubstringIndex) String() string + func (s *SubstringIndex) WithChildren(children ...sql.Expression) (sql.Expression, error) + type TanFuncLogic struct + func (fl TanFuncLogic) EvalFloat(n float64) (interface{}, error) + type TimestampConversion struct + Date sql.Expression + func (t *TimestampConversion) Children() []sql.Expression + func (t *TimestampConversion) Eval(ctx *sql.Context, r sql.Row) (interface{}, error) + func (t *TimestampConversion) IsNullable() bool + func (t *TimestampConversion) Resolved() bool + func (t *TimestampConversion) String() string + func (t *TimestampConversion) Type() sql.Type + func (t *TimestampConversion) WithChildren(children ...sql.Expression) (sql.Expression, error) + type ToBase64 struct + func (t *ToBase64) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (t *ToBase64) IsNullable() bool + func (t *ToBase64) String() string + func (t *ToBase64) Type() sql.Type + func (t *ToBase64) WithChildren(children ...sql.Expression) (sql.Expression, error) + type Trim struct + func (t *Trim) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (t *Trim) IsNullable() bool + func (t *Trim) String() string + func (t *Trim) Type() sql.Type + func (t *Trim) WithChildren(children ...sql.Expression) (sql.Expression, error) + type UnaryMathFloatFuncLogic interface + EvalFloat func(float64) (interface{}, error) + type UnaryMathFloatFuncWrapper struct + FlLogic UnaryMathFloatFuncLogic + func (wr UnaryMathFloatFuncWrapper) EvalDecimal(dec decimal.Decimal) (interface{}, error) + func (wr UnaryMathFloatFuncWrapper) EvalFloat(n float64) (interface{}, error) + func (wr UnaryMathFloatFuncWrapper) EvalInt(n int64) (interface{}, error) + func (wr UnaryMathFloatFuncWrapper) EvalUint(n uint64) (interface{}, error) + type UnaryMathFunc struct + Logic UnaryMathFuncLogic + Name string + func (mf *UnaryMathFunc) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (mf *UnaryMathFunc) IsNullable() bool + func (mf *UnaryMathFunc) String() string + func (mf *UnaryMathFunc) Type() sql.Type + func (mf *UnaryMathFunc) WithChildren(children ...sql.Expression) (sql.Expression, error) + type UnaryMathFuncLogic interface + EvalDecimal func(decimal.Decimal) (interface{}, error) + EvalInt func(int64) (interface{}, error) + EvalUint func(uint64) (interface{}, error) + func WrapUnaryMathFloatFuncLogic(logic UnaryMathFloatFuncLogic) UnaryMathFuncLogic + type UnixTimestamp struct + Date sql.Expression + func (ut *UnixTimestamp) Children() []sql.Expression + func (ut *UnixTimestamp) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (ut *UnixTimestamp) IsNullable() bool + func (ut *UnixTimestamp) Resolved() bool + func (ut *UnixTimestamp) String() string + func (ut *UnixTimestamp) Type() sql.Type + func (ut *UnixTimestamp) WithChildren(children ...sql.Expression) (sql.Expression, error) + type Upper struct + func (u *Upper) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (u *Upper) String() string + func (u *Upper) Type() sql.Type + func (u *Upper) WithChildren(children ...sql.Expression) (sql.Expression, error) + type User struct + func (User) Children() []sql.Expression + func (User) Eval(ctx *sql.Context, _ sql.Row) (interface{}, error) + func (User) IsNullable() bool + func (User) Resolved() bool + func (User) String() string + func (User) Type() sql.Type + func (c User) WithChildren(children ...sql.Expression) (sql.Expression, error) + type Version string + func (f Version) Children() []sql.Expression + func (f Version) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (f Version) IsNullable() bool + func (f Version) Resolved() bool + func (f Version) String() string + func (f Version) Type() sql.Type + func (f Version) WithChildren(children ...sql.Expression) (sql.Expression, error) + type Weekday struct + func (d *Weekday) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (d *Weekday) String() string + func (d *Weekday) Type() sql.Type + func (d *Weekday) WithChildren(children ...sql.Expression) (sql.Expression, error) + type Year struct + func (y *Year) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (y *Year) String() string + func (y *Year) Type() sql.Type + func (y *Year) WithChildren(children ...sql.Expression) (sql.Expression, error) + type YearWeek struct + func (*YearWeek) WithChildren(children ...sql.Expression) (sql.Expression, error) + func (d *YearWeek) Children() []sql.Expression + func (d *YearWeek) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) + func (d *YearWeek) IsNullable() bool + func (d *YearWeek) Resolved() bool + func (d *YearWeek) String() string + func (d *YearWeek) Type() sql.Type