Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterTable ¶
func RegisterTable(dataset *flow.Dataset, tableName string, columns []executor.TableColumn)
Types ¶
type Session ¶
type Session interface {
context.Context
Status() uint16 // Flag of current status, such as autocommit.
String() string // For debug
Close() error
}
Session context
func CreateSession ¶
func CreateSession(info infoschema.InfoSchema) (Session, error)
CreateSession creates a new session environment.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package ast is the abstract syntax tree parsed from a SQL statement by parser.
|
Package ast is the abstract syntax tree parsed from a SQL statement by parser. |
|
goyacc
command
Goyacc is a version of yacc generating Go parsers.
|
Goyacc is a version of yacc generating Go parsers. |
|
sessionctx
|
|
Click to show internal directories.
Click to hide internal directories.