Documentation ¶
Overview ¶
Package compiler provides compiler implementations for compiling an (*ast.SQLStmt) into a (command.Command), which then can be executed by an (executor.Executor).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compiler ¶
type Compiler interface { // Compile compiles an SQLStmt to a command, which can be used by an // executor. If an error occurs during the compiling, it will be returned. // If such an error is not fatal to the compile process and there occur more // errors, the returned error will contain all occurred errors until a fatal // error. Compile(*ast.SQLStmt) (command.Command, error) }
Compiler describes a component that is able to convert an (*ast.SQLStmt) to a (command.Command).
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package command defines a command model, known as the intermediary representation.
|
Package command defines a command model, known as the intermediary representation. |
Package optimization provides command optimizations that are used by the compiler.
|
Package optimization provides command optimizations that are used by the compiler. |
Click to show internal directories.
Click to hide internal directories.