MCPcopy
hub / github.com/pingcap/tidb / SetType

Method SetType

pkg/parser/ast/ast.go:73–73  ·  view source on GitHub ↗

SetType sets evaluation type to the expression.

(tp *types.FieldType)

Source from the content-addressed store, hash-verified

71 Node
72 // SetType sets evaluation type to the expression.
73 SetType(tp *types.FieldType)
74 // GetType gets the evaluation type of the expression.
75 GetType() *types.FieldType
76 // SetFlag sets flag to the expression.

Callers 15

resolveFromPlanMethod · 0.65
unfoldWildStarFunction · 0.65
TestColumnToProtoFunction · 0.65
castCollationForInMethod · 0.65
rewriteFuncCallMethod · 0.65
negotiateCommonTypeFunction · 0.65
hasAutoConvertWarningMethod · 0.65
TestGetReuseChunkFunction · 0.65
NewFieldTypeFunction · 0.65

Calls

no outgoing calls

Tested by 15

TestColumnToProtoFunction · 0.52
TestGetReuseChunkFunction · 0.52
TestNeedRestoredDataFunction · 0.52
TestScanQueryGeneratorFunction · 0.52
TestStringFunction · 0.52
NextMethod · 0.52