Documentation ¶
Index ¶
- type BinaryNode
- type CrossJoin
- type Describe
- type Filter
- type GroupBy
- type Limit
- type Project
- type ShowTables
- func (*ShowTables) Children() []sql.Node
- func (p *ShowTables) Resolved() bool
- func (p *ShowTables) RowIter() (sql.RowIter, error)
- func (*ShowTables) Schema() sql.Schema
- func (p *ShowTables) TransformExpressionsUp(f func(sql.Expression) sql.Expression) sql.Node
- func (p *ShowTables) TransformUp(f func(sql.Node) sql.Node) sql.Node
- type Sort
- type SortField
- type SortOrder
- type UnaryNode
- type UnresolvedTable
- func (*UnresolvedTable) Children() []sql.Node
- func (*UnresolvedTable) Resolved() bool
- func (*UnresolvedTable) RowIter() (sql.RowIter, error)
- func (*UnresolvedTable) Schema() sql.Schema
- func (p *UnresolvedTable) TransformExpressionsUp(f func(sql.Expression) sql.Expression) sql.Node
- func (p *UnresolvedTable) TransformUp(f func(sql.Node) sql.Node) sql.Node
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BinaryNode ¶
func (BinaryNode) Children ¶
func (n BinaryNode) Children() []sql.Node
type CrossJoin ¶ added in v0.1.0
type CrossJoin struct {
BinaryNode
}
func (*CrossJoin) TransformExpressionsUp ¶ added in v0.1.0
func (p *CrossJoin) TransformExpressionsUp(f func(sql.Expression) sql.Expression) sql.Node
type Describe ¶ added in v0.1.0
type Describe struct {
UnaryNode
}
func NewDescribe ¶ added in v0.1.0
func (*Describe) TransformExpressionsUp ¶ added in v0.1.0
func (d *Describe) TransformExpressionsUp(f func(sql.Expression) sql.Expression) sql.Node
type Filter ¶
type Filter struct { UnaryNode // contains filtered or unexported fields }
func (*Filter) TransformExpressionsUp ¶
func (p *Filter) TransformExpressionsUp(f func(sql.Expression) sql.Expression) sql.Node
type GroupBy ¶ added in v0.3.0
type GroupBy struct { UnaryNode // contains filtered or unexported fields }
func NewGroupBy ¶ added in v0.3.0
func NewGroupBy(aggregate []sql.Expression, grouping []sql.Expression, child sql.Node) *GroupBy
func (*GroupBy) TransformExpressionsUp ¶ added in v0.3.0
func (p *GroupBy) TransformExpressionsUp(f func(sql.Expression) sql.Expression) sql.Node
type Limit ¶
type Limit struct { UnaryNode // contains filtered or unexported fields }
func (*Limit) TransformExpressionsUp ¶
func (l *Limit) TransformExpressionsUp(f func(sql.Expression) sql.Expression) sql.Node
type Project ¶
type Project struct { UnaryNode Expressions []sql.Expression }
func NewProject ¶
func NewProject(expressions []sql.Expression, child sql.Node) *Project
func (*Project) TransformExpressionsUp ¶
func (p *Project) TransformExpressionsUp(f func(sql.Expression) sql.Expression) sql.Node
type ShowTables ¶ added in v0.1.0
type ShowTables struct {
// contains filtered or unexported fields
}
func NewShowTables ¶ added in v0.1.0
func NewShowTables(database sql.Database) *ShowTables
func (*ShowTables) Children ¶ added in v0.1.0
func (*ShowTables) Children() []sql.Node
func (*ShowTables) Resolved ¶ added in v0.1.0
func (p *ShowTables) Resolved() bool
func (*ShowTables) Schema ¶ added in v0.1.0
func (*ShowTables) Schema() sql.Schema
func (*ShowTables) TransformExpressionsUp ¶ added in v0.1.0
func (p *ShowTables) TransformExpressionsUp(f func(sql.Expression) sql.Expression) sql.Node
func (*ShowTables) TransformUp ¶ added in v0.1.0
type Sort ¶
type Sort struct { UnaryNode // contains filtered or unexported fields }
func (*Sort) TransformExpressionsUp ¶
func (s *Sort) TransformExpressionsUp(f func(sql.Expression) sql.Expression) sql.Node
type SortField ¶
type SortField struct { Column sql.Expression Order SortOrder }
type UnresolvedTable ¶ added in v0.1.0
type UnresolvedTable struct {
Name string
}
func NewUnresolvedTable ¶ added in v0.1.0
func NewUnresolvedTable(name string) *UnresolvedTable
func (*UnresolvedTable) Children ¶ added in v0.1.0
func (*UnresolvedTable) Children() []sql.Node
func (*UnresolvedTable) Resolved ¶ added in v0.1.0
func (*UnresolvedTable) Resolved() bool
func (*UnresolvedTable) RowIter ¶ added in v0.1.0
func (*UnresolvedTable) RowIter() (sql.RowIter, error)
func (*UnresolvedTable) Schema ¶ added in v0.1.0
func (*UnresolvedTable) Schema() sql.Schema
func (*UnresolvedTable) TransformExpressionsUp ¶ added in v0.1.0
func (p *UnresolvedTable) TransformExpressionsUp(f func(sql.Expression) sql.Expression) sql.Node
func (*UnresolvedTable) TransformUp ¶ added in v0.1.0
Click to show internal directories.
Click to hide internal directories.