Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder is used to build from a plan into executor.
func NewBuilder ¶
NewBuilder returns a build instance.
type DDLExec ¶
type DDLExec struct {
// contains filtered or unexported fields
}
DDLExec is used to execute a DDL operation.
func (*DDLExec) Close ¶
func (e *DDLExec) Close() error
Close closes all executors and release all resources.
func (*DDLExec) Columns ¶
func (e *DDLExec) Columns() planner.ResultColumns
type Executor ¶
type Executor interface { Columns() planner.ResultColumns Open(context.Context) error Next(context.Context) (datum.Row, error) Close() error // contains filtered or unexported methods }
Executor is the physical implementation of an algebra operator.
type InsertExec ¶
type InsertExec struct {
// contains filtered or unexported fields
}
InsertExec represents the executor of INSERT statement.
func (*InsertExec) Close ¶
func (e *InsertExec) Close() error
func (*InsertExec) Columns ¶
func (e *InsertExec) Columns() planner.ResultColumns
type MatchExec ¶
type MatchExec struct {
// contains filtered or unexported fields
}
func (*MatchExec) Columns ¶
func (e *MatchExec) Columns() planner.ResultColumns
type ProjectionExec ¶
type ProjectionExec struct {
// contains filtered or unexported fields
}
ProjectionExec represents a projection executor.
func (*ProjectionExec) Close ¶
func (e *ProjectionExec) Close() error
Close closes all executors and release all resources.
func (*ProjectionExec) Columns ¶
func (e *ProjectionExec) Columns() planner.ResultColumns
type SelectionExec ¶
type SelectionExec struct {
// contains filtered or unexported fields
}
SelectionExec represents a selection executor.
func (*SelectionExec) Close ¶
func (e *SelectionExec) Close() error
Close closes all executors and release all resources.
func (*SelectionExec) Columns ¶
func (e *SelectionExec) Columns() planner.ResultColumns
type ShowExec ¶
type ShowExec struct {
// contains filtered or unexported fields
}
ShowExec is used to execute the show statements.
func (*ShowExec) Close ¶
func (e *ShowExec) Close() error
Close closes all executors and release all resources.
func (*ShowExec) Columns ¶
func (e *ShowExec) Columns() planner.ResultColumns
type SimpleExec ¶
type SimpleExec struct {
// contains filtered or unexported fields
}
SimpleExec is used to execute some simple tasks.
func (*SimpleExec) Close ¶
func (e *SimpleExec) Close() error
Close closes all executors and release all resources.
func (*SimpleExec) Columns ¶
func (e *SimpleExec) Columns() planner.ResultColumns