Versions in this module Expand all Collapse all v1 v1.0.0 May 24, 2019 Changes in this version + const ASCII + const Abs + const Acos + const AddDate + const AddTime + const AdminCancelDDLJobs + const AdminCheckIndex + const AdminCheckIndexRange + const AdminCheckTable + const AdminChecksumTable + const AdminCleanupIndex + const AdminRecoverIndex + const AdminRestoreTable + const AdminShowDDL + const AdminShowDDLJobQueries + const AdminShowDDLJobs + const AdminShowNextRowID + const AdminShowSlow + const AesDecrypt + const AesEncrypt + const AggFuncAvg + const AggFuncBitAnd + const AggFuncBitOr + const AggFuncBitXor + const AggFuncCount + const AggFuncFirstRow + const AggFuncGroupConcat + const AggFuncMax + const AggFuncMin + const AggFuncStddevPop + const AggFuncStddevSamp + const AggFuncSum + const AggFuncVarPop + const AggFuncVarSamp + 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 CurrentRow + 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 FlagHasWindowFunc + const FlagPreEvaluated + const Floor + const Following + const Format + const FoundRows + const FromBase64 + const FromDays + const FromUnixTime + const GE + const GT + const GetFormat + const GetLock + const GetParam + const GetVar + const Greatest + const Groups + 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 JSONArrayAppend + const JSONArrayInsert + const JSONContains + const JSONContainsPath + const JSONDepth + const JSONExtract + const JSONInsert + const JSONKeys + const JSONLength + const JSONMerge + const JSONMergePatch + const JSONMergePreserve + const JSONObject + const JSONPretty + const JSONQuote + const JSONRemove + const JSONReplace + const JSONSearch + const JSONSet + const JSONStorageSize + 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 Preceding + const Quarter + const Quote + const RTrim + const Radians + const Rand + const RandomBytes + const Ranges + 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 Rows + const Rpad + const SHA + const SHA1 + const SHA2 + const Schema + const SecToTime + const Second + const Serializable + const SessionUser + const SetNames + const SetVar + const ShowBindings + const ShowCharset + const ShowCollation + const ShowColumns + const ShowCreateDatabase + const ShowCreateTable + const ShowCreateUser + const ShowCreateView + const ShowDatabases + const ShowDrainerStatus + const ShowEngines + const ShowErrors + const ShowEvents + const ShowGrants + const ShowIndex + const ShowMasterStatus + const ShowNone + const ShowPlugins + const ShowPrivileges + const ShowProcedureStatus + const ShowProcessList + const ShowProfiles + const ShowPumpStatus + const ShowStatsBuckets + const ShowStatsHealthy + 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 TiDBIsDDLOwner + const TiDBParseTso + 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 WindowFuncCumeDist + const WindowFuncDenseRank + const WindowFuncFirstValue + const WindowFuncLag + const WindowFuncLastValue + const WindowFuncLead + const WindowFuncNthValue + const WindowFuncNtile + const WindowFuncPercentRank + const WindowFuncRank + const WindowFuncRowNumber + const Xor + const Year + const YearWeek + var ExplainFormats = []string + var NewBitLiteral func(string) (interface{}, error) + var NewDecimal func(string) (interface{}, error) + var NewHexLiteral func(string) (interface{}, error) + var NewParamMarkerExpr func(offset int) ParamMarkerExpr + var NewValueExpr func(interface{}) ValueExpr + func HasAggFlag(expr ExprNode) bool + func HasWindowFlag(expr ExprNode) bool + func IsReadOnly(node Node) bool + func SetFlag(n Node) + type AdminStmt struct + HandleRanges []HandleRange + Index string + JobIDs []int64 + JobNumber int64 + ShowSlow *ShowSlow + Tables []*TableName + Tp AdminStmtType + func (n *AdminStmt) Accept(v Visitor) (Node, bool) + func (n *AdminStmt) Restore(ctx *format.RestoreCtx) error + type AdminStmtType int + type AggregateFuncExpr struct + Args []ExprNode + Distinct bool + F string + func (n *AggregateFuncExpr) Accept(v Visitor) (Node, bool) + func (n *AggregateFuncExpr) Format(w io.Writer) + func (n *AggregateFuncExpr) Restore(ctx *format.RestoreCtx) error + type AlterAlgorithm byte + const AlterAlgorithmCopy + const AlterAlgorithmDefault + const AlterAlgorithmInplace + const AlterAlgorithmInstant + func (a AlterAlgorithm) String() string + type AlterTableSpec struct + Algorithm AlterAlgorithm + Comment string + Constraint *Constraint + FromKey model.CIStr + LockType LockType + Name string + NewColumns []*ColumnDef + NewTable *TableName + Num uint64 + OldColumnName *ColumnName + Options []*TableOption + PartDefinitions []*PartitionDefinition + Position *ColumnPosition + ToKey model.CIStr + Tp AlterTableType + func (n *AlterTableSpec) Accept(v Visitor) (Node, bool) + func (n *AlterTableSpec) Restore(ctx *format.RestoreCtx) error + 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) + func (n *AlterTableStmt) Restore(ctx *format.RestoreCtx) error + type AlterTableType int + const AlterTableAddColumns + const AlterTableAddConstraint + const AlterTableAddPartitions + const AlterTableAlgorithm + const AlterTableAlterColumn + const AlterTableChangeColumn + const AlterTableCoalescePartitions + const AlterTableDropColumn + const AlterTableDropForeignKey + const AlterTableDropIndex + const AlterTableDropPartition + const AlterTableDropPrimaryKey + const AlterTableForce + const AlterTableLock + const AlterTableModifyColumn + const AlterTableOption + const AlterTableRenameIndex + const AlterTableRenameTable + const AlterTableTruncatePartition + type AlterUserStmt struct + CurrentAuth *AuthOption + IfExists bool + Specs []*UserSpec + func (n *AlterUserStmt) Accept(v Visitor) (Node, bool) + func (n *AlterUserStmt) Restore(ctx *format.RestoreCtx) error + func (n *AlterUserStmt) SecureText() string + type AnalyzeTableStmt struct + IndexFlag bool + IndexNames []model.CIStr + MaxNumBuckets uint64 + PartitionNames []model.CIStr + TableNames []*TableName + func (n *AnalyzeTableStmt) Accept(v Visitor) (Node, bool) + func (n *AnalyzeTableStmt) Restore(ctx *format.RestoreCtx) error + type Assignment struct + Column *ColumnName + Expr ExprNode + func (n *Assignment) Accept(v Visitor) (Node, bool) + func (n *Assignment) Restore(ctx *format.RestoreCtx) error + func (n *Assignment) SetText(text string) + func (n *Assignment) Text() string + type AuthOption struct + AuthString string + ByAuthString bool + HashString string + func (n *AuthOption) Restore(ctx *format.RestoreCtx) error + type BeginStmt struct + func (n *BeginStmt) Accept(v Visitor) (Node, bool) + func (n *BeginStmt) Restore(ctx *format.RestoreCtx) error + type BetweenExpr struct + Expr ExprNode + Left ExprNode + Not bool + Right ExprNode + func (en *BetweenExpr) GetFlag() uint64 + func (en *BetweenExpr) GetType() *types.FieldType + func (en *BetweenExpr) SetFlag(flag uint64) + func (en *BetweenExpr) SetType(tp *types.FieldType) + func (n *BetweenExpr) Accept(v Visitor) (Node, bool) + func (n *BetweenExpr) Format(w io.Writer) + func (n *BetweenExpr) Restore(ctx *format.RestoreCtx) error + type BinaryOperationExpr struct + L ExprNode + Op opcode.Op + R ExprNode + func (en *BinaryOperationExpr) GetFlag() uint64 + func (en *BinaryOperationExpr) GetType() *types.FieldType + func (en *BinaryOperationExpr) SetFlag(flag uint64) + func (en *BinaryOperationExpr) SetType(tp *types.FieldType) + func (n *BinaryOperationExpr) Accept(v Visitor) (Node, bool) + func (n *BinaryOperationExpr) Format(w io.Writer) + func (n *BinaryOperationExpr) Restore(ctx *format.RestoreCtx) error + type BinlogStmt struct + Str string + func (n *BinlogStmt) Accept(v Visitor) (Node, bool) + func (n *BinlogStmt) Restore(ctx *format.RestoreCtx) error + type BoundType int + type ByItem struct + Desc bool + Expr ExprNode + func (n *ByItem) Accept(v Visitor) (Node, bool) + func (n *ByItem) Restore(ctx *format.RestoreCtx) error + func (n *ByItem) SetText(text string) + func (n *ByItem) Text() string + type CaseExpr struct + ElseClause ExprNode + Value ExprNode + WhenClauses []*WhenClause + func (en *CaseExpr) GetFlag() uint64 + func (en *CaseExpr) GetType() *types.FieldType + func (en *CaseExpr) SetFlag(flag uint64) + func (en *CaseExpr) SetType(tp *types.FieldType) + func (n *CaseExpr) Accept(v Visitor) (Node, bool) + func (n *CaseExpr) Format(w io.Writer) + func (n *CaseExpr) Restore(ctx *format.RestoreCtx) error + 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) Restore(ctx *format.RestoreCtx) error + 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) OrigColName() (ret string) + func (n *ColumnName) Restore(ctx *format.RestoreCtx) error + 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) GetFlag() uint64 + func (en *ColumnNameExpr) GetType() *types.FieldType + func (en *ColumnNameExpr) SetFlag(flag uint64) + func (en *ColumnNameExpr) SetType(tp *types.FieldType) + func (n *ColumnNameExpr) Accept(v Visitor) (Node, bool) + func (n *ColumnNameExpr) Format(w io.Writer) + func (n *ColumnNameExpr) Restore(ctx *format.RestoreCtx) error + type ColumnOption struct + Expr ExprNode + Refer *ReferenceDef + Stored bool + Tp ColumnOptionType + func (n *ColumnOption) Accept(v Visitor) (Node, bool) + func (n *ColumnOption) Restore(ctx *format.RestoreCtx) error + 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 ColumnOptionReference + const ColumnOptionUniqKey + type ColumnPosition struct + RelativeColumn *ColumnName + Tp ColumnPositionType + func (n *ColumnPosition) Accept(v Visitor) (Node, bool) + func (n *ColumnPosition) Restore(ctx *format.RestoreCtx) error + 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) + func (n *CommitStmt) Restore(ctx *format.RestoreCtx) error + type CompareSubqueryExpr struct + All bool + L ExprNode + Op opcode.Op + R ExprNode + func (en *CompareSubqueryExpr) GetFlag() uint64 + func (en *CompareSubqueryExpr) GetType() *types.FieldType + func (en *CompareSubqueryExpr) SetFlag(flag uint64) + func (en *CompareSubqueryExpr) SetType(tp *types.FieldType) + func (n *CompareSubqueryExpr) Accept(v Visitor) (Node, bool) + func (n *CompareSubqueryExpr) Format(w io.Writer) + func (n *CompareSubqueryExpr) Restore(ctx *format.RestoreCtx) error + type Constraint struct + Keys []*IndexColName + Name string + Option *IndexOption + Refer *ReferenceDef + Tp ConstraintType + func (n *Constraint) Accept(v Visitor) (Node, bool) + func (n *Constraint) Restore(ctx *format.RestoreCtx) error + 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 CreateBindingStmt struct + GlobalScope bool + HintedSel StmtNode + OriginSel StmtNode + func (n *CreateBindingStmt) Accept(v Visitor) (Node, bool) + func (n *CreateBindingStmt) Restore(ctx *format.RestoreCtx) error + type CreateDatabaseStmt struct + IfNotExists bool + Name string + Options []*DatabaseOption + func (n *CreateDatabaseStmt) Accept(v Visitor) (Node, bool) + func (n *CreateDatabaseStmt) Restore(ctx *format.RestoreCtx) error + type CreateIndexStmt struct + IndexColNames []*IndexColName + IndexName string + IndexOption *IndexOption + Table *TableName + Unique bool + func (n *CreateIndexStmt) Accept(v Visitor) (Node, bool) + func (n *CreateIndexStmt) Restore(ctx *format.RestoreCtx) error + type CreateTableStmt struct + Cols []*ColumnDef + Constraints []*Constraint + IfNotExists bool + OnDuplicate OnDuplicateCreateTableSelectType + Options []*TableOption + Partition *PartitionOptions + ReferTable *TableName + Select ResultSetNode + Table *TableName + func (n *CreateTableStmt) Accept(v Visitor) (Node, bool) + func (n *CreateTableStmt) Restore(ctx *format.RestoreCtx) error + type CreateUserStmt struct + IfNotExists bool + IsCreateRole bool + Specs []*UserSpec + func (n *CreateUserStmt) Accept(v Visitor) (Node, bool) + func (n *CreateUserStmt) Restore(ctx *format.RestoreCtx) error + func (n *CreateUserStmt) SecureText() string + type CreateViewStmt struct + Algorithm model.ViewAlgorithm + CheckOption model.ViewCheckOption + Cols []model.CIStr + Definer *auth.UserIdentity + OrReplace bool + Security model.ViewSecurity + Select StmtNode + ViewName *TableName + func (n *CreateViewStmt) Accept(v Visitor) (Node, bool) + func (n *CreateViewStmt) Restore(ctx *format.RestoreCtx) error + type DDLNode interface + type DMLNode interface + type DatabaseOption struct + Tp DatabaseOptionType + Value string + func (n *DatabaseOption) Restore(ctx *format.RestoreCtx) error + 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) + func (n *DeallocateStmt) Restore(ctx *format.RestoreCtx) error + type DefaultExpr struct + Name *ColumnName + func (en *DefaultExpr) GetFlag() uint64 + func (en *DefaultExpr) GetType() *types.FieldType + func (en *DefaultExpr) SetFlag(flag uint64) + func (en *DefaultExpr) SetType(tp *types.FieldType) + func (n *DefaultExpr) Accept(v Visitor) (Node, bool) + func (n *DefaultExpr) Format(w io.Writer) + func (n *DefaultExpr) Restore(ctx *format.RestoreCtx) error + type DeleteStmt struct + BeforeFrom bool + IgnoreErr bool + IsMultiTable bool + Limit *Limit + Order *OrderByClause + Priority mysql.PriorityEnum + Quick bool + TableHints []*TableOptimizerHint + TableRefs *TableRefsClause + Tables *DeleteTableList + Where ExprNode + func (n *DeleteStmt) Accept(v Visitor) (Node, bool) + func (n *DeleteStmt) Restore(ctx *format.RestoreCtx) error + type DeleteTableList struct + Tables []*TableName + func (n *DeleteTableList) Accept(v Visitor) (Node, bool) + func (n *DeleteTableList) Restore(ctx *format.RestoreCtx) error + func (n *DeleteTableList) SetText(text string) + func (n *DeleteTableList) Text() string + type DoStmt struct + Exprs []ExprNode + func (n *DoStmt) Accept(v Visitor) (Node, bool) + func (n *DoStmt) Restore(ctx *format.RestoreCtx) error + type DropBindingStmt struct + GlobalScope bool + OriginSel StmtNode + func (n *DropBindingStmt) Accept(v Visitor) (Node, bool) + func (n *DropBindingStmt) Restore(ctx *format.RestoreCtx) error + type DropDatabaseStmt struct + IfExists bool + Name string + func (n *DropDatabaseStmt) Accept(v Visitor) (Node, bool) + func (n *DropDatabaseStmt) Restore(ctx *format.RestoreCtx) error + type DropIndexStmt struct + IfExists bool + IndexName string + Table *TableName + func (n *DropIndexStmt) Accept(v Visitor) (Node, bool) + func (n *DropIndexStmt) Restore(ctx *format.RestoreCtx) error + type DropStatsStmt struct + Table *TableName + func (n *DropStatsStmt) Accept(v Visitor) (Node, bool) + func (n *DropStatsStmt) Restore(ctx *format.RestoreCtx) error + type DropTableStmt struct + IfExists bool + IsView bool + Tables []*TableName + func (n *DropTableStmt) Accept(v Visitor) (Node, bool) + func (n *DropTableStmt) Restore(ctx *format.RestoreCtx) error + type DropUserStmt struct + IfExists bool + UserList []*auth.UserIdentity + func (n *DropUserStmt) Accept(v Visitor) (Node, bool) + func (n *DropUserStmt) Restore(ctx *format.RestoreCtx) error + type ExecuteStmt struct + ExecID uint32 + Name string + UsingVars []ExprNode + func (n *ExecuteStmt) Accept(v Visitor) (Node, bool) + func (n *ExecuteStmt) Restore(ctx *format.RestoreCtx) error + type ExistsSubqueryExpr struct + Not bool + Sel ExprNode + func (en *ExistsSubqueryExpr) GetFlag() uint64 + func (en *ExistsSubqueryExpr) GetType() *types.FieldType + func (en *ExistsSubqueryExpr) SetFlag(flag uint64) + func (en *ExistsSubqueryExpr) SetType(tp *types.FieldType) + func (n *ExistsSubqueryExpr) Accept(v Visitor) (Node, bool) + func (n *ExistsSubqueryExpr) Format(w io.Writer) + func (n *ExistsSubqueryExpr) Restore(ctx *format.RestoreCtx) error + type ExplainStmt struct + Analyze bool + Format string + Stmt StmtNode + func (n *ExplainStmt) Accept(v Visitor) (Node, bool) + func (n *ExplainStmt) Restore(ctx *format.RestoreCtx) error + type ExprNode interface + Format func(w io.Writer) + GetFlag func() uint64 + GetType func() *types.FieldType + SetFlag func(flag uint64) + SetType func(tp *types.FieldType) + type FieldList struct + Fields []*SelectField + func (n *FieldList) Accept(v Visitor) (Node, bool) + func (n *FieldList) Restore(ctx *format.RestoreCtx) error + func (n *FieldList) SetText(text string) + func (n *FieldList) Text() string + type FieldsClause struct + Enclosed byte + Escaped byte + Terminated string + func (n *FieldsClause) Restore(ctx *format.RestoreCtx) error + type FloatOpt struct + Decimal int + Flen int + type FlushStmt struct + NoWriteToBinLog bool + Plugins []string + ReadLock bool + Tables []*TableName + Tp FlushStmtType + func (n *FlushStmt) Accept(v Visitor) (Node, bool) + func (n *FlushStmt) Restore(ctx *format.RestoreCtx) error + type FlushStmtType int + const FlushNone + const FlushPrivileges + const FlushStatus + const FlushTables + const FlushTiDBPlugin + type FrameBound struct + Expr ExprNode + Type BoundType + UnBounded bool + Unit ExprNode + func (n *FrameBound) Accept(v Visitor) (Node, bool) + func (n *FrameBound) Restore(ctx *format.RestoreCtx) error + func (n *FrameBound) SetText(text string) + func (n *FrameBound) Text() string + type FrameClause struct + Extent FrameExtent + Type FrameType + func (n *FrameClause) Accept(v Visitor) (Node, bool) + func (n *FrameClause) Restore(ctx *format.RestoreCtx) error + func (n *FrameClause) SetText(text string) + func (n *FrameClause) Text() string + type FrameExtent struct + End FrameBound + Start FrameBound + type FrameType int + type FuncCallExpr struct + Args []ExprNode + FnName model.CIStr + func (n *FuncCallExpr) Accept(v Visitor) (Node, bool) + func (n *FuncCallExpr) Format(w io.Writer) + func (n *FuncCallExpr) Restore(ctx *format.RestoreCtx) error + type FuncCastExpr struct + Expr ExprNode + FunctionType CastFunctionType + Tp *types.FieldType + func (n *FuncCastExpr) Accept(v Visitor) (Node, bool) + func (n *FuncCastExpr) Format(w io.Writer) + func (n *FuncCastExpr) Restore(ctx *format.RestoreCtx) error + type FuncNode interface + type GrantLevel struct + DBName string + Level GrantLevelType + TableName string + func (n *GrantLevel) Restore(ctx *format.RestoreCtx) error + 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) Restore(ctx *format.RestoreCtx) error + func (n *GrantStmt) SecureText() string + type GroupByClause struct + Items []*ByItem + func (n *GroupByClause) Accept(v Visitor) (Node, bool) + func (n *GroupByClause) Restore(ctx *format.RestoreCtx) error + func (n *GroupByClause) SetText(text string) + func (n *GroupByClause) Text() string + type HandleRange struct + Begin int64 + End int64 + type HavingClause struct + Expr ExprNode + func (n *HavingClause) Accept(v Visitor) (Node, bool) + func (n *HavingClause) Restore(ctx *format.RestoreCtx) error + func (n *HavingClause) SetText(text string) + func (n *HavingClause) Text() string + type Ident struct + Name model.CIStr + Schema model.CIStr + func (i Ident) String() string + type IndexColName struct + Column *ColumnName + Length int + func (n *IndexColName) Accept(v Visitor) (Node, bool) + func (n *IndexColName) Restore(ctx *format.RestoreCtx) error + func (n *IndexColName) SetText(text string) + func (n *IndexColName) Text() string + type IndexHint struct + HintScope IndexHintScope + HintType IndexHintType + IndexNames []model.CIStr + func (n *IndexHint) Restore(ctx *format.RestoreCtx) error + 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) Restore(ctx *format.RestoreCtx) error + 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) + func (n *InsertStmt) Restore(ctx *format.RestoreCtx) error + type IsNullExpr struct + Expr ExprNode + Not bool + func (en *IsNullExpr) GetFlag() uint64 + func (en *IsNullExpr) GetType() *types.FieldType + func (en *IsNullExpr) SetFlag(flag uint64) + func (en *IsNullExpr) SetType(tp *types.FieldType) + func (n *IsNullExpr) Accept(v Visitor) (Node, bool) + func (n *IsNullExpr) Format(w io.Writer) + func (n *IsNullExpr) Restore(ctx *format.RestoreCtx) error + type IsTruthExpr struct + Expr ExprNode + Not bool + True int64 + func (en *IsTruthExpr) GetFlag() uint64 + func (en *IsTruthExpr) GetType() *types.FieldType + func (en *IsTruthExpr) SetFlag(flag uint64) + func (en *IsTruthExpr) SetType(tp *types.FieldType) + func (n *IsTruthExpr) Accept(v Visitor) (Node, bool) + func (n *IsTruthExpr) Format(w io.Writer) + func (n *IsTruthExpr) Restore(ctx *format.RestoreCtx) error + type Join struct + Left ResultSetNode + NaturalJoin bool + On *OnCondition + Right ResultSetNode + StraightJoin bool + Tp JoinType + Using []*ColumnName + func (n *Join) Accept(v Visitor) (Node, bool) + func (n *Join) Restore(ctx *format.RestoreCtx) error + func (n *Join) SetText(text string) + func (n *Join) Text() string + 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) + func (n *KillStmt) Restore(ctx *format.RestoreCtx) error + type Limit struct + Count ExprNode + Offset ExprNode + func (n *Limit) Accept(v Visitor) (Node, bool) + func (n *Limit) Restore(ctx *format.RestoreCtx) error + func (n *Limit) SetText(text string) + func (n *Limit) Text() string + type LinesClause struct + Starting string + Terminated string + func (n *LinesClause) Restore(ctx *format.RestoreCtx) error + type LoadDataStmt struct + Columns []*ColumnName + FieldsInfo *FieldsClause + IgnoreLines uint64 + IsLocal bool + LinesInfo *LinesClause + Path string + Table *TableName + func (n *LoadDataStmt) Accept(v Visitor) (Node, bool) + func (n *LoadDataStmt) Restore(ctx *format.RestoreCtx) error + type LoadStatsStmt struct + Path string + func (n *LoadStatsStmt) Accept(v Visitor) (Node, bool) + func (n *LoadStatsStmt) Restore(ctx *format.RestoreCtx) error + type LockType byte + const LockTypeDefault + const LockTypeExclusive + const LockTypeNone + const LockTypeShared + func (n LockType) String() string + type MaxValueExpr struct + func (en *MaxValueExpr) GetFlag() uint64 + func (en *MaxValueExpr) GetType() *types.FieldType + func (en *MaxValueExpr) SetFlag(flag uint64) + func (en *MaxValueExpr) SetType(tp *types.FieldType) + func (n *MaxValueExpr) Accept(v Visitor) (Node, bool) + func (n *MaxValueExpr) Format(w io.Writer) + func (n *MaxValueExpr) Restore(ctx *format.RestoreCtx) error + type Node interface + Accept func(v Visitor) (node Node, ok bool) + Restore func(ctx *format.RestoreCtx) error + SetText func(text string) + Text func() string + type ObjectTypeType int + const ObjectTypeNone + const ObjectTypeTable + func (n ObjectTypeType) Restore(ctx *format.RestoreCtx) error + type OnCondition struct + Expr ExprNode + func (n *OnCondition) Accept(v Visitor) (Node, bool) + func (n *OnCondition) Restore(ctx *format.RestoreCtx) error + 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) Restore(ctx *format.RestoreCtx) error + func (n *OnDeleteOpt) SetText(text string) + func (n *OnDeleteOpt) Text() string + type OnDuplicateCreateTableSelectType int + const OnDuplicateCreateTableSelectError + const OnDuplicateCreateTableSelectIgnore + const OnDuplicateCreateTableSelectReplace + type OnUpdateOpt struct + ReferOpt ReferOptionType + func (n *OnUpdateOpt) Accept(v Visitor) (Node, bool) + func (n *OnUpdateOpt) Restore(ctx *format.RestoreCtx) error + func (n *OnUpdateOpt) SetText(text string) + func (n *OnUpdateOpt) Text() string + type OptBinary struct + Charset string + IsBinary bool + type OrderByClause struct + ForUnion bool + Items []*ByItem + func (n *OrderByClause) Accept(v Visitor) (Node, bool) + func (n *OrderByClause) Restore(ctx *format.RestoreCtx) error + func (n *OrderByClause) SetText(text string) + func (n *OrderByClause) Text() string + type ParamMarkerExpr interface + SetOrder func(int) + type ParenthesesExpr struct + Expr ExprNode + func (en *ParenthesesExpr) GetFlag() uint64 + func (en *ParenthesesExpr) GetType() *types.FieldType + func (en *ParenthesesExpr) SetFlag(flag uint64) + func (en *ParenthesesExpr) SetType(tp *types.FieldType) + func (n *ParenthesesExpr) Accept(v Visitor) (Node, bool) + func (n *ParenthesesExpr) Format(w io.Writer) + func (n *ParenthesesExpr) Restore(ctx *format.RestoreCtx) error + type PartitionByClause struct + Items []*ByItem + func (n *PartitionByClause) Accept(v Visitor) (Node, bool) + func (n *PartitionByClause) Restore(ctx *format.RestoreCtx) error + func (n *PartitionByClause) SetText(text string) + func (n *PartitionByClause) Text() string + type PartitionDefinition struct + Comment string + LessThan []ExprNode + MaxValue bool + Name model.CIStr + func (n *PartitionDefinition) Restore(ctx *format.RestoreCtx) error + type PartitionOptions struct + ColumnNames []*ColumnName + Definitions []*PartitionDefinition + Expr ExprNode + Num uint64 + Tp model.PartitionType + func (n *PartitionOptions) Restore(ctx *format.RestoreCtx) error + type PatternInExpr struct + Expr ExprNode + List []ExprNode + Not bool + Sel ExprNode + func (en *PatternInExpr) GetFlag() uint64 + func (en *PatternInExpr) GetType() *types.FieldType + func (en *PatternInExpr) SetFlag(flag uint64) + func (en *PatternInExpr) SetType(tp *types.FieldType) + func (n *PatternInExpr) Accept(v Visitor) (Node, bool) + func (n *PatternInExpr) Format(w io.Writer) + func (n *PatternInExpr) Restore(ctx *format.RestoreCtx) error + type PatternLikeExpr struct + Escape byte + Expr ExprNode + Not bool + PatChars []byte + PatTypes []byte + Pattern ExprNode + func (en *PatternLikeExpr) GetFlag() uint64 + func (en *PatternLikeExpr) GetType() *types.FieldType + func (en *PatternLikeExpr) SetFlag(flag uint64) + func (en *PatternLikeExpr) SetType(tp *types.FieldType) + func (n *PatternLikeExpr) Accept(v Visitor) (Node, bool) + func (n *PatternLikeExpr) Format(w io.Writer) + func (n *PatternLikeExpr) Restore(ctx *format.RestoreCtx) error + type PatternRegexpExpr struct + Expr ExprNode + Not bool + Pattern ExprNode + Re *regexp.Regexp + Sexpr *string + func (en *PatternRegexpExpr) GetFlag() uint64 + func (en *PatternRegexpExpr) GetType() *types.FieldType + func (en *PatternRegexpExpr) SetFlag(flag uint64) + func (en *PatternRegexpExpr) SetType(tp *types.FieldType) + func (n *PatternRegexpExpr) Accept(v Visitor) (Node, bool) + func (n *PatternRegexpExpr) Format(w io.Writer) + func (n *PatternRegexpExpr) Restore(ctx *format.RestoreCtx) error + type PositionExpr struct + N int + P ExprNode + Refer *ResultField + func (en *PositionExpr) GetFlag() uint64 + func (en *PositionExpr) GetType() *types.FieldType + func (en *PositionExpr) SetFlag(flag uint64) + func (en *PositionExpr) SetType(tp *types.FieldType) + func (n *PositionExpr) Accept(v Visitor) (Node, bool) + func (n *PositionExpr) Format(w io.Writer) + func (n *PositionExpr) Restore(ctx *format.RestoreCtx) error + type PrepareStmt struct + Name string + SQLText string + SQLVar *VariableExpr + func (n *PrepareStmt) Accept(v Visitor) (Node, bool) + func (n *PrepareStmt) Restore(ctx *format.RestoreCtx) error + type Prepared struct + Params []ParamMarkerExpr + SchemaVersion int64 + Stmt StmtNode + UseCache bool + type PrivElem struct + Cols []*ColumnName + Priv mysql.PrivilegeType + func (n *PrivElem) Accept(v Visitor) (Node, bool) + func (n *PrivElem) Restore(ctx *format.RestoreCtx) error + func (n *PrivElem) SetText(text string) + func (n *PrivElem) Text() string + 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) Restore(ctx *format.RestoreCtx) error + 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) + func (n *RenameTableStmt) Restore(ctx *format.RestoreCtx) error + 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 + type RevokeStmt struct + Level *GrantLevel + ObjectType ObjectTypeType + Privs []*PrivElem + Users []*UserSpec + func (n *RevokeStmt) Accept(v Visitor) (Node, bool) + func (n *RevokeStmt) Restore(ctx *format.RestoreCtx) error + type RollbackStmt struct + func (n *RollbackStmt) Accept(v Visitor) (Node, bool) + func (n *RollbackStmt) Restore(ctx *format.RestoreCtx) error + type RowExpr struct + Values []ExprNode + func (en *RowExpr) GetFlag() uint64 + func (en *RowExpr) GetType() *types.FieldType + func (en *RowExpr) SetFlag(flag uint64) + func (en *RowExpr) SetType(tp *types.FieldType) + func (n *RowExpr) Accept(v Visitor) (Node, bool) + func (n *RowExpr) Format(w io.Writer) + func (n *RowExpr) Restore(ctx *format.RestoreCtx) error + 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) Restore(ctx *format.RestoreCtx) error + 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 + IsAfterUnionDistinct bool + IsInBraces bool + Limit *Limit + LockTp SelectLockType + OrderBy *OrderByClause + TableHints []*TableOptimizerHint + Where ExprNode + WindowSpecs []WindowSpec + func (n *SelectStmt) Accept(v Visitor) (Node, bool) + func (n *SelectStmt) Restore(ctx *format.RestoreCtx) error + type SelectStmtOpts struct + CalcFoundRows bool + Distinct bool + Priority mysql.PriorityEnum + SQLCache bool + StraightJoin 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) Restore(ctx *format.RestoreCtx) error + func (n *SetPwdStmt) SecureText() string + type SetStmt struct + Variables []*VariableAssignment + func (n *SetStmt) Accept(v Visitor) (Node, bool) + func (n *SetStmt) Restore(ctx *format.RestoreCtx) error + type ShowSlow struct + Count uint64 + Kind ShowSlowKind + Tp ShowSlowType + func (n *ShowSlow) Restore(ctx *format.RestoreCtx) error + type ShowSlowKind int + const ShowSlowKindAll + const ShowSlowKindDefault + const ShowSlowKindInternal + type ShowSlowType int + const ShowSlowRecent + const ShowSlowTop + type ShowStmt struct + Column *ColumnName + DBName string + Flag int + Full bool + GlobalScope bool + IfNotExists bool + Pattern *PatternLikeExpr + Table *TableName + Tp ShowStmtType + User *auth.UserIdentity + Where ExprNode + func (n *ShowStmt) Accept(v Visitor) (Node, bool) + func (n *ShowStmt) Restore(ctx *format.RestoreCtx) error + type ShowStmtType int + type StmtNode interface + type SubqueryExpr struct + Correlated bool + Evaluated bool + Exists bool + MultiRows bool + Query ResultSetNode + func (en *SubqueryExpr) GetFlag() uint64 + func (en *SubqueryExpr) GetType() *types.FieldType + func (en *SubqueryExpr) SetFlag(flag uint64) + func (en *SubqueryExpr) SetType(tp *types.FieldType) + func (n *SubqueryExpr) Accept(v Visitor) (Node, bool) + func (n *SubqueryExpr) Format(w io.Writer) + func (n *SubqueryExpr) Restore(ctx *format.RestoreCtx) error + type TableName struct + DBInfo *model.DBInfo + IndexHints []*IndexHint + Name model.CIStr + PartitionNames []model.CIStr + Schema model.CIStr + TableInfo *model.TableInfo + func (n *TableName) Accept(v Visitor) (Node, bool) + func (n *TableName) Restore(ctx *format.RestoreCtx) error + func (n *TableName) SetText(text string) + func (n *TableName) Text() string + type TableOptimizerHint struct + HintName model.CIStr + MaxExecutionTime uint64 + Tables []model.CIStr + func (n *TableOptimizerHint) Accept(v Visitor) (Node, bool) + func (n *TableOptimizerHint) Restore(ctx *format.RestoreCtx) error + func (n *TableOptimizerHint) SetText(text string) + func (n *TableOptimizerHint) Text() string + type TableOption struct + StrValue string + Tp TableOptionType + UintValue uint64 + func (n *TableOption) Restore(ctx *format.RestoreCtx) error + 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 TableOptionPackKeys + const TableOptionPassword + const TableOptionRowFormat + const TableOptionShardRowID + const TableOptionStatsPersistent + type TableRefsClause struct + TableRefs *Join + func (n *TableRefsClause) Accept(v Visitor) (Node, bool) + func (n *TableRefsClause) Restore(ctx *format.RestoreCtx) error + 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) Restore(ctx *format.RestoreCtx) error + 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) Restore(ctx *format.RestoreCtx) error + func (n *TableToTable) SetText(text string) + func (n *TableToTable) Text() string + type TexprNode = exprNode + type TraceStmt struct + Format string + Stmt StmtNode + func (n *TraceStmt) Accept(v Visitor) (Node, bool) + func (n *TraceStmt) Restore(ctx *format.RestoreCtx) error + type TrimDirectionType int + const TrimBoth + const TrimBothDefault + const TrimLeading + const TrimTrailing + type TruncateTableStmt struct + Table *TableName + func (n *TruncateTableStmt) Accept(v Visitor) (Node, bool) + func (n *TruncateTableStmt) Restore(ctx *format.RestoreCtx) error + type TypeOpt struct + IsUnsigned bool + IsZerofill bool + type UnaryOperationExpr struct + Op opcode.Op + V ExprNode + func (en *UnaryOperationExpr) GetFlag() uint64 + func (en *UnaryOperationExpr) GetType() *types.FieldType + func (en *UnaryOperationExpr) SetFlag(flag uint64) + func (en *UnaryOperationExpr) SetType(tp *types.FieldType) + func (n *UnaryOperationExpr) Accept(v Visitor) (Node, bool) + func (n *UnaryOperationExpr) Format(w io.Writer) + func (n *UnaryOperationExpr) Restore(ctx *format.RestoreCtx) error + type UnionSelectList struct + Selects []*SelectStmt + func (n *UnionSelectList) Accept(v Visitor) (Node, bool) + func (n *UnionSelectList) Restore(ctx *format.RestoreCtx) error + func (n *UnionSelectList) SetText(text string) + func (n *UnionSelectList) Text() string + type UnionStmt struct + Limit *Limit + OrderBy *OrderByClause + SelectList *UnionSelectList + func (n *UnionStmt) Accept(v Visitor) (Node, bool) + func (n *UnionStmt) Restore(ctx *format.RestoreCtx) error + type UpdateStmt struct + IgnoreErr bool + Limit *Limit + List []*Assignment + MultipleTable bool + Order *OrderByClause + Priority mysql.PriorityEnum + TableHints []*TableOptimizerHint + TableRefs *TableRefsClause + Where ExprNode + func (n *UpdateStmt) Accept(v Visitor) (Node, bool) + func (n *UpdateStmt) Restore(ctx *format.RestoreCtx) error + type UseStmt struct + DBName string + func (n *UseStmt) Accept(v Visitor) (Node, bool) + func (n *UseStmt) Restore(ctx *format.RestoreCtx) error + type UserSpec struct + AuthOpt *AuthOption + IsRole bool + User *auth.UserIdentity + func (n *UserSpec) EncodedPassword() (string, bool) + func (n *UserSpec) Restore(ctx *format.RestoreCtx) error + func (n *UserSpec) SecurityString() string + type ValueExpr interface + GetDatumString func() string + GetProjectionOffset func() int + GetString func() string + GetValue func() interface{} + SetProjectionOffset func(offset int) + SetValue func(val interface{}) + type ValuesExpr struct + Column *ColumnNameExpr + func (en *ValuesExpr) GetFlag() uint64 + func (en *ValuesExpr) GetType() *types.FieldType + func (en *ValuesExpr) SetFlag(flag uint64) + func (en *ValuesExpr) SetType(tp *types.FieldType) + func (n *ValuesExpr) Accept(v Visitor) (Node, bool) + func (n *ValuesExpr) Format(w io.Writer) + func (n *ValuesExpr) Restore(ctx *format.RestoreCtx) error + type VariableAssignment struct + ExtendValue ValueExpr + IsGlobal bool + IsSystem bool + Name string + Value ExprNode + func (n *VariableAssignment) Accept(v Visitor) (Node, bool) + func (n *VariableAssignment) Restore(ctx *format.RestoreCtx) error + func (n *VariableAssignment) SetText(text string) + func (n *VariableAssignment) Text() string + type VariableExpr struct + ExplicitScope bool + IsGlobal bool + IsSystem bool + Name string + Value ExprNode + func (en *VariableExpr) GetFlag() uint64 + func (en *VariableExpr) GetType() *types.FieldType + func (en *VariableExpr) SetFlag(flag uint64) + func (en *VariableExpr) SetType(tp *types.FieldType) + func (n *VariableExpr) Accept(v Visitor) (Node, bool) + func (n *VariableExpr) Format(w io.Writer) + func (n *VariableExpr) Restore(ctx *format.RestoreCtx) error + 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) Restore(ctx *format.RestoreCtx) error + 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) Restore(ctx *format.RestoreCtx) error + func (n *WildCardField) SetText(text string) + func (n *WildCardField) Text() string + type WindowFuncExpr struct + Args []ExprNode + Distinct bool + F string + FromLast bool + IgnoreNull bool + Spec WindowSpec + func (n *WindowFuncExpr) Accept(v Visitor) (Node, bool) + func (n *WindowFuncExpr) Format(w io.Writer) + func (n *WindowFuncExpr) Restore(ctx *format.RestoreCtx) error + type WindowSpec struct + Frame *FrameClause + Name model.CIStr + OrderBy *OrderByClause + PartitionBy *PartitionByClause + Ref model.CIStr + func (n *WindowSpec) Accept(v Visitor) (Node, bool) + func (n *WindowSpec) Restore(ctx *format.RestoreCtx) error + func (n *WindowSpec) SetText(text string) + func (n *WindowSpec) Text() string