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 ¶
func NewFirstValue(e sql.Expression) sql.Expression
func NewPercentRank ¶
func NewPercentRank() sql.Expression
func NewRowNumber ¶
func NewRowNumber() sql.Expression
Types ¶
type FirstValue ¶
type FirstValue struct { expression.UnaryExpression // contains filtered or unexported fields }
func (*FirstValue) Children ¶
func (f *FirstValue) Children() []sql.Expression
Children implements sql.Expression
func (*FirstValue) DebugString ¶
func (f *FirstValue) DebugString() string
func (*FirstValue) EvalRow ¶
func (f *FirstValue) EvalRow(i int, buffer sql.Row) (interface{}, error)
EvalRow implements sql.WindowAggregation
func (*FirstValue) FunctionName ¶
func (f *FirstValue) FunctionName() string
FunctionName implements sql.FunctionExpression
func (*FirstValue) IsNullable ¶
func (f *FirstValue) IsNullable() bool
IsNullable implements sql.Expression
func (*FirstValue) NewBuffer ¶
func (f *FirstValue) NewBuffer() sql.Row
func (*FirstValue) Resolved ¶
func (f *FirstValue) Resolved() bool
IsNullable implements sql.Expression
func (*FirstValue) String ¶
func (f *FirstValue) String() string
func (*FirstValue) Window ¶
func (f *FirstValue) Window() *sql.Window
Window implements sql.WindowExpression
func (*FirstValue) WithChildren ¶
func (f *FirstValue) WithChildren(children ...sql.Expression) (sql.Expression, error)
WithChildren implements sql.Expression
func (*FirstValue) WithWindow ¶
func (f *FirstValue) WithWindow(window *sql.Window) (sql.WindowAggregation, error)
WithWindow implements sql.WindowAggregation
type PercentRank ¶
type PercentRank struct {
// contains filtered or unexported fields
}
func (*PercentRank) Children ¶
func (p *PercentRank) Children() []sql.Expression
Children implements sql.Expression
func (*PercentRank) DebugString ¶
func (p *PercentRank) DebugString() string
func (*PercentRank) EvalRow ¶
func (p *PercentRank) EvalRow(i int, buffer sql.Row) (interface{}, error)
EvalRow implements sql.WindowAggregation
func (*PercentRank) FunctionName ¶
func (p *PercentRank) FunctionName() string
FunctionName implements sql.FunctionExpression
func (*PercentRank) IsNullable ¶
func (p *PercentRank) IsNullable() bool
IsNullable implements sql.Expression
func (*PercentRank) NewBuffer ¶
func (p *PercentRank) NewBuffer() sql.Row
func (*PercentRank) Resolved ¶
func (p *PercentRank) Resolved() bool
IsNullable implements sql.Expression
func (*PercentRank) String ¶
func (p *PercentRank) String() string
func (*PercentRank) Window ¶
func (p *PercentRank) Window() *sql.Window
Window implements sql.WindowExpression
func (*PercentRank) WithChildren ¶
func (p *PercentRank) WithChildren(children ...sql.Expression) (sql.Expression, error)
WithChildren implements sql.Expression
func (*PercentRank) WithWindow ¶
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