Versions in this module Expand all Collapse all v1 v1.0.0 Oct 16, 2017 Changes in this version + const ASCII + const Abs + const Acos + const AddDate + const AddTime + const AdminCheckTable + const AdminShowDDL + const AdminShowDDLJobs + const AesDecrypt + const AesEncrypt + const AggFuncAvg + const AggFuncCount + const AggFuncFirstRow + const AggFuncGroupConcat + const AggFuncMax + const AggFuncMin + const AggFuncSum + const And + const AnyValue + const Asin + const Atan + const Atan2 + const Benchmark + const Bin + const BitCount + const BitLength + const BitNeg + const CRC32 + const Case + const Cast + const Ceil + const Ceiling + const CharFunc + const CharLength + const CharacterLength + const Charset + const Coalesce + const Coercibility + const Collation + const Compress + const Concat + const ConcatWS + const ConnectionID + const Conv + const Convert + const ConvertTz + const Cos + const Cot + const Curdate + const CurrentDate + const CurrentTime + const CurrentTimestamp + const CurrentUser + const Curtime + const Database + const Date + const DateAdd + const DateDiff + const DateFormat + const DateLiteral + const DateSub + const Day + const DayName + const DayOfMonth + const DayOfWeek + const DayOfYear + const Decode + const DefaultFunc + const Degrees + const DesDecrypt + const DesEncrypt + const Div + const EQ + const Elt + const Encode + const Encrypt + const Exp + const ExplainFormatDOT + const ExplainFormatROW + const ExportSet + const Extract + const Field + const FindInSet + const FlagConstant + const FlagHasAggregateFunc + const FlagHasDefault + const FlagHasFunc + const FlagHasParamMarker + const FlagHasReference + const FlagHasSubquery + const FlagHasVariable + const FlagPreEvaluated + const Floor + const Format + const FoundRows + const FromBase64 + const FromDays + const FromUnixTime + const GE + const GT + const GetFormat + const GetLock + const GetVar + const Greatest + const Hex + const Hour + const If + const Ifnull + const In + const Inet6Aton + const Inet6Ntoa + const InetAton + const InetNtoa + const InsertFunc + const Instr + const IntDiv + const Interval + const IsFalsity + const IsFreeLock + const IsIPv4 + const IsIPv4Compat + const IsIPv4Mapped + const IsIPv6 + const IsNull + const IsTruth + const IsUsedLock + const JSONArray + const JSONContains + const JSONExtract + const JSONInsert + const JSONMerge + const JSONObject + const JSONRemove + const JSONReplace + const JSONSet + const JSONType + const JSONUnquote + const JSONValid + const LE + const LT + const LTrim + const LastDay + const LastInsertId + const Lcase + const Least + const Left + const LeftShift + const Length + const Like + const Ln + const LoadFile + const LocalTime + const LocalTimestamp + const Locate + const Log + const Log10 + const Log2 + const LogicAnd + const LogicOr + const LogicXor + const Lower + const Lpad + const MD5 + const MakeDate + const MakeSet + const MakeTime + const MasterPosWait + const MicroSecond + const Mid + const Minus + const Minute + const Mod + const Month + const MonthName + const Mul + const NE + const NameConst + const Now + const NullEQ + const Nullif + const Oct + const OldPassword + const Or + const Ord + const PI + const PasswordFunc + const PeriodAdd + const PeriodDiff + const Plus + const Position + const Pow + const Power + const Quarter + const Quote + const RTrim + const Radians + const Rand + const RandomBytes + const ReadCommitted + const ReadUncommitted + const Regexp + const ReleaseAllLocks + const ReleaseLock + const Repeat + const RepeatableRead + const Replace + const Reverse + const Right + const RightShift + const Round + const RowCount + const RowFormatCompact + const RowFormatCompressed + const RowFormatDefault + const RowFormatDynamic + const RowFormatFixed + const RowFormatRedundant + const RowFunc + const Rpad + const SHA + const SHA1 + const SHA2 + const Schema + const SecToTime + const Second + const Serializable + const SessionUser + const SetNames + const SetVar + const ShowCharset + const ShowCollation + const ShowColumns + const ShowCreateDatabase + const ShowCreateTable + const ShowDatabases + const ShowEngines + const ShowEvents + const ShowGrants + const ShowIndex + const ShowNone + const ShowPlugins + const ShowProcedureStatus + const ShowProcessList + const ShowStatsBuckets + const ShowStatsHistograms + const ShowStatsMeta + const ShowStatus + const ShowTableStatus + const ShowTables + const ShowTriggers + const ShowVariables + const ShowWarnings + const Sign + const Sin + const Sleep + const Space + const Sqrt + const StrToDate + const Strcmp + const SubDate + const SubTime + const Substr + const Substring + const SubstringIndex + const Sysdate + const SystemUser + const Tan + const TiDBVersion + const Time + const TimeDiff + const TimeFormat + const TimeLiteral + const TimeToSec + const Timestamp + const TimestampAdd + const TimestampDiff + const TimestampLiteral + const ToBase64 + const ToDays + const ToSeconds + const Trim + const Truncate + const UTCDate + const UTCTime + const UTCTimestamp + const UUID + const UUIDShort + const Ucase + const UnaryMinus + const UnaryNot + const UnaryPlus + const Uncompress + const UncompressedLength + const Unhex + const UnixTimestamp + const Upper + const User + const ValidatePasswordStrength + const Values + const Version + const Week + const WeekOfYear + const Weekday + const Xor + const Year + const YearWeek + var ExplainFormats = []string + func HasAggFlag(expr ExprNode) bool + func SetFlag(n Node) + type AdminStmt struct + Tables []*TableName + Tp AdminStmtType + func (n *AdminStmt) Accept(v Visitor) (Node, bool) + type AdminStmtType int + type AggregateFuncExpr struct + Args []ExprNode + Distinct bool + F string + func (n *AggregateFuncExpr) Accept(v Visitor) (Node, bool) + type AlterTableSpec struct + Constraint *Constraint + LockType LockType + Name string + NewColumn *ColumnDef + NewTable *TableName + OldColumnName *ColumnName + Options []*TableOption + Position *ColumnPosition + Tp AlterTableType + func (n *AlterTableSpec) Accept(v Visitor) (Node, bool) + func (n *AlterTableSpec) SetText(text string) + func (n *AlterTableSpec) Text() string + type AlterTableStmt struct + Specs []*AlterTableSpec + Table *TableName + func (n *AlterTableStmt) Accept(v Visitor) (Node, bool) + type AlterTableType int + const AlterTableAddColumn + const AlterTableAddConstraint + const AlterTableAlterColumn + const AlterTableChangeColumn + const AlterTableDropColumn + const AlterTableDropForeignKey + const AlterTableDropIndex + const AlterTableDropPrimaryKey + const AlterTableLock + const AlterTableModifyColumn + const AlterTableOption + const AlterTableRenameTable + type AlterUserStmt struct + CurrentAuth *AuthOption + IfExists bool + Specs []*UserSpec + func (n *AlterUserStmt) Accept(v Visitor) (Node, bool) + func (n *AlterUserStmt) SecureText() string + type AnalyzeTableStmt struct + IndexNames []model.CIStr + TableNames []*TableName + func (n *AnalyzeTableStmt) Accept(v Visitor) (Node, bool) + type Assignment struct + Column *ColumnName + Expr ExprNode + func (n *Assignment) Accept(v Visitor) (Node, bool) + func (n *Assignment) SetText(text string) + func (n *Assignment) Text() string + type AuthOption struct + AuthString string + ByAuthString bool + HashString string + type BeginStmt struct + func (n *BeginStmt) Accept(v Visitor) (Node, bool) + type BetweenExpr struct + Expr ExprNode + Left ExprNode + Not bool + Right ExprNode + func (en *BetweenExpr) GetDatum() *types.Datum + func (en *BetweenExpr) GetFlag() uint64 + func (en *BetweenExpr) GetType() *types.FieldType + func (en *BetweenExpr) SetDatum(datum types.Datum) + func (en *BetweenExpr) SetFlag(flag uint64) + func (en *BetweenExpr) SetType(tp *types.FieldType) + func (n *BetweenExpr) Accept(v Visitor) (Node, bool) + type BinaryOperationExpr struct + L ExprNode + Op opcode.Op + R ExprNode + func (en *BinaryOperationExpr) GetDatum() *types.Datum + func (en *BinaryOperationExpr) GetFlag() uint64 + func (en *BinaryOperationExpr) GetType() *types.FieldType + func (en *BinaryOperationExpr) SetDatum(datum types.Datum) + func (en *BinaryOperationExpr) SetFlag(flag uint64) + func (en *BinaryOperationExpr) SetType(tp *types.FieldType) + func (n *BinaryOperationExpr) Accept(v Visitor) (Node, bool) + type BinlogStmt struct + Str string + func (n *BinlogStmt) Accept(v Visitor) (Node, bool) + type ByItem struct + Desc bool + Expr ExprNode + func (n *ByItem) Accept(v Visitor) (Node, bool) + func (n *ByItem) SetText(text string) + func (n *ByItem) Text() string + type CaseExpr struct + ElseClause ExprNode + Value ExprNode + WhenClauses []*WhenClause + func (en *CaseExpr) GetDatum() *types.Datum + func (en *CaseExpr) GetFlag() uint64 + func (en *CaseExpr) GetType() *types.FieldType + func (en *CaseExpr) SetDatum(datum types.Datum) + func (en *CaseExpr) SetFlag(flag uint64) + func (en *CaseExpr) SetType(tp *types.FieldType) + func (n *CaseExpr) Accept(v Visitor) (Node, bool) + type CastFunctionType int + const CastBinaryOperator + const CastConvertFunction + const CastFunction + type CharsetOpt struct + Chs string + Col string + type ColumnDef struct + Name *ColumnName + Options []*ColumnOption + Tp *types.FieldType + func (n *ColumnDef) Accept(v Visitor) (Node, bool) + func (n *ColumnDef) SetText(text string) + func (n *ColumnDef) Text() string + type ColumnName struct + Name model.CIStr + Schema model.CIStr + Table model.CIStr + func (n *ColumnName) Accept(v Visitor) (Node, bool) + func (n *ColumnName) SetText(text string) + func (n *ColumnName) String() string + func (n *ColumnName) Text() string + type ColumnNameExpr struct + Name *ColumnName + Refer *ResultField + func (en *ColumnNameExpr) GetDatum() *types.Datum + func (en *ColumnNameExpr) GetFlag() uint64 + func (en *ColumnNameExpr) GetType() *types.FieldType + func (en *ColumnNameExpr) SetDatum(datum types.Datum) + func (en *ColumnNameExpr) SetFlag(flag uint64) + func (en *ColumnNameExpr) SetType(tp *types.FieldType) + func (n *ColumnNameExpr) Accept(v Visitor) (Node, bool) + type ColumnOption struct + Expr ExprNode + Stored bool + Tp ColumnOptionType + func (n *ColumnOption) Accept(v Visitor) (Node, bool) + func (n *ColumnOption) SetText(text string) + func (n *ColumnOption) Text() string + type ColumnOptionType int + const ColumnOptionAutoIncrement + const ColumnOptionComment + const ColumnOptionDefaultValue + const ColumnOptionFulltext + const ColumnOptionGenerated + const ColumnOptionNoOption + const ColumnOptionNotNull + const ColumnOptionNull + const ColumnOptionOnUpdate + const ColumnOptionPrimaryKey + const ColumnOptionUniqKey + type ColumnPosition struct + RelativeColumn *ColumnName + Tp ColumnPositionType + func (n *ColumnPosition) Accept(v Visitor) (Node, bool) + func (n *ColumnPosition) SetText(text string) + func (n *ColumnPosition) Text() string + type ColumnPositionType int + const ColumnPositionAfter + const ColumnPositionFirst + const ColumnPositionNone + type CommitStmt struct + func (n *CommitStmt) Accept(v Visitor) (Node, bool) + type CompareSubqueryExpr struct + All bool + L ExprNode + Op opcode.Op + R ExprNode + func (en *CompareSubqueryExpr) GetDatum() *types.Datum + func (en *CompareSubqueryExpr) GetFlag() uint64 + func (en *CompareSubqueryExpr) GetType() *types.FieldType + func (en *CompareSubqueryExpr) SetDatum(datum types.Datum) + func (en *CompareSubqueryExpr) SetFlag(flag uint64) + func (en *CompareSubqueryExpr) SetType(tp *types.FieldType) + func (n *CompareSubqueryExpr) Accept(v Visitor) (Node, bool) + type Constraint struct + Keys []*IndexColName + Name string + Option *IndexOption + Refer *ReferenceDef + Tp ConstraintType + func (n *Constraint) Accept(v Visitor) (Node, bool) + func (n *Constraint) SetText(text string) + func (n *Constraint) Text() string + type ConstraintType int + const ConstraintForeignKey + const ConstraintFulltext + const ConstraintIndex + const ConstraintKey + const ConstraintNoConstraint + const ConstraintPrimaryKey + const ConstraintUniq + const ConstraintUniqIndex + const ConstraintUniqKey + type CreateDatabaseStmt struct + IfNotExists bool + Name string + Options []*DatabaseOption + func (n *CreateDatabaseStmt) Accept(v Visitor) (Node, bool) + type CreateIndexStmt struct + IndexColNames []*IndexColName + IndexName string + IndexOption *IndexOption + Table *TableName + Unique bool + func (n *CreateIndexStmt) Accept(v Visitor) (Node, bool) + type CreateTableStmt struct + Cols []*ColumnDef + Constraints []*Constraint + IfNotExists bool + Options []*TableOption + ReferTable *TableName + Table *TableName + func (n *CreateTableStmt) Accept(v Visitor) (Node, bool) + type CreateUserStmt struct + IfNotExists bool + Specs []*UserSpec + func (n *CreateUserStmt) Accept(v Visitor) (Node, bool) + func (n *CreateUserStmt) SecureText() string + type DDLNode interface + type DMLNode interface + type DatabaseOption struct + Tp DatabaseOptionType + Value string + type DatabaseOptionType int + const DatabaseOptionCharset + const DatabaseOptionCollate + const DatabaseOptionNone + type DateArithType byte + const DateArithAdd + const DateArithSub + type DeallocateStmt struct + Name string + func (n *DeallocateStmt) Accept(v Visitor) (Node, bool) + type DefaultExpr struct + Name *ColumnName + func (en *DefaultExpr) GetDatum() *types.Datum + func (en *DefaultExpr) GetFlag() uint64 + func (en *DefaultExpr) GetType() *types.FieldType + func (en *DefaultExpr) SetDatum(datum types.Datum) + func (en *DefaultExpr) SetFlag(flag uint64) + func (en *DefaultExpr) SetType(tp *types.FieldType) + func (n *DefaultExpr) Accept(v Visitor) (Node, bool) + type DeleteStmt struct + BeforeFrom bool + IgnoreErr bool + IsMultiTable bool + Limit *Limit + LowPriority bool + Order *OrderByClause + Quick bool + TableRefs *TableRefsClause + Tables *DeleteTableList + Where ExprNode + func (n *DeleteStmt) Accept(v Visitor) (Node, bool) + type DeleteTableList struct + Tables []*TableName + func (n *DeleteTableList) Accept(v Visitor) (Node, bool) + func (n *DeleteTableList) SetText(text string) + func (n *DeleteTableList) Text() string + type DoStmt struct + Exprs []ExprNode + func (n *DoStmt) Accept(v Visitor) (Node, bool) + type DropDatabaseStmt struct + IfExists bool + Name string + func (n *DropDatabaseStmt) Accept(v Visitor) (Node, bool) + type DropIndexStmt struct + IfExists bool + IndexName string + Table *TableName + func (n *DropIndexStmt) Accept(v Visitor) (Node, bool) + type DropStatsStmt struct + Table *TableName + func (n *DropStatsStmt) Accept(v Visitor) (Node, bool) + type DropTableStmt struct + IfExists bool + Tables []*TableName + func (n *DropTableStmt) Accept(v Visitor) (Node, bool) + type DropUserStmt struct + IfExists bool + UserList []*auth.UserIdentity + func (n *DropUserStmt) Accept(v Visitor) (Node, bool) + type ExecuteStmt struct + Name string + UsingVars []ExprNode + func (n *ExecuteStmt) Accept(v Visitor) (Node, bool) + type ExistsSubqueryExpr struct + Sel ExprNode + func (en *ExistsSubqueryExpr) GetDatum() *types.Datum + func (en *ExistsSubqueryExpr) GetFlag() uint64 + func (en *ExistsSubqueryExpr) GetType() *types.FieldType + func (en *ExistsSubqueryExpr) SetDatum(datum types.Datum) + func (en *ExistsSubqueryExpr) SetFlag(flag uint64) + func (en *ExistsSubqueryExpr) SetType(tp *types.FieldType) + func (n *ExistsSubqueryExpr) Accept(v Visitor) (Node, bool) + type ExplainStmt struct + Format string + Stmt StmtNode + func (n *ExplainStmt) Accept(v Visitor) (Node, bool) + type ExprNode interface + GetDatum func() *types.Datum + GetFlag func() uint64 + GetType func() *types.FieldType + GetValue func() interface{} + SetDatum func(datum types.Datum) + SetFlag func(flag uint64) + SetType func(tp *types.FieldType) + SetValue func(val interface{}) + type FieldList struct + Fields []*SelectField + func (n *FieldList) Accept(v Visitor) (Node, bool) + func (n *FieldList) SetText(text string) + func (n *FieldList) Text() string + type FieldsClause struct + Enclosed byte + Escaped byte + Terminated string + type FloatOpt struct + Decimal int + Flen int + type FlushStmt struct + NoWriteToBinLog bool + ReadLock bool + Tables []*TableName + Tp FlushStmtType + func (n *FlushStmt) Accept(v Visitor) (Node, bool) + type FlushStmtType int + const FlushNone + const FlushPrivileges + const FlushTables + type FuncCallExpr struct + Args []ExprNode + FnName model.CIStr + func (n *FuncCallExpr) Accept(v Visitor) (Node, bool) + type FuncCastExpr struct + Expr ExprNode + FunctionType CastFunctionType + Tp *types.FieldType + func (n *FuncCastExpr) Accept(v Visitor) (Node, bool) + type FuncNode interface + type GrantLevel struct + DBName string + Level GrantLevelType + TableName string + type GrantLevelType int + const GrantLevelDB + const GrantLevelGlobal + const GrantLevelNone + const GrantLevelTable + type GrantStmt struct + Level *GrantLevel + ObjectType ObjectTypeType + Privs []*PrivElem + Users []*UserSpec + WithGrant bool + func (n *GrantStmt) Accept(v Visitor) (Node, bool) + func (n *GrantStmt) SecureText() string + type GroupByClause struct + Items []*ByItem + func (n *GroupByClause) Accept(v Visitor) (Node, bool) + func (n *GroupByClause) SetText(text string) + func (n *GroupByClause) Text() string + type HavingClause struct + Expr ExprNode + func (n *HavingClause) Accept(v Visitor) (Node, bool) + func (n *HavingClause) SetText(text string) + func (n *HavingClause) Text() string + type Ident struct + Name model.CIStr + Schema model.CIStr + func (i Ident) Full(ctx context.Context) (full Ident) + func (i Ident) String() string + type IndexColName struct + Column *ColumnName + Length int + func (n *IndexColName) Accept(v Visitor) (Node, bool) + func (n *IndexColName) SetText(text string) + func (n *IndexColName) Text() string + type IndexHint struct + HintScope IndexHintScope + HintType IndexHintType + IndexNames []model.CIStr + type IndexHintScope int + const HintForGroupBy + const HintForJoin + const HintForOrderBy + const HintForScan + type IndexHintType int + const HintForce + const HintIgnore + const HintUse + type IndexOption struct + Comment string + KeyBlockSize uint64 + Tp model.IndexType + func (n *IndexOption) Accept(v Visitor) (Node, bool) + func (n *IndexOption) SetText(text string) + func (n *IndexOption) Text() string + type InsertStmt struct + Columns []*ColumnName + IgnoreErr bool + IsReplace bool + Lists [][]ExprNode + OnDuplicate []*Assignment + Priority mysql.PriorityEnum + Select ResultSetNode + Setlist []*Assignment + Table *TableRefsClause + func (n *InsertStmt) Accept(v Visitor) (Node, bool) + type IsNullExpr struct + Expr ExprNode + Not bool + func (en *IsNullExpr) GetDatum() *types.Datum + func (en *IsNullExpr) GetFlag() uint64 + func (en *IsNullExpr) GetType() *types.FieldType + func (en *IsNullExpr) SetDatum(datum types.Datum) + func (en *IsNullExpr) SetFlag(flag uint64) + func (en *IsNullExpr) SetType(tp *types.FieldType) + func (n *IsNullExpr) Accept(v Visitor) (Node, bool) + type IsTruthExpr struct + Expr ExprNode + Not bool + True int64 + func (en *IsTruthExpr) GetDatum() *types.Datum + func (en *IsTruthExpr) GetFlag() uint64 + func (en *IsTruthExpr) GetType() *types.FieldType + func (en *IsTruthExpr) SetDatum(datum types.Datum) + func (en *IsTruthExpr) SetFlag(flag uint64) + func (en *IsTruthExpr) SetType(tp *types.FieldType) + func (n *IsTruthExpr) Accept(v Visitor) (Node, bool) + type Join struct + Left ResultSetNode + NaturalJoin bool + On *OnCondition + Right ResultSetNode + Tp JoinType + Using []*ColumnName + func (n *Join) Accept(v Visitor) (Node, bool) + func (n *Join) SetText(text string) + func (n *Join) Text() string + func (rs *Join) GetResultFields() []*ResultField + func (rs *Join) SetResultFields(rfs []*ResultField) + type JoinType int + const CrossJoin + const LeftJoin + const RightJoin + type KillStmt struct + ConnectionID uint64 + Query bool + TiDBExtension bool + func (n *KillStmt) Accept(v Visitor) (Node, bool) + type Limit struct + Count ExprNode + Offset ExprNode + func (n *Limit) Accept(v Visitor) (Node, bool) + func (n *Limit) SetText(text string) + func (n *Limit) Text() string + type LinesClause struct + Starting string + Terminated string + type LoadDataStmt struct + Columns []*ColumnName + FieldsInfo *FieldsClause + IsLocal bool + LinesInfo *LinesClause + Path string + Table *TableName + func (n *LoadDataStmt) Accept(v Visitor) (Node, bool) + type LockType byte + const LockTypeDefault + const LockTypeExclusive + const LockTypeNone + const LockTypeShared + type Node interface + Accept func(v Visitor) (node Node, ok bool) + SetText func(text string) + Text func() string + type ObjectTypeType int + const ObjectTypeNone + const ObjectTypeTable + type OnCondition struct + Expr ExprNode + func (n *OnCondition) Accept(v Visitor) (Node, bool) + func (n *OnCondition) SetText(text string) + func (n *OnCondition) Text() string + type OnDeleteOpt struct + ReferOpt ReferOptionType + func (n *OnDeleteOpt) Accept(v Visitor) (Node, bool) + func (n *OnDeleteOpt) SetText(text string) + func (n *OnDeleteOpt) Text() string + type OnUpdateOpt struct + ReferOpt ReferOptionType + func (n *OnUpdateOpt) Accept(v Visitor) (Node, bool) + func (n *OnUpdateOpt) SetText(text string) + func (n *OnUpdateOpt) Text() string + type OrderByClause struct + ForUnion bool + Items []*ByItem + func (n *OrderByClause) Accept(v Visitor) (Node, bool) + func (n *OrderByClause) SetText(text string) + func (n *OrderByClause) Text() string + type ParamMarkerExpr struct + Offset int + func (en *ParamMarkerExpr) GetDatum() *types.Datum + func (en *ParamMarkerExpr) GetFlag() uint64 + func (en *ParamMarkerExpr) GetType() *types.FieldType + func (en *ParamMarkerExpr) SetDatum(datum types.Datum) + func (en *ParamMarkerExpr) SetFlag(flag uint64) + func (en *ParamMarkerExpr) SetType(tp *types.FieldType) + func (n *ParamMarkerExpr) Accept(v Visitor) (Node, bool) + type ParenthesesExpr struct + Expr ExprNode + func (en *ParenthesesExpr) GetDatum() *types.Datum + func (en *ParenthesesExpr) GetFlag() uint64 + func (en *ParenthesesExpr) GetType() *types.FieldType + func (en *ParenthesesExpr) SetDatum(datum types.Datum) + func (en *ParenthesesExpr) SetFlag(flag uint64) + func (en *ParenthesesExpr) SetType(tp *types.FieldType) + func (n *ParenthesesExpr) Accept(v Visitor) (Node, bool) + type PatternInExpr struct + Expr ExprNode + List []ExprNode + Not bool + Sel ExprNode + func (en *PatternInExpr) GetDatum() *types.Datum + func (en *PatternInExpr) GetFlag() uint64 + func (en *PatternInExpr) GetType() *types.FieldType + func (en *PatternInExpr) SetDatum(datum types.Datum) + func (en *PatternInExpr) SetFlag(flag uint64) + func (en *PatternInExpr) SetType(tp *types.FieldType) + func (n *PatternInExpr) Accept(v Visitor) (Node, bool) + type PatternLikeExpr struct + Escape byte + Expr ExprNode + Not bool + PatChars []byte + PatTypes []byte + Pattern ExprNode + func (en *PatternLikeExpr) GetDatum() *types.Datum + func (en *PatternLikeExpr) GetFlag() uint64 + func (en *PatternLikeExpr) GetType() *types.FieldType + func (en *PatternLikeExpr) SetDatum(datum types.Datum) + func (en *PatternLikeExpr) SetFlag(flag uint64) + func (en *PatternLikeExpr) SetType(tp *types.FieldType) + func (n *PatternLikeExpr) Accept(v Visitor) (Node, bool) + type PatternRegexpExpr struct + Expr ExprNode + Not bool + Pattern ExprNode + Re *regexp.Regexp + Sexpr *string + func (en *PatternRegexpExpr) GetDatum() *types.Datum + func (en *PatternRegexpExpr) GetFlag() uint64 + func (en *PatternRegexpExpr) GetType() *types.FieldType + func (en *PatternRegexpExpr) SetDatum(datum types.Datum) + func (en *PatternRegexpExpr) SetFlag(flag uint64) + func (en *PatternRegexpExpr) SetType(tp *types.FieldType) + func (n *PatternRegexpExpr) Accept(v Visitor) (Node, bool) + type PositionExpr struct + N int + Refer *ResultField + func (en *PositionExpr) GetDatum() *types.Datum + func (en *PositionExpr) GetFlag() uint64 + func (en *PositionExpr) GetType() *types.FieldType + func (en *PositionExpr) SetDatum(datum types.Datum) + func (en *PositionExpr) SetFlag(flag uint64) + func (en *PositionExpr) SetType(tp *types.FieldType) + func (n *PositionExpr) Accept(v Visitor) (Node, bool) + type PrepareStmt struct + Name string + SQLText string + SQLVar *VariableExpr + func (n *PrepareStmt) Accept(v Visitor) (Node, bool) + type PrivElem struct + Cols []*ColumnName + Priv mysql.PrivilegeType + func (n *PrivElem) Accept(v Visitor) (Node, bool) + func (n *PrivElem) SetText(text string) + func (n *PrivElem) Text() string + type RecordSet interface + Close func() error + Fields func() (fields []*ResultField, err error) + Next func() (row *Row, err error) + type ReferOptionType int + const ReferOptionCascade + const ReferOptionNoAction + const ReferOptionNoOption + const ReferOptionRestrict + const ReferOptionSetNull + func (r ReferOptionType) String() string + type ReferenceDef struct + IndexColNames []*IndexColName + OnDelete *OnDeleteOpt + OnUpdate *OnUpdateOpt + Table *TableName + func (n *ReferenceDef) Accept(v Visitor) (Node, bool) + func (n *ReferenceDef) SetText(text string) + func (n *ReferenceDef) Text() string + type RenameTableStmt struct + NewTable *TableName + OldTable *TableName + TableToTables []*TableToTable + func (n *RenameTableStmt) Accept(v Visitor) (Node, bool) + type ResultField struct + Column *model.ColumnInfo + ColumnAsName model.CIStr + DBName model.CIStr + Expr ExprNode + Referenced bool + Table *model.TableInfo + TableAsName model.CIStr + TableName *TableName + type ResultSetNode interface + GetResultFields func() []*ResultField + SetResultFields func(fields []*ResultField) + type RevokeStmt struct + Level *GrantLevel + ObjectType ObjectTypeType + Privs []*PrivElem + Users []*UserSpec + func (n *RevokeStmt) Accept(v Visitor) (Node, bool) + type RollbackStmt struct + func (n *RollbackStmt) Accept(v Visitor) (Node, bool) + type Row struct + Data []types.Datum + type RowExpr struct + Values []ExprNode + func (en *RowExpr) GetDatum() *types.Datum + func (en *RowExpr) GetFlag() uint64 + func (en *RowExpr) GetType() *types.FieldType + func (en *RowExpr) SetDatum(datum types.Datum) + func (en *RowExpr) SetFlag(flag uint64) + func (en *RowExpr) SetType(tp *types.FieldType) + func (n *RowExpr) Accept(v Visitor) (Node, bool) + type SelectField struct + AsName model.CIStr + Auxiliary bool + Expr ExprNode + Offset int + WildCard *WildCardField + func (n *SelectField) Accept(v Visitor) (Node, bool) + func (n *SelectField) SetText(text string) + func (n *SelectField) Text() string + type SelectLockType int + const SelectLockForUpdate + const SelectLockInShareMode + const SelectLockNone + func (slt SelectLockType) String() string + type SelectStmt struct + Distinct bool + Fields *FieldList + From *TableRefsClause + GroupBy *GroupByClause + Having *HavingClause + Limit *Limit + LockTp SelectLockType + OrderBy *OrderByClause + TableHints []*TableOptimizerHint + Where ExprNode + func (n *SelectStmt) Accept(v Visitor) (Node, bool) + func (rs *SelectStmt) GetResultFields() []*ResultField + func (rs *SelectStmt) SetResultFields(rfs []*ResultField) + type SelectStmtOpts struct + CalcFoundRows bool + Distinct bool + Priority mysql.PriorityEnum + SQLCache bool + TableHints []*TableOptimizerHint + type SensitiveStmtNode interface + SecureText func() string + type SetPwdStmt struct + Password string + User *auth.UserIdentity + func (n *SetPwdStmt) Accept(v Visitor) (Node, bool) + func (n *SetPwdStmt) SecureText() string + type SetStmt struct + Variables []*VariableAssignment + func (n *SetStmt) Accept(v Visitor) (Node, bool) + type ShowStmt struct + Column *ColumnName + DBName string + Flag int + Full bool + GlobalScope bool + Pattern *PatternLikeExpr + Table *TableName + Tp ShowStmtType + User *auth.UserIdentity + Where ExprNode + func (n *ShowStmt) Accept(v Visitor) (Node, bool) + func (rs *ShowStmt) GetResultFields() []*ResultField + func (rs *ShowStmt) SetResultFields(rfs []*ResultField) + type ShowStmtType int + type Statement interface + Exec func(ctx context.Context) (RecordSet, error) + IsPrepared func() bool + OriginText func() string + type StmtNode interface + type SubqueryExec interface + ColumnCount func() (int, error) + EvalRows func(ctx context.Context, rowCount int) ([]types.Datum, error) + type SubqueryExpr struct + Correlated bool + Evaluated bool + Exists bool + MultiRows bool + Query ResultSetNode + SubqueryExec SubqueryExec + func (en *SubqueryExpr) GetDatum() *types.Datum + func (en *SubqueryExpr) GetFlag() uint64 + func (en *SubqueryExpr) GetType() *types.FieldType + func (en *SubqueryExpr) SetDatum(datum types.Datum) + func (en *SubqueryExpr) SetFlag(flag uint64) + func (en *SubqueryExpr) SetType(tp *types.FieldType) + func (n *SubqueryExpr) Accept(v Visitor) (Node, bool) + func (n *SubqueryExpr) GetResultFields() []*ResultField + func (n *SubqueryExpr) SetResultFields(rfs []*ResultField) + type TableName struct + DBInfo *model.DBInfo + IndexHints []*IndexHint + Name model.CIStr + Schema model.CIStr + TableInfo *model.TableInfo + func (n *TableName) Accept(v Visitor) (Node, bool) + func (n *TableName) SetText(text string) + func (n *TableName) Text() string + func (rs *TableName) GetResultFields() []*ResultField + func (rs *TableName) SetResultFields(rfs []*ResultField) + type TableOptimizerHint struct + HintName model.CIStr + Tables []model.CIStr + func (n *TableOptimizerHint) Accept(v Visitor) (Node, bool) + func (n *TableOptimizerHint) SetText(text string) + func (n *TableOptimizerHint) Text() string + type TableOption struct + StrValue string + Tp TableOptionType + UintValue uint64 + type TableOptionType int + const TableOptionAutoIncrement + const TableOptionAvgRowLength + const TableOptionCharset + const TableOptionCheckSum + const TableOptionCollate + const TableOptionComment + const TableOptionCompression + const TableOptionConnection + const TableOptionDelayKeyWrite + const TableOptionEngine + const TableOptionKeyBlockSize + const TableOptionMaxRows + const TableOptionMinRows + const TableOptionNone + const TableOptionPassword + const TableOptionRowFormat + const TableOptionStatsPersistent + type TableRefsClause struct + TableRefs *Join + func (n *TableRefsClause) Accept(v Visitor) (Node, bool) + func (n *TableRefsClause) SetText(text string) + func (n *TableRefsClause) Text() string + type TableSource struct + AsName model.CIStr + Source ResultSetNode + func (n *TableSource) Accept(v Visitor) (Node, bool) + func (n *TableSource) GetResultFields() []*ResultField + func (n *TableSource) SetResultFields(rfs []*ResultField) + func (n *TableSource) SetText(text string) + func (n *TableSource) Text() string + type TableToTable struct + NewTable *TableName + OldTable *TableName + func (n *TableToTable) Accept(v Visitor) (Node, bool) + func (n *TableToTable) SetText(text string) + func (n *TableToTable) Text() string + type TrimDirectionType int + const TrimBoth + const TrimBothDefault + const TrimLeading + const TrimTrailing + type TruncateTableStmt struct + Table *TableName + func (n *TruncateTableStmt) Accept(v Visitor) (Node, bool) + type TypeOpt struct + IsUnsigned bool + IsZerofill bool + type UnaryOperationExpr struct + Op opcode.Op + V ExprNode + func (en *UnaryOperationExpr) GetDatum() *types.Datum + func (en *UnaryOperationExpr) GetFlag() uint64 + func (en *UnaryOperationExpr) GetType() *types.FieldType + func (en *UnaryOperationExpr) SetDatum(datum types.Datum) + func (en *UnaryOperationExpr) SetFlag(flag uint64) + func (en *UnaryOperationExpr) SetType(tp *types.FieldType) + func (n *UnaryOperationExpr) Accept(v Visitor) (Node, bool) + type UnionSelectList struct + Selects []*SelectStmt + func (n *UnionSelectList) Accept(v Visitor) (Node, bool) + func (n *UnionSelectList) SetText(text string) + func (n *UnionSelectList) Text() string + type UnionStmt struct + Distinct bool + Limit *Limit + OrderBy *OrderByClause + SelectList *UnionSelectList + func (n *UnionStmt) Accept(v Visitor) (Node, bool) + func (rs *UnionStmt) GetResultFields() []*ResultField + func (rs *UnionStmt) SetResultFields(rfs []*ResultField) + type UpdateStmt struct + IgnoreErr bool + Limit *Limit + List []*Assignment + LowPriority bool + MultipleTable bool + Order *OrderByClause + TableRefs *TableRefsClause + Where ExprNode + func (n *UpdateStmt) Accept(v Visitor) (Node, bool) + type UseStmt struct + DBName string + func (n *UseStmt) Accept(v Visitor) (Node, bool) + type UserSpec struct + AuthOpt *AuthOption + User *auth.UserIdentity + func (u *UserSpec) SecurityString() string + type ValueExpr struct + func NewValueExpr(value interface{}) *ValueExpr + func (en *ValueExpr) GetDatum() *types.Datum + func (en *ValueExpr) GetFlag() uint64 + func (en *ValueExpr) GetType() *types.FieldType + func (en *ValueExpr) SetDatum(datum types.Datum) + func (en *ValueExpr) SetFlag(flag uint64) + func (en *ValueExpr) SetType(tp *types.FieldType) + func (n *ValueExpr) Accept(v Visitor) (Node, bool) + func (n *ValueExpr) GetProjectionOffset() int + func (n *ValueExpr) SetProjectionOffset(offset int) + type ValuesExpr struct + Column *ColumnNameExpr + func (en *ValuesExpr) GetDatum() *types.Datum + func (en *ValuesExpr) GetFlag() uint64 + func (en *ValuesExpr) GetType() *types.FieldType + func (en *ValuesExpr) SetDatum(datum types.Datum) + func (en *ValuesExpr) SetFlag(flag uint64) + func (en *ValuesExpr) SetType(tp *types.FieldType) + func (n *ValuesExpr) Accept(v Visitor) (Node, bool) + type VariableAssignment struct + ExtendValue *ValueExpr + IsGlobal bool + IsSystem bool + Name string + Value ExprNode + func (n *VariableAssignment) Accept(v Visitor) (Node, bool) + func (n *VariableAssignment) SetText(text string) + func (n *VariableAssignment) Text() string + type VariableExpr struct + IsGlobal bool + IsSystem bool + Name string + Value ExprNode + func (en *VariableExpr) GetDatum() *types.Datum + func (en *VariableExpr) GetFlag() uint64 + func (en *VariableExpr) GetType() *types.FieldType + func (en *VariableExpr) SetDatum(datum types.Datum) + func (en *VariableExpr) SetFlag(flag uint64) + func (en *VariableExpr) SetType(tp *types.FieldType) + func (n *VariableExpr) Accept(v Visitor) (Node, bool) + type Visitor interface + Enter func(n Node) (node Node, skipChildren bool) + Leave func(n Node) (node Node, ok bool) + type WhenClause struct + Expr ExprNode + Result ExprNode + func (n *WhenClause) Accept(v Visitor) (Node, bool) + func (n *WhenClause) SetText(text string) + func (n *WhenClause) Text() string + type WildCardField struct + Schema model.CIStr + Table model.CIStr + func (n *WildCardField) Accept(v Visitor) (Node, bool) + func (n *WildCardField) SetText(text string) + func (n *WildCardField) Text() string