Documentation ¶
Index ¶
- func NewFirstValue(e sql.Expression) sql.Expression
- func NewPercentRank() sql.Expression
- func NewRowNumber() sql.Expression
- type FirstValue
- func (f *FirstValue) Add(ctx *sql.Context, buffer, row sql.Row) error
- func (f *FirstValue) Children() []sql.Expression
- func (f *FirstValue) DebugString() string
- func (f *FirstValue) Eval(ctx *sql.Context, row sql.Row) (interface{}, error)
- func (f *FirstValue) EvalRow(i int, buffer sql.Row) (interface{}, error)
- func (f *FirstValue) Finish(ctx *sql.Context, buffer sql.Row) error
- func (f *FirstValue) FunctionName() string
- func (f *FirstValue) IsNullable() bool
- func (f *FirstValue) NewBuffer() sql.Row
- func (f *FirstValue) Resolved() bool
- func (f *FirstValue) String() string
- func (f *FirstValue) Type() sql.Type
- func (f *FirstValue) Window() *sql.Window
- func (f *FirstValue) WithChildren(children ...sql.Expression) (sql.Expression, error)
- func (f *FirstValue) WithWindow(window *sql.Window) (sql.WindowAggregation, error)
- type PercentRank
- func (p *PercentRank) Add(ctx *sql.Context, buffer, row sql.Row) error
- func (p *PercentRank) Children() []sql.Expression
- func (p *PercentRank) DebugString() string
- func (p *PercentRank) Eval(ctx *sql.Context, row sql.Row) (interface{}, error)
- func (p *PercentRank) EvalRow(i int, buffer sql.Row) (interface{}, error)
- func (p *PercentRank) Finish(ctx *sql.Context, buffer sql.Row) error
- func (p *PercentRank) FunctionName() string
- func (p *PercentRank) IsNullable() bool
- func (p *PercentRank) NewBuffer() sql.Row
- func (p *PercentRank) Resolved() bool
- func (p *PercentRank) String() string
- func (p *PercentRank) Type() sql.Type
- func (p *PercentRank) Window() *sql.Window
- func (p *PercentRank) WithChildren(children ...sql.Expression) (sql.Expression, error)
- func (p *PercentRank) WithWindow(window *sql.Window) (sql.WindowAggregation, error)
- type RowNumber
- func (r *RowNumber) Add(ctx *sql.Context, buffer, row sql.Row) error
- func (r *RowNumber) Children() []sql.Expression
- func (r *RowNumber) DebugString() string
- func (r *RowNumber) Eval(ctx *sql.Context, row sql.Row) (interface{}, error)
- func (r *RowNumber) EvalRow(i int, buffer sql.Row) (interface{}, error)
- func (r *RowNumber) Finish(ctx *sql.Context, buffer sql.Row) error
- func (r *RowNumber) FunctionName() string
- func (r *RowNumber) IsNullable() bool
- func (r *RowNumber) NewBuffer() sql.Row
- func (r *RowNumber) Resolved() bool
- func (r *RowNumber) String() string
- func (r *RowNumber) Type() sql.Type
- func (r *RowNumber) Window() *sql.Window
- func (r *RowNumber) WithChildren(children ...sql.Expression) (sql.Expression, error)
- func (r *RowNumber) WithWindow(window *sql.Window) (sql.WindowAggregation, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFirstValue ¶ added in v0.11.0
func NewFirstValue(e sql.Expression) sql.Expression
func NewPercentRank ¶ added in v0.10.0
func NewPercentRank() sql.Expression
func NewRowNumber ¶
func NewRowNumber() sql.Expression
Types ¶
type FirstValue ¶ added in v0.11.0
type FirstValue struct { expression.UnaryExpression // contains filtered or unexported fields }
func (*FirstValue) Children ¶ added in v0.11.0
func (f *FirstValue) Children() []sql.Expression
Children implements sql.Expression
func (*FirstValue) DebugString ¶ added in v0.11.0
func (f *FirstValue) DebugString() string
func (*FirstValue) EvalRow ¶ added in v0.11.0
func (f *FirstValue) EvalRow(i int, buffer sql.Row) (interface{}, error)
EvalRow implements sql.WindowAggregation
func (*FirstValue) FunctionName ¶ added in v0.11.0
func (f *FirstValue) FunctionName() string
FunctionName implements sql.FunctionExpression
func (*FirstValue) IsNullable ¶ added in v0.11.0
func (f *FirstValue) IsNullable() bool
IsNullable implements sql.Expression
func (*FirstValue) NewBuffer ¶ added in v0.11.0
func (f *FirstValue) NewBuffer() sql.Row
func (*FirstValue) Resolved ¶ added in v0.11.0
func (f *FirstValue) Resolved() bool
IsNullable implements sql.Expression
func (*FirstValue) String ¶ added in v0.11.0
func (f *FirstValue) String() string
func (*FirstValue) Type ¶ added in v0.11.0
func (f *FirstValue) Type() sql.Type
Type implements sql.Expression
func (*FirstValue) Window ¶ added in v0.11.0
func (f *FirstValue) Window() *sql.Window
Window implements sql.WindowExpression
func (*FirstValue) WithChildren ¶ added in v0.11.0
func (f *FirstValue) WithChildren(children ...sql.Expression) (sql.Expression, error)
WithChildren implements sql.Expression
func (*FirstValue) WithWindow ¶ added in v0.11.0
func (f *FirstValue) WithWindow(window *sql.Window) (sql.WindowAggregation, error)
WithWindow implements sql.WindowAggregation
type PercentRank ¶ added in v0.10.0
type PercentRank struct {
// contains filtered or unexported fields
}
func (*PercentRank) Children ¶ added in v0.10.0
func (p *PercentRank) Children() []sql.Expression
Children implements sql.Expression
func (*PercentRank) DebugString ¶ added in v0.10.0
func (p *PercentRank) DebugString() string
func (*PercentRank) EvalRow ¶ added in v0.10.0
func (p *PercentRank) EvalRow(i int, buffer sql.Row) (interface{}, error)
EvalRow implements sql.WindowAggregation
func (*PercentRank) FunctionName ¶ added in v0.10.0
func (p *PercentRank) FunctionName() string
FunctionName implements sql.FunctionExpression
func (*PercentRank) IsNullable ¶ added in v0.10.0
func (p *PercentRank) IsNullable() bool
IsNullable implements sql.Expression
func (*PercentRank) NewBuffer ¶ added in v0.10.0
func (p *PercentRank) NewBuffer() sql.Row
func (*PercentRank) Resolved ¶ added in v0.10.0
func (p *PercentRank) Resolved() bool
IsNullable implements sql.Expression
func (*PercentRank) String ¶ added in v0.10.0
func (p *PercentRank) String() string
func (*PercentRank) Type ¶ added in v0.10.0
func (p *PercentRank) Type() sql.Type
Type implements sql.Expression
func (*PercentRank) Window ¶ added in v0.10.0
func (p *PercentRank) Window() *sql.Window
Window implements sql.WindowExpression
func (*PercentRank) WithChildren ¶ added in v0.10.0
func (p *PercentRank) WithChildren(children ...sql.Expression) (sql.Expression, error)
WithChildren implements sql.Expression
func (*PercentRank) WithWindow ¶ added in v0.10.0
func (p *PercentRank) WithWindow(window *sql.Window) (sql.WindowAggregation, error)
WithWindow implements sql.WindowAggregation
type RowNumber ¶
type RowNumber struct {
// contains filtered or unexported fields
}
func (*RowNumber) Children ¶
func (r *RowNumber) Children() []sql.Expression
Children implements sql.Expression
func (*RowNumber) DebugString ¶
func (*RowNumber) FunctionName ¶
FunctionName implements sql.FunctionExpression
func (*RowNumber) IsNullable ¶
IsNullable implements sql.Expression
func (*RowNumber) WithChildren ¶
func (r *RowNumber) WithChildren(children ...sql.Expression) (sql.Expression, error)
WithChildren implements sql.Expression
func (*RowNumber) WithWindow ¶
WithWindow implements sql.WindowAggregation