Versions in this module Expand all Collapse all v0 v0.2.0 Sep 30, 2023 Changes in this version + const AggrAvg + const AggrCount + const AggrMax + const AggrMin + const AggrSum + const All + const Distinct + var TruePredicate = func(row proto.Row) bool + func IsHintIgnore(hintName string) bool + func MustRestoreToString(flag RestoreFlag, r Restorer) string + func RestoreToString(flag RestoreFlag, r Restorer) (string, error) + func WriteID(sb *strings.Builder, field string) + func WriteString(sb *strings.Builder, str string) + type AggrFunction struct + func NewAggrFunction(name string, aggregator string, args []*FunctionArg) *AggrFunction + func (af *AggrFunction) Accept(visitor Visitor) (interface{}, error) + func (af *AggrFunction) Aggregator() (string, bool) + func (af *AggrFunction) Args() []*FunctionArg + func (af *AggrFunction) EnableCountStar() + func (af *AggrFunction) IsCountStar() bool + func (af *AggrFunction) Name() string + func (af *AggrFunction) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type AggrFunctionFlag uint8 + type AlgorithmType int + const AlgorithmTypeCopy + const AlgorithmTypeDefault + const AlgorithmTypeInplace + const AlgorithmTypeInstant + func (a AlgorithmType) String() string + type AlterTableSpecStatement struct + Constraint *Constraint + NewColumnName ColumnNameExpressionAtom + NewColumns []*ColumnDefine + NewTable TableName + OldColumnName ColumnNameExpressionAtom + Position *ColumnPosition + Tp AlterTableType + func (a *AlterTableSpecStatement) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type AlterTableStatement struct + Specs []*AlterTableSpecStatement + Table TableName + func (at *AlterTableStatement) Mode() SQLType + func (at *AlterTableStatement) ResetTable(table string) *AlterTableStatement + func (at *AlterTableStatement) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type AlterTableType uint8 + const AlterTableAddColumns + const AlterTableAddConstraint + const AlterTableChangeColumn + const AlterTableDropColumn + const AlterTableModifyColumn + const AlterTableRenameColumn + const AlterTableRenameTable + type AlwaysReturnSelfVisitor struct + func (a AlwaysReturnSelfVisitor) VisitAtomColumn(node ColumnNameExpressionAtom) (interface{}, error) + func (a AlwaysReturnSelfVisitor) VisitAtomConstant(node *ConstantExpressionAtom) (interface{}, error) + func (a AlwaysReturnSelfVisitor) VisitAtomFunction(node *FunctionCallExpressionAtom) (interface{}, error) + func (a AlwaysReturnSelfVisitor) VisitAtomInterval(node *IntervalExpressionAtom) (interface{}, error) + func (a AlwaysReturnSelfVisitor) VisitAtomMath(node *MathExpressionAtom) (interface{}, error) + func (a AlwaysReturnSelfVisitor) VisitAtomNested(node *NestedExpressionAtom) (interface{}, error) + func (a AlwaysReturnSelfVisitor) VisitAtomSystemVariable(node *SystemVariableExpressionAtom) (interface{}, error) + func (a AlwaysReturnSelfVisitor) VisitAtomUnary(node *UnaryExpressionAtom) (interface{}, error) + func (a AlwaysReturnSelfVisitor) VisitAtomVariable(node VariableExpressionAtom) (interface{}, error) + func (a AlwaysReturnSelfVisitor) VisitFunction(node *Function) (interface{}, error) + func (a AlwaysReturnSelfVisitor) VisitFunctionAggregate(node *AggrFunction) (interface{}, error) + func (a AlwaysReturnSelfVisitor) VisitFunctionArg(node *FunctionArg) (interface{}, error) + func (a AlwaysReturnSelfVisitor) VisitFunctionCaseWhenElse(node *CaseWhenElseFunction) (interface{}, error) + func (a AlwaysReturnSelfVisitor) VisitFunctionCast(node *CastFunction) (interface{}, error) + func (a AlwaysReturnSelfVisitor) VisitGroupBy(node *GroupByNode) (interface{}, error) + func (a AlwaysReturnSelfVisitor) VisitGroupByItem(node *GroupByItem) (interface{}, error) + func (a AlwaysReturnSelfVisitor) VisitJoin(node *JoinNode) (interface{}, error) + func (a AlwaysReturnSelfVisitor) VisitLimit(node *LimitNode) (interface{}, error) + func (a AlwaysReturnSelfVisitor) VisitLogicalExpression(node *LogicalExpressionNode) (interface{}, error) + func (a AlwaysReturnSelfVisitor) VisitNotExpression(node *NotExpressionNode) (interface{}, error) + func (a AlwaysReturnSelfVisitor) VisitOrderBy(node OrderByNode) (interface{}, error) + func (a AlwaysReturnSelfVisitor) VisitOrderByItem(node *OrderByItem) (interface{}, error) + func (a AlwaysReturnSelfVisitor) VisitPredicateAtom(node *AtomPredicateNode) (interface{}, error) + func (a AlwaysReturnSelfVisitor) VisitPredicateBetween(node *BetweenPredicateNode) (interface{}, error) + func (a AlwaysReturnSelfVisitor) VisitPredicateBinaryComparison(node *BinaryComparisonPredicateNode) (interface{}, error) + func (a AlwaysReturnSelfVisitor) VisitPredicateExpression(node *PredicateExpressionNode) (interface{}, error) + func (a AlwaysReturnSelfVisitor) VisitPredicateIn(node *InPredicateNode) (interface{}, error) + func (a AlwaysReturnSelfVisitor) VisitPredicateLike(node *LikePredicateNode) (interface{}, error) + func (a AlwaysReturnSelfVisitor) VisitPredicateRegexp(node *RegexpPredicationNode) (interface{}, error) + func (a AlwaysReturnSelfVisitor) VisitSelectElementColumn(node *SelectElementColumn) (interface{}, error) + func (a AlwaysReturnSelfVisitor) VisitSelectElementExpr(node *SelectElementExpr) (interface{}, error) + func (a AlwaysReturnSelfVisitor) VisitSelectElementFunction(node *SelectElementFunction) (interface{}, error) + func (a AlwaysReturnSelfVisitor) VisitSelectElementWildcard(node *SelectElementAll) (interface{}, error) + func (a AlwaysReturnSelfVisitor) VisitSelectStatement(node *SelectStatement) (interface{}, error) + func (a AlwaysReturnSelfVisitor) VisitTableName(node TableName) (interface{}, error) + func (a AlwaysReturnSelfVisitor) VisitTableSource(node *TableSourceNode) (interface{}, error) + func (a AlwaysReturnSelfVisitor) VisitUnionStatement(node *UnionSelectStatement) (interface{}, error) + type AnalyzeTableStatement struct + Tables []*TableName + func NewAnalyzeTableStatement() *AnalyzeTableStatement + func (a *AnalyzeTableStatement) Mode() SQLType + func (a *AnalyzeTableStatement) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type AtomPredicateNode struct + A ExpressionAtom + func (a *AtomPredicateNode) Accept(visitor Visitor) (interface{}, error) + func (a *AtomPredicateNode) Clone() PredicateNode + func (a *AtomPredicateNode) Column() (ColumnNameExpressionAtom, bool) + func (a *AtomPredicateNode) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type BaseInsertStatement interface + IsIgnore func() bool + IsSetSyntax func() bool + Priority func() (string, bool) + type BaseShow struct + func (bs *BaseShow) Filter() func(proto.Row) bool + func (bs *BaseShow) Like() (string, bool) + func (bs *BaseShow) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + func (bs *BaseShow) Where() (ExpressionNode, bool) + type BaseShowWithSingleColumn struct + func (bs *BaseShowWithSingleColumn) Filter() func(proto.Row) bool + func (bs *BaseShowWithSingleColumn) Like() (string, bool) + type BaseVisitor struct + func (b BaseVisitor) VisitAtomColumn(node ColumnNameExpressionAtom) (interface{}, error) + func (b BaseVisitor) VisitAtomConstant(node *ConstantExpressionAtom) (interface{}, error) + func (b BaseVisitor) VisitAtomFunction(node *FunctionCallExpressionAtom) (interface{}, error) + func (b BaseVisitor) VisitAtomInterval(node *IntervalExpressionAtom) (interface{}, error) + func (b BaseVisitor) VisitAtomMath(node *MathExpressionAtom) (interface{}, error) + func (b BaseVisitor) VisitAtomNested(node *NestedExpressionAtom) (interface{}, error) + func (b BaseVisitor) VisitAtomSystemVariable(node *SystemVariableExpressionAtom) (interface{}, error) + func (b BaseVisitor) VisitAtomUnary(node *UnaryExpressionAtom) (interface{}, error) + func (b BaseVisitor) VisitAtomVariable(node VariableExpressionAtom) (interface{}, error) + func (b BaseVisitor) VisitFunction(node *Function) (interface{}, error) + func (b BaseVisitor) VisitFunctionAggregate(node *AggrFunction) (interface{}, error) + func (b BaseVisitor) VisitFunctionArg(node *FunctionArg) (interface{}, error) + func (b BaseVisitor) VisitFunctionCaseWhenElse(node *CaseWhenElseFunction) (interface{}, error) + func (b BaseVisitor) VisitFunctionCast(node *CastFunction) (interface{}, error) + func (b BaseVisitor) VisitGroupBy(node *GroupByNode) (interface{}, error) + func (b BaseVisitor) VisitGroupByItem(node *GroupByItem) (interface{}, error) + func (b BaseVisitor) VisitJoin(node *JoinNode) (interface{}, error) + func (b BaseVisitor) VisitLimit(node *LimitNode) (interface{}, error) + func (b BaseVisitor) VisitLogicalExpression(node *LogicalExpressionNode) (interface{}, error) + func (b BaseVisitor) VisitNotExpression(node *NotExpressionNode) (interface{}, error) + func (b BaseVisitor) VisitOrderBy(node OrderByNode) (interface{}, error) + func (b BaseVisitor) VisitOrderByItem(node *OrderByItem) (interface{}, error) + func (b BaseVisitor) VisitPredicateAtom(node *AtomPredicateNode) (interface{}, error) + func (b BaseVisitor) VisitPredicateBetween(node *BetweenPredicateNode) (interface{}, error) + func (b BaseVisitor) VisitPredicateBinaryComparison(node *BinaryComparisonPredicateNode) (interface{}, error) + func (b BaseVisitor) VisitPredicateExpression(node *PredicateExpressionNode) (interface{}, error) + func (b BaseVisitor) VisitPredicateIn(node *InPredicateNode) (interface{}, error) + func (b BaseVisitor) VisitPredicateLike(node *LikePredicateNode) (interface{}, error) + func (b BaseVisitor) VisitPredicateRegexp(node *RegexpPredicationNode) (interface{}, error) + func (b BaseVisitor) VisitSelectElementColumn(node *SelectElementColumn) (interface{}, error) + func (b BaseVisitor) VisitSelectElementExpr(node *SelectElementExpr) (interface{}, error) + func (b BaseVisitor) VisitSelectElementFunction(node *SelectElementFunction) (interface{}, error) + func (b BaseVisitor) VisitSelectElementWildcard(node *SelectElementAll) (interface{}, error) + func (b BaseVisitor) VisitSelectStatement(node *SelectStatement) (interface{}, error) + func (b BaseVisitor) VisitTableName(node TableName) (interface{}, error) + func (b BaseVisitor) VisitTableSource(node *TableSourceNode) (interface{}, error) + func (b BaseVisitor) VisitUnionStatement(node *UnionSelectStatement) (interface{}, error) + type BetweenPredicateNode struct + Key PredicateNode + Left PredicateNode + Not bool + Right PredicateNode + func (b *BetweenPredicateNode) Accept(visitor Visitor) (interface{}, error) + func (b *BetweenPredicateNode) Clone() PredicateNode + func (b *BetweenPredicateNode) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type BinaryComparisonPredicateNode struct + Left PredicateNode + Op cmp.Comparison + Right PredicateNode + func (b *BinaryComparisonPredicateNode) Accept(visitor Visitor) (interface{}, error) + func (b *BinaryComparisonPredicateNode) Clone() PredicateNode + func (b *BinaryComparisonPredicateNode) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type CaseWhenBranch struct + Then *FunctionArg + When *FunctionArg + type CaseWhenElseFunction struct + BranchBlocks []*CaseWhenBranch + CaseBlock ExpressionNode + ElseBlock *FunctionArg + func (c *CaseWhenElseFunction) Accept(visitor Visitor) (interface{}, error) + func (c *CaseWhenElseFunction) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type CastFunction struct + func (c *CastFunction) Accept(visitor Visitor) (interface{}, error) + func (c *CastFunction) GetCast() (*ConvertDataType, bool) + func (c *CastFunction) GetCharset() (string, bool) + func (c *CastFunction) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + func (c *CastFunction) SetSource(src ExpressionNode) + func (c *CastFunction) Source() ExpressionNode + type CastType uint8 + const CastToBinary + const CastToChar + const CastToDate + const CastToDateTime + const CastToDecimal + const CastToJson + const CastToNChar + const CastToSigned + const CastToSignedInteger + const CastToTime + const CastToUnsigned + const CastToUnsignedInteger + func (c CastType) String() string + type CheckTableStmt struct + Tables []*TableName + func NewCheckTableStmt() *CheckTableStmt + func (c *CheckTableStmt) CntParams() int + func (c *CheckTableStmt) Mode() SQLType + func (c *CheckTableStmt) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type ColumnDefine struct + Column ColumnNameExpressionAtom + Options []*ColumnOption + Tp string + func (c *ColumnDefine) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type ColumnNameExpressionAtom []string + func NewSingleColumnNameExpressionAtom(name string) ColumnNameExpressionAtom + func (c ColumnNameExpressionAtom) Accept(visitor Visitor) (interface{}, error) + func (c ColumnNameExpressionAtom) Clone() ExpressionAtom + func (c ColumnNameExpressionAtom) Prefix() string + func (c ColumnNameExpressionAtom) Restore(flag RestoreFlag, sb *strings.Builder, _ *[]int) error + func (c ColumnNameExpressionAtom) String() string + func (c ColumnNameExpressionAtom) Suffix() string + type ColumnOption struct + Expr ExpressionNode + StrVal string + Tp ColumnOptionType + func (c *ColumnOption) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type ColumnOptionType uint8 + const ColumnOptionAutoIncrement + const ColumnOptionCollate + const ColumnOptionColumnFormat + const ColumnOptionComment + const ColumnOptionDefaultValue + const ColumnOptionNotNull + const ColumnOptionNull + const ColumnOptionPrimaryKey + const ColumnOptionStorage + const ColumnOptionUniqKey + type ColumnPosition struct + Column ColumnNameExpressionAtom + Tp ColumnPositionType + func (c *ColumnPosition) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type ColumnPositionType uint8 + const ColumnPositionAfter + const ColumnPositionFirst + type ConstantExpressionAtom struct + Inner interface{} + func (c *ConstantExpressionAtom) Accept(visitor Visitor) (interface{}, error) + func (c *ConstantExpressionAtom) Clone() ExpressionAtom + func (c *ConstantExpressionAtom) IsNull() bool + func (c *ConstantExpressionAtom) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + func (c *ConstantExpressionAtom) String() string + func (c *ConstantExpressionAtom) Value() interface{} + type Constraint struct + Keys []*IndexPartSpec + Name string + Tp ConstraintType + func (c *Constraint) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type ConstraintType uint8 + const ConstraintFulltext + const ConstraintIndex + const ConstraintKey + const ConstraintNoConstraint + const ConstraintPrimaryKey + const ConstraintUniq + const ConstraintUniqIndex + const ConstraintUniqKey + type ConvertDataType struct + func (cd *ConvertDataType) Charset() (string, bool) + func (cd *ConvertDataType) Dimensions() (int64, int64) + func (cd *ConvertDataType) Parse(s string) error + func (cd *ConvertDataType) String() string + func (cd *ConvertDataType) Type() CastType + type CreateIndexStatement struct + IndexName string + IndexOption *IndexOption + KeyType IndexKeyType + Keys []*IndexPartSpec + LockAlg *IndexLockAndAlgorithm + Table TableName + func (c *CreateIndexStatement) Mode() SQLType + func (c *CreateIndexStatement) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type CreateTableStmt struct + Cols []*ast.ColumnDef + Constraints []*ast.Constraint + IfNotExists bool + Options []*ast.TableOption + ReferTable *TableName + Table *TableName + func NewCreateTableStmt() *CreateTableStmt + func (c *CreateTableStmt) Mode() SQLType + func (c *CreateTableStmt) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type DeleteStatement struct + Hint *HintNode + Limit *LimitNode + OrderBy OrderByNode + Table TableName + Where ExpressionNode + func (ds *DeleteStatement) IsIgnore() bool + func (ds *DeleteStatement) IsLowPriority() bool + func (ds *DeleteStatement) IsQuick() bool + func (ds *DeleteStatement) Mode() SQLType + func (ds *DeleteStatement) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type DescribeStatement struct + Column string + Table TableName + func (d *DescribeStatement) Mode() SQLType + func (d *DescribeStatement) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type DropIndexStatement struct + IfExists bool + IndexName string + Table TableName + func (d *DropIndexStatement) Mode() SQLType + func (d *DropIndexStatement) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type DropTableStatement struct + Tables []*TableName + func NewDropTableStatement() *DropTableStatement + func (d DropTableStatement) Mode() SQLType + func (d DropTableStatement) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type DropTriggerStatement struct + IfExists bool + Table TableName + func (d DropTriggerStatement) Mode() SQLType + func (d DropTriggerStatement) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type ExplainStatement struct + Table TableName + Target Statement + func (e *ExplainStatement) Mode() SQLType + func (e *ExplainStatement) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type ExpressionAtom interface + Clone func() ExpressionAtom + type ExpressionMode uint8 + const EmLogical + const EmNot + const EmPredicate + type ExpressionNode interface + Clone func() ExpressionNode + Mode func() ExpressionMode + type FromDatabase string + func (f FromDatabase) String() string + type FromNode = []*TableSourceNode + type FromTable string + func (f FromTable) String() string + type Function struct + func (f *Function) Accept(visitor Visitor) (interface{}, error) + func (f *Function) Args() []*FunctionArg + func (f *Function) Name() string + func (f *Function) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + func (f *Function) Type() FunctionType + type FunctionArg struct + Type FunctionArgType + Value interface{} + func (f *FunctionArg) Accept(visitor Visitor) (interface{}, error) + func (f *FunctionArg) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type FunctionArgType uint8 + const FunctionArgAggrFunction + const FunctionArgCaseWhenElseFunction + const FunctionArgCastFunction + const FunctionArgColumn + const FunctionArgConstant + const FunctionArgExpression + const FunctionArgFunction + type FunctionCallExpressionAtom struct + F Node + func (f *FunctionCallExpressionAtom) Accept(visitor Visitor) (interface{}, error) + func (f *FunctionCallExpressionAtom) Clone() ExpressionAtom + func (f *FunctionCallExpressionAtom) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type FunctionType uint8 + const Fpasswd + const Fscalar + const Fspec + const Fudf + func (f FunctionType) String() string + type GroupByItem struct + func (gb *GroupByItem) Expr() ExpressionNode + func (gb *GroupByItem) HasOrder() bool + func (gb *GroupByItem) IsOrderDesc() bool + func (gb *GroupByItem) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type GroupByNode struct + Items []*GroupByItem + RollUp bool + type HintItem struct + HintExpr string + TP HintType + type HintNode struct + Items []HintItem + func (h *HintNode) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type HintType = uint8 + const AranaSelfHint + const MysqlHint + type InPredicateNode struct + E []ExpressionNode + Not bool + P PredicateNode + func (ip *InPredicateNode) Accept(visitor Visitor) (interface{}, error) + func (ip *InPredicateNode) Clone() PredicateNode + func (ip *InPredicateNode) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type IndexHint struct + func (ih *IndexHint) Action() string + func (ih *IndexHint) IndexHintType() (string, bool) + func (ih *IndexHint) Indexes() []string + func (ih *IndexHint) KeyFormat() string + func (ih *IndexHint) Restore(flag RestoreFlag, sb *strings.Builder, _ *[]int) error + type IndexKeyType int + const IndexKeyTypeFullText + const IndexKeyTypeSpatial + const IndexKeyTypeUnique + type IndexLockAndAlgorithm struct + AlgorithmTp AlgorithmType + LockTp LockType + func (i *IndexLockAndAlgorithm) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type IndexOption struct + Comment string + KeyBlockSize uint64 + ParserName string + Tp IndexType + func (i *IndexOption) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type IndexPartSpec struct + Column ColumnNameExpressionAtom + Expr ExpressionNode + func (i *IndexPartSpec) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type IndexType int + const IndexTypeBtree + const IndexTypeHash + const IndexTypeInvalid + func (i IndexType) String() string + type InsertSelectStatement struct + func (b InsertSelectStatement) Flag() uint8 + func (b InsertSelectStatement) IsDelayed() bool + func (b InsertSelectStatement) IsHighPriority() bool + func (b InsertSelectStatement) IsIgnore() bool + func (b InsertSelectStatement) IsLowPriority() bool + func (b InsertSelectStatement) IsSetSyntax() bool + func (b InsertSelectStatement) Priority() (priority string, ok bool) + func (b InsertSelectStatement) SetFlag(flag uint8) + func (is *InsertSelectStatement) Mode() SQLType + func (is *InsertSelectStatement) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + func (is *InsertSelectStatement) Select() *SelectStatement + type InsertStatement struct + DuplicatedUpdates []*UpdateElement + Values [][]ExpressionNode + func NewInsertStatement(table TableName, columns []string) *InsertStatement + func (b InsertStatement) Flag() uint8 + func (b InsertStatement) IsDelayed() bool + func (b InsertStatement) IsHighPriority() bool + func (b InsertStatement) IsIgnore() bool + func (b InsertStatement) IsLowPriority() bool + func (b InsertStatement) IsSetSyntax() bool + func (b InsertStatement) Priority() (priority string, ok bool) + func (b InsertStatement) SetFlag(flag uint8) + func (is *InsertStatement) Mode() SQLType + func (is *InsertStatement) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type IntervalExpressionAtom struct + Unit ast.TimeUnitType + Value PredicateNode + func (ie *IntervalExpressionAtom) Accept(visitor Visitor) (interface{}, error) + func (ie *IntervalExpressionAtom) Clone() ExpressionAtom + func (ie *IntervalExpressionAtom) Duration() time.Duration + func (ie *IntervalExpressionAtom) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type JoinNode struct + Natural bool + On ExpressionNode + Target *TableSourceItem + Typ JoinType + func (jn *JoinNode) Accept(visitor Visitor) (interface{}, error) + func (jn *JoinNode) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type JoinType uint8 + const InnerJoin + const LeftJoin + const RightJoin + func (j JoinType) String() string + type KillStmt struct + ConnectionID uint64 + Query bool + func (k *KillStmt) Mode() SQLType + func (k *KillStmt) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type LikePredicateNode struct + Left PredicateNode + Not bool + Right PredicateNode + func (l *LikePredicateNode) Accept(visitor Visitor) (interface{}, error) + func (l *LikePredicateNode) Clone() PredicateNode + func (l *LikePredicateNode) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type LimitNode struct + func (ln *LimitNode) HasOffset() bool + func (ln *LimitNode) IsLimitVar() bool + func (ln *LimitNode) IsOffsetVar() bool + func (ln *LimitNode) Limit() int64 + func (ln *LimitNode) Offset() int64 + func (ln *LimitNode) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + func (ln *LimitNode) SetHasOffset() + func (ln *LimitNode) SetLimit(n int64) + func (ln *LimitNode) SetLimitVar() + func (ln *LimitNode) SetOffset(n int64) + func (ln *LimitNode) SetOffsetVar() + func (ln *LimitNode) UnsetHasOffset() + func (ln *LimitNode) UnsetLimitVar() + func (ln *LimitNode) UnsetOffsetVar() + type LockType int + const LockTypeDefault + const LockTypeExclusive + const LockTypeNone + const LockTypeShared + func (l LockType) String() string + type LogicalExpressionNode struct + Left ExpressionNode + Or bool + Right ExpressionNode + func (l *LogicalExpressionNode) Accept(visitor Visitor) (interface{}, error) + func (l *LogicalExpressionNode) Clone() ExpressionNode + func (l *LogicalExpressionNode) Mode() ExpressionMode + func (l *LogicalExpressionNode) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type MathExpressionAtom struct + Left ExpressionAtom + Operator string + Right ExpressionAtom + func (m *MathExpressionAtom) Accept(visitor Visitor) (interface{}, error) + func (m *MathExpressionAtom) Clone() ExpressionAtom + func (m *MathExpressionAtom) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type NestedExpressionAtom struct + First ExpressionNode + func (n *NestedExpressionAtom) Accept(visitor Visitor) (interface{}, error) + func (n *NestedExpressionAtom) Clone() ExpressionAtom + func (n *NestedExpressionAtom) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type Node interface + Accept func(visitor Visitor) (interface{}, error) + type NotExpressionNode struct + E ExpressionNode + func (n *NotExpressionNode) Accept(visitor Visitor) (interface{}, error) + func (n *NotExpressionNode) Clone() ExpressionNode + func (n *NotExpressionNode) Mode() ExpressionMode + func (n *NotExpressionNode) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type OptimizeTableStatement struct + Tables []*TableName + func NewOptimizeTableStatement() *OptimizeTableStatement + func (a *OptimizeTableStatement) Mode() SQLType + func (a *OptimizeTableStatement) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type OrderByItem struct + Desc bool + Expr ExpressionAtom + func (o OrderByItem) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type OrderByNode []*OrderByItem + func (o OrderByNode) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + func (o OrderByNode) String() string + type ParseOption func(*parseOption) + func WithCharset(charset string) ParseOption + func WithCollation(collation string) ParseOption + type PredicateExpressionNode struct + P PredicateNode + func (a *PredicateExpressionNode) Accept(visitor Visitor) (interface{}, error) + func (a *PredicateExpressionNode) Clone() ExpressionNode + func (a *PredicateExpressionNode) Mode() ExpressionMode + func (a *PredicateExpressionNode) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type PredicateNode interface + Clone func() PredicateNode + type RegexpPredicationNode struct + Left PredicateNode + Not bool + Right PredicateNode + func (rp *RegexpPredicationNode) Accept(visitor Visitor) (interface{}, error) + func (rp *RegexpPredicationNode) Clone() PredicateNode + func (rp *RegexpPredicationNode) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type RenameTableStatement struct + TableToTables []*TableToTable + func NewRenameTableStmt() *RenameTableStatement + func (r *RenameTableStatement) CntParams() int + func (r *RenameTableStatement) Mode() SQLType + func (r *RenameTableStatement) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type RepairTableStmt struct + Tables []*TableName + func NewRepairTableStmt() *RepairTableStmt + func (r *RepairTableStmt) CntParams() int + func (r *RepairTableStmt) Mode() SQLType + func (r *RepairTableStmt) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type ReplaceSelectStatement struct + Select *SelectStatement + func (b ReplaceSelectStatement) Flag() uint8 + func (b ReplaceSelectStatement) IsDelayed() bool + func (b ReplaceSelectStatement) IsHighPriority() bool + func (b ReplaceSelectStatement) IsIgnore() bool + func (b ReplaceSelectStatement) IsLowPriority() bool + func (b ReplaceSelectStatement) IsSetSyntax() bool + func (b ReplaceSelectStatement) Priority() (priority string, ok bool) + func (b ReplaceSelectStatement) SetFlag(flag uint8) + func (r *ReplaceSelectStatement) Mode() SQLType + func (r *ReplaceSelectStatement) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type ReplaceStatement struct + Values [][]ExpressionNode + func (b ReplaceStatement) Flag() uint8 + func (b ReplaceStatement) IsDelayed() bool + func (b ReplaceStatement) IsHighPriority() bool + func (b ReplaceStatement) IsIgnore() bool + func (b ReplaceStatement) IsLowPriority() bool + func (b ReplaceStatement) IsSetSyntax() bool + func (b ReplaceStatement) Priority() (priority string, ok bool) + func (b ReplaceStatement) SetFlag(flag uint8) + func (r *ReplaceStatement) Mode() SQLType + func (r *ReplaceStatement) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type RestoreFlag uint32 + const RestoreCompat80 + const RestoreDefault + const RestoreLowerKeyword + const RestoreWithoutAlias + func (rf RestoreFlag) Has(flag RestoreFlag) bool + type Restorer interface + Restore func(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type SQLType uint8 + const SQLTypeAlterTable + const SQLTypeAnalyzeTable + const SQLTypeCheckTable + const SQLTypeCreateIndex + const SQLTypeCreateTable + const SQLTypeDelete + const SQLTypeDescribe + const SQLTypeDropIndex + const SQLTypeDropTable + const SQLTypeDropTrigger + const SQLTypeExplain + const SQLTypeInsert + const SQLTypeInsertSelect + const SQLTypeKill + const SQLTypeOptimizeTable + const SQLTypeRenameTable + const SQLTypeRepairTable + const SQLTypeReplace + const SQLTypeSelect + const SQLTypeSetVariable + const SQLTypeShowCharacterSet + const SQLTypeShowCollation + const SQLTypeShowColumns + const SQLTypeShowCreate + const SQLTypeShowCreateSequence + const SQLTypeShowDatabaseRules + const SQLTypeShowDatabases + const SQLTypeShowIndex + const SQLTypeShowMasterStatus + const SQLTypeShowNodes + const SQLTypeShowOpenTables + const SQLTypeShowProcessList + const SQLTypeShowReplicaStatus + const SQLTypeShowReplicas + const SQLTypeShowShardingTable + const SQLTypeShowStatus + const SQLTypeShowTableRules + const SQLTypeShowTableStatus + const SQLTypeShowTables + const SQLTypeShowTopology + const SQLTypeShowUsers + const SQLTypeShowVariables + const SQLTypeShowWarnings + const SQLTypeTruncate + const SQLTypeUnion + const SQLTypeUpdate + func (s SQLType) String() string + type SelectElement interface + Alias func() string + DisplayName func() string + ToSelectString func() string + type SelectElementAll struct + func (s *SelectElementAll) Accept(visitor Visitor) (interface{}, error) + func (s *SelectElementAll) Alias() string + func (s *SelectElementAll) DisplayName() string + func (s *SelectElementAll) Prefix() string + func (s *SelectElementAll) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + func (s *SelectElementAll) ToSelectString() string + type SelectElementColumn struct + Name []string + func NewSelectElementColumn(name []string, alias string) *SelectElementColumn + func (s *SelectElementColumn) Accept(visitor Visitor) (interface{}, error) + func (s *SelectElementColumn) Alias() string + func (s *SelectElementColumn) DisplayName() string + func (s *SelectElementColumn) Prefix() string + func (s *SelectElementColumn) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + func (s *SelectElementColumn) Suffix() string + func (s *SelectElementColumn) ToSelectString() string + type SelectElementExpr struct + func NewSelectElementExpr(expr ExpressionNode, alias string) *SelectElementExpr + func NewSelectElementExprFull(expr ExpressionNode, alias string, originalText string) *SelectElementExpr + func (s *SelectElementExpr) Accept(visitor Visitor) (interface{}, error) + func (s *SelectElementExpr) Alias() string + func (s *SelectElementExpr) DisplayName() string + func (s *SelectElementExpr) Expression() ExpressionNode + func (s *SelectElementExpr) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + func (s *SelectElementExpr) ToSelectString() string + type SelectElementFunction struct + func NewSelectElementAggrFunction(fun *AggrFunction, alias string) *SelectElementFunction + func NewSelectElementCaseWhenFunction(fun *CaseWhenElseFunction, alias string) *SelectElementFunction + func NewSelectElementCastFunction(fun *CastFunction, alias string) *SelectElementFunction + func NewSelectElementFunction(fun *Function, alias string) *SelectElementFunction + func (s *SelectElementFunction) Accept(visitor Visitor) (interface{}, error) + func (s *SelectElementFunction) Alias() string + func (s *SelectElementFunction) DisplayName() string + func (s *SelectElementFunction) Function() Node + func (s *SelectElementFunction) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + func (s *SelectElementFunction) SetAggrFunction(fn *AggrFunction) + func (s *SelectElementFunction) SetAlias(alias string) + func (s *SelectElementFunction) SetCaseWhenElseFunction(fn *CaseWhenElseFunction) + func (s *SelectElementFunction) SetCastFunction(fn *CastFunction) + func (s *SelectElementFunction) SetFunction(fn *Function) + func (s *SelectElementFunction) ToSelectString() string + type SelectLock uint8 + const SelectLockForUpdate + const SelectLockInShardMode + func (sl SelectLock) String() string + type SelectNode = []SelectElement + type SelectStatement struct + Distinct bool + From FromNode + GroupBy *GroupByNode + Having ExpressionNode + Hint *HintNode + Limit *LimitNode + Lock SelectLock + OrderBy OrderByNode + Select SelectNode + Where ExpressionNode + func ParseSelect(sql string, options ...ParseOption) ([]*hint.Hint, *SelectStatement, error) + func (ss *SelectStatement) Accept(visitor Visitor) (interface{}, error) + func (ss *SelectStatement) HasJoin() bool + func (ss *SelectStatement) HasSubQuery() bool + func (ss *SelectStatement) Mode() SQLType + func (ss *SelectStatement) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type SetStatement struct + Variables []*VariablePair + func (d SetStatement) Mode() SQLType + func (d SetStatement) Restore(rf RestoreFlag, sb *strings.Builder, args *[]int) error + type ShowCharset struct + func (s *ShowCharset) Mode() SQLType + func (s *ShowCharset) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type ShowCollation struct + func (s ShowCollation) Mode() SQLType + func (s ShowCollation) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type ShowColumns struct + Column string + TableName TableName + func (sh *ShowColumns) ColumnsFormat() string + func (sh *ShowColumns) Extended() bool + func (sh *ShowColumns) Full() bool + func (sh *ShowColumns) IsExtended() bool + func (sh *ShowColumns) IsFull() bool + func (sh *ShowColumns) Like() (string, bool) + func (sh *ShowColumns) Mode() SQLType + func (sh *ShowColumns) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + func (sh *ShowColumns) Table() TableName + func (sh *ShowColumns) TableFormat() string + type ShowCreate struct + func (s *ShowCreate) Mode() SQLType + func (s *ShowCreate) ResetTable(table string) *ShowCreate + func (s *ShowCreate) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + func (s *ShowCreate) Target() string + func (s *ShowCreate) Type() ShowCreateType + type ShowCreateSequence struct + Tenant string + func (s *ShowCreateSequence) Mode() SQLType + func (s *ShowCreateSequence) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type ShowCreateType uint8 + const ShowCreateTypeEvent + const ShowCreateTypeFunc + const ShowCreateTypeProc + const ShowCreateTypeTable + const ShowCreateTypeTrigger + const ShowCreateTypeView + func (s ShowCreateType) String() string + type ShowDatabaseRule struct + Database string + TableName string + func (s *ShowDatabaseRule) Mode() SQLType + func (s *ShowDatabaseRule) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type ShowDatabases struct + func (s ShowDatabases) Mode() SQLType + func (s ShowDatabases) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type ShowIndex struct + TableName TableName + func (s *ShowIndex) Mode() SQLType + func (s *ShowIndex) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + func (s *ShowIndex) Where() (ExpressionNode, bool) + type ShowMasterStatus struct + func (s *ShowMasterStatus) Mode() SQLType + func (s *ShowMasterStatus) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type ShowNodes struct + Tenant string + func (s *ShowNodes) Mode() SQLType + func (s *ShowNodes) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type ShowOpenTables struct + func (s ShowOpenTables) Mode() SQLType + func (s ShowOpenTables) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type ShowProcessList struct + func (s *ShowProcessList) Mode() SQLType + func (s *ShowProcessList) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type ShowReplicaStatus struct + func (s *ShowReplicaStatus) Mode() SQLType + func (s *ShowReplicaStatus) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type ShowReplicas struct + func (s ShowReplicas) Mode() SQLType + func (s ShowReplicas) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type ShowShardingTable struct + func (s *ShowShardingTable) Mode() SQLType + func (s *ShowShardingTable) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type ShowStatus struct + func (s *ShowStatus) Mode() SQLType + func (s *ShowStatus) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type ShowTableRule struct + Database string + TableName string + func (s *ShowTableRule) Mode() SQLType + func (s *ShowTableRule) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type ShowTableStatus struct + Database string + func (s *ShowTableStatus) Mode() SQLType + func (s *ShowTableStatus) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type ShowTables struct + func (st *ShowTables) Mode() SQLType + func (st *ShowTables) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type ShowTopology struct + func (s ShowTopology) Mode() SQLType + func (s ShowTopology) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type ShowUsers struct + Tenant string + func (s *ShowUsers) Mode() SQLType + func (s *ShowUsers) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type ShowVariables struct + func (s *ShowVariables) Like() (string, bool) + func (s *ShowVariables) Mode() SQLType + func (s *ShowVariables) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type ShowWarnings struct + Limit *LimitNode + func (s *ShowWarnings) Mode() SQLType + func (s *ShowWarnings) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + func (s *ShowWarnings) Validate() error + type Statement interface + Mode func() SQLType + func FromStmtNode(node ast.StmtNode) (Statement, error) + func MustParse(sql string) ([]*hint.Hint, Statement) + func Parse(sql string, options ...ParseOption) ([]*hint.Hint, Statement, error) + type SystemVariableExpressionAtom struct + Global bool + Name string + System bool + func (sy *SystemVariableExpressionAtom) Accept(visitor Visitor) (interface{}, error) + func (sy *SystemVariableExpressionAtom) Clone() ExpressionAtom + func (sy *SystemVariableExpressionAtom) IsCompat80() bool + func (sy *SystemVariableExpressionAtom) Restore(rf RestoreFlag, sb *strings.Builder, _ *[]int) error + type TableName []string + func (t TableName) Accept(visitor Visitor) (interface{}, error) + func (t TableName) Prefix() (prefix string) + func (t TableName) ResetSuffix(suffix string) TableName + func (t TableName) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + func (t TableName) String() string + func (t TableName) Suffix() string + type TableSourceItem struct + Alias string + IndexHints []*IndexHint + Partitions []string + Source Node + func (t *TableSourceItem) ResetTableName(newTableName string) bool + func (t *TableSourceItem) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type TableSourceNode struct + Joins []*JoinNode + func (t *TableSourceNode) Accept(visitor Visitor) (interface{}, error) + func (t *TableSourceNode) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type TableToTable struct + NewTable *TableName + OldTable *TableName + func (t TableToTable) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type TruncateStatement struct + Table TableName + func (stmt *TruncateStatement) Mode() SQLType + func (stmt *TruncateStatement) ResetTable(table string) *TruncateStatement + func (stmt *TruncateStatement) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type UnaryExpressionAtom struct + Inner Node + Operator string + func (u *UnaryExpressionAtom) Accept(visitor Visitor) (interface{}, error) + func (u *UnaryExpressionAtom) Clone() ExpressionAtom + func (u *UnaryExpressionAtom) IsOperatorNot() bool + func (u *UnaryExpressionAtom) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type UnionSelectStatement struct + First *SelectStatement + OrderBy OrderByNode + UnionStatementItems []*UnionStatementItem + func (u *UnionSelectStatement) Accept(visitor Visitor) (interface{}, error) + func (u *UnionSelectStatement) Mode() SQLType + func (u *UnionSelectStatement) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type UnionStatementItem struct + Stmt *SelectStatement + Type UnionType + type UnionType uint8 + const UnionTypeAll + const UnionTypeDistinct + func (u UnionType) String() string + type UpdateElement struct + Column ColumnNameExpressionAtom + Value ExpressionNode + func (u *UpdateElement) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type UpdateStatement struct + Hint *HintNode + Limit *LimitNode + OrderBy OrderByNode + Table TableName + TableAlias string + Updated []*UpdateElement + Where ExpressionNode + func (u *UpdateStatement) IsEnableLowPriority() bool + func (u *UpdateStatement) IsIgnore() bool + func (u *UpdateStatement) Mode() SQLType + func (u *UpdateStatement) ResetTable(table string) *UpdateStatement + func (u *UpdateStatement) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type VariableExpressionAtom int + func (v VariableExpressionAtom) Accept(visitor Visitor) (interface{}, error) + func (v VariableExpressionAtom) Clone() ExpressionAtom + func (v VariableExpressionAtom) N() int + func (v VariableExpressionAtom) Restore(flag RestoreFlag, sb *strings.Builder, args *[]int) error + type VariablePair struct + Global bool + Name string + System bool + Value ExpressionAtom + type Visitor interface + VisitAtomColumn func(node ColumnNameExpressionAtom) (interface{}, error) + VisitAtomConstant func(node *ConstantExpressionAtom) (interface{}, error) + VisitAtomFunction func(node *FunctionCallExpressionAtom) (interface{}, error) + VisitAtomInterval func(node *IntervalExpressionAtom) (interface{}, error) + VisitAtomMath func(node *MathExpressionAtom) (interface{}, error) + VisitAtomNested func(node *NestedExpressionAtom) (interface{}, error) + VisitAtomSystemVariable func(node *SystemVariableExpressionAtom) (interface{}, error) + VisitAtomUnary func(node *UnaryExpressionAtom) (interface{}, error) + VisitAtomVariable func(node VariableExpressionAtom) (interface{}, error) + VisitFunction func(node *Function) (interface{}, error) + VisitFunctionAggregate func(node *AggrFunction) (interface{}, error) + VisitFunctionArg func(node *FunctionArg) (interface{}, error) + VisitFunctionCaseWhenElse func(node *CaseWhenElseFunction) (interface{}, error) + VisitFunctionCast func(node *CastFunction) (interface{}, error) + VisitGroupBy func(node *GroupByNode) (interface{}, error) + VisitGroupByItem func(node *GroupByItem) (interface{}, error) + VisitJoin func(node *JoinNode) (interface{}, error) + VisitLimit func(node *LimitNode) (interface{}, error) + VisitLogicalExpression func(node *LogicalExpressionNode) (interface{}, error) + VisitNotExpression func(node *NotExpressionNode) (interface{}, error) + VisitOrderBy func(node OrderByNode) (interface{}, error) + VisitOrderByItem func(node *OrderByItem) (interface{}, error) + VisitPredicateAtom func(node *AtomPredicateNode) (interface{}, error) + VisitPredicateBetween func(node *BetweenPredicateNode) (interface{}, error) + VisitPredicateBinaryComparison func(node *BinaryComparisonPredicateNode) (interface{}, error) + VisitPredicateExpression func(node *PredicateExpressionNode) (interface{}, error) + VisitPredicateIn func(node *InPredicateNode) (interface{}, error) + VisitPredicateLike func(node *LikePredicateNode) (interface{}, error) + VisitPredicateRegexp func(node *RegexpPredicationNode) (interface{}, error) + VisitSelectElementColumn func(node *SelectElementColumn) (interface{}, error) + VisitSelectElementExpr func(node *SelectElementExpr) (interface{}, error) + VisitSelectElementFunction func(node *SelectElementFunction) (interface{}, error) + VisitSelectElementWildcard func(node *SelectElementAll) (interface{}, error) + VisitSelectStatement func(node *SelectStatement) (interface{}, error) + VisitTableName func(node TableName) (interface{}, error) + VisitTableSource func(node *TableSourceNode) (interface{}, error) + VisitUnionStatement func(node *UnionSelectStatement) (interface{}, error) v0.1.0-rc1 Sep 1, 2022