MCPcopy Create free account
hub / github.com/AfterShip/clickhouse-sql-parser / CreateMaterializedView

Struct CreateMaterializedView

parser/ast.go:1347–1366  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1345}
1346
1347type CreateMaterializedView struct {
1348 CreatePos Pos // position of CREATE|ATTACH keyword
1349 StatementEnd Pos
1350 Name *TableIdentifier
1351 IfNotExists bool
1352 OnCluster *ClusterClause
1353 Refresh *RefreshExpr
1354 RandomizeFor *IntervalExpr
1355 DependsOn []*TableIdentifier
1356 Settings *SettingsClause
1357 HasAppend bool
1358 Engine *EngineExpr
1359 HasEmpty bool
1360 Destination *DestinationClause
1361 SubQuery *SubQuery
1362 Populate bool
1363 Comment *StringLiteral
1364 Definer *Ident
1365 SQLSecurity string
1366}
1367
1368func (c *CreateMaterializedView) Pos() Pos {
1369 return c.CreatePos

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected