Versions in this module Expand all Collapse all v1 v1.0.0 Jan 15, 2026 Changes in this version + type AliasedExpr struct + Alias string + Expr Expression + Position token.Position + func (a *AliasedExpr) End() token.Position + func (a *AliasedExpr) Pos() token.Position + type AlterCommand struct + AfterColumn string + AfterIndex string + Assignments []*Assignment + Column *ColumnDeclaration + ColumnName string + Comment string + Constraint *Constraint + ConstraintName string + FromPath string + FromTable string + Granularity int + IfExists bool + IfNotExists bool + Index string + IndexDef *IndexDefinition + IndexExpr Expression + IndexType string + IsPart bool + NewName string + OrderByExpr []Expression + Partition Expression + PartitionIsID bool + Position token.Position + Projection *Projection + ProjectionName string + Query Statement + ResetSettings []string + SampleByExpr Expression + Settings []*SettingExpr + StatisticsColumns []string + StatisticsTypes []*FunctionCall + TTL *TTLClause + ToDatabase string + ToTable string + Type AlterCommandType + Where Expression + func (a *AlterCommand) End() token.Position + func (a *AlterCommand) Pos() token.Position + type AlterCommandType string + const AlterAddColumn + const AlterAddConstraint + const AlterAddIndex + const AlterAddProjection + const AlterAddStatistics + const AlterApplyDeletedMask + const AlterApplyPatches + const AlterAttachPartition + const AlterClearColumn + const AlterClearIndex + const AlterClearProjection + const AlterClearStatistics + const AlterCommentColumn + const AlterDeleteWhere + const AlterDetachPartition + const AlterDropColumn + const AlterDropConstraint + const AlterDropDetachedPartition + const AlterDropIndex + const AlterDropPartition + const AlterDropProjection + const AlterDropStatistics + const AlterFetchPartition + const AlterFreeze + const AlterFreezePartition + const AlterMaterializeColumn + const AlterMaterializeIndex + const AlterMaterializeProjection + const AlterMaterializeStatistics + const AlterMaterializeTTL + const AlterModifyColumn + const AlterModifyComment + const AlterModifyOrderBy + const AlterModifyQuery + const AlterModifySampleBy + const AlterModifySetting + const AlterModifyStatistics + const AlterModifyTTL + const AlterMovePartition + const AlterRemoveSampleBy + const AlterRemoveTTL + const AlterRenameColumn + const AlterReplacePartition + const AlterResetSetting + const AlterUpdate + type AlterNamedCollectionQuery struct + Name string + Position token.Position + func (a *AlterNamedCollectionQuery) End() token.Position + func (a *AlterNamedCollectionQuery) Pos() token.Position + type AlterQuery struct + Commands []*AlterCommand + Database string + Format string + OnCluster string + Position token.Position + Settings []*SettingExpr + Table string + func (a *AlterQuery) End() token.Position + func (a *AlterQuery) Pos() token.Position + type AlterSettingsProfileQuery struct + Names []string + Position token.Position + func (a *AlterSettingsProfileQuery) End() token.Position + func (a *AlterSettingsProfileQuery) Pos() token.Position + type ArrayAccess struct + Array Expression + Index Expression + Position token.Position + func (a *ArrayAccess) End() token.Position + func (a *ArrayAccess) Pos() token.Position + type ArrayJoinClause struct + Columns []Expression + Left bool + Position token.Position + func (a *ArrayJoinClause) End() token.Position + func (a *ArrayJoinClause) Pos() token.Position + type Assignment struct + Column string + Position token.Position + Value Expression + func (a *Assignment) End() token.Position + func (a *Assignment) Pos() token.Position + type Asterisk struct + Apply []string + Except []string + Position token.Position + Replace []*ReplaceExpr + Table string + Transformers []*ColumnTransformer + func (a *Asterisk) End() token.Position + func (a *Asterisk) Pos() token.Position + type AttachQuery struct + Columns []*ColumnDeclaration + ColumnsPrimaryKey []Expression + Database string + Dictionary string + Engine *EngineClause + FromPath string + HasEmptyColumnsPrimaryKey bool + IfNotExists bool + Indexes []*IndexDefinition + InnerUUID string + IsMaterializedView bool + OrderBy []Expression + PartitionBy Expression + Position token.Position + PrimaryKey []Expression + SelectQuery Statement + Settings []*SettingExpr + Table string + UUID string + func (a *AttachQuery) End() token.Position + func (a *AttachQuery) Pos() token.Position + type BackupQuery struct + All bool + Database string + Dictionary string + Format string + Position token.Position + Settings []*SettingExpr + Table string + Target *FunctionCall + Temporary bool + func (b *BackupQuery) End() token.Position + func (b *BackupQuery) Pos() token.Position + type BetweenExpr struct + Expr Expression + High Expression + Low Expression + Not bool + Position token.Position + func (b *BetweenExpr) End() token.Position + func (b *BetweenExpr) Pos() token.Position + type BinaryExpr struct + Left Expression + Op string + Parenthesized bool + Position token.Position + Right Expression + func (b *BinaryExpr) End() token.Position + func (b *BinaryExpr) Pos() token.Position + type CaseExpr struct + Alias string + Else Expression + Operand Expression + Position token.Position + QuotedAlias bool + Whens []*WhenClause + func (c *CaseExpr) End() token.Position + func (c *CaseExpr) Pos() token.Position + type CastExpr struct + Alias string + Expr Expression + OperatorSyntax bool + Position token.Position + Type *DataType + TypeExpr Expression + UsedASSyntax bool + func (c *CastExpr) End() token.Position + func (c *CastExpr) Pos() token.Position + type CheckQuery struct + Database string + Format string + Part Expression + Partition Expression + Position token.Position + Settings []*SettingExpr + Table string + func (c *CheckQuery) End() token.Position + func (c *CheckQuery) Pos() token.Position + type CodecExpr struct + Codecs []*FunctionCall + Position token.Position + func (c *CodecExpr) End() token.Position + func (c *CodecExpr) Pos() token.Position + type ColumnDeclaration struct + Codec *CodecExpr + Comment string + Default Expression + DefaultKind string + Name string + Nullable *bool + Position token.Position + PrimaryKey bool + Settings []*SettingExpr + Statistics []*FunctionCall + TTL Expression + Type *DataType + func (c *ColumnDeclaration) End() token.Position + func (c *ColumnDeclaration) Pos() token.Position + type ColumnTransformer struct + Apply string + ApplyLambda Expression + ApplyParams []Expression + Except []string + Pattern string + Position token.Position + Replaces []*ReplaceExpr + Type string + type ColumnsMatcher struct + Apply []string + Columns []Expression + Except []string + Pattern string + Position token.Position + Qualifier string + Replace []*ReplaceExpr + Transformers []*ColumnTransformer + func (c *ColumnsMatcher) End() token.Position + func (c *ColumnsMatcher) Pos() token.Position + type Constraint struct + Expression Expression + Name string + Position token.Position + func (c *Constraint) End() token.Position + func (c *Constraint) Pos() token.Position + type CreateIndexQuery struct + Columns []Expression + ColumnsParenthesized bool + Granularity int + IndexName string + Position token.Position + Table string + Type string + func (c *CreateIndexQuery) End() token.Position + func (c *CreateIndexQuery) Pos() token.Position + type CreateNamedCollectionQuery struct + Name string + Position token.Position + func (c *CreateNamedCollectionQuery) End() token.Position + func (c *CreateNamedCollectionQuery) Pos() token.Position + type CreateQuery struct + AlterUser bool + AsSelect Statement + AsTableFunction Expression + AuthenticationValues []string + CloneAs string + Columns []*ColumnDeclaration + ColumnsPrimaryKey []Expression + Comment string + Constraints []*Constraint + CreateDatabase bool + CreateDictionary bool + CreateFunction bool + CreateUser bool + Database string + DictionaryAttrs []*DictionaryAttributeDeclaration + DictionaryDef *DictionaryDefinition + Empty bool + Engine *EngineClause + Format string + FunctionBody Expression + FunctionName string + HasAuthenticationData bool + HasEmptyColumnsPrimaryKey bool + HasRefresh bool + IfNotExists bool + Indexes []*IndexDefinition + InnerEngine *EngineClause + Materialized bool + OnCluster string + OrReplace bool + OrderBy []Expression + OrderByHasModifiers bool + PartitionBy Expression + Populate bool + Position token.Position + PrimaryKey []Expression + Projections []*Projection + QuerySettings []*SettingExpr + RefreshAppend bool + RefreshInterval Expression + RefreshType string + RefreshUnit string + SSHKeyCount int + SampleBy Expression + Settings []*SettingExpr + SettingsBeforeComment bool + TTL *TTLClause + Table string + Temporary bool + To string + ToDatabase string + UserName string + View string + WindowView bool + func (c *CreateQuery) End() token.Position + func (c *CreateQuery) Pos() token.Position + type CreateQuotaQuery struct + Name string + Position token.Position + func (c *CreateQuotaQuery) End() token.Position + func (c *CreateQuotaQuery) Pos() token.Position + type CreateResourceQuery struct + Name string + Position token.Position + func (c *CreateResourceQuery) End() token.Position + func (c *CreateResourceQuery) Pos() token.Position + type CreateRoleQuery struct + IsAlter bool + Position token.Position + func (c *CreateRoleQuery) End() token.Position + func (c *CreateRoleQuery) Pos() token.Position + type CreateRowPolicyQuery struct + IsAlter bool + Position token.Position + func (c *CreateRowPolicyQuery) End() token.Position + func (c *CreateRowPolicyQuery) Pos() token.Position + type CreateSettingsProfileQuery struct + Names []string + Position token.Position + func (c *CreateSettingsProfileQuery) End() token.Position + func (c *CreateSettingsProfileQuery) Pos() token.Position + type CreateWorkloadQuery struct + Name string + Parent string + Position token.Position + func (c *CreateWorkloadQuery) End() token.Position + func (c *CreateWorkloadQuery) Pos() token.Position + type DataType struct + HasParentheses bool + Name string + Parameters []Expression + Position token.Position + func (d *DataType) End() token.Position + func (d *DataType) Pos() token.Position + type DeleteQuery struct + Database string + OnCluster string + Partition Expression + Position token.Position + Settings []*SettingExpr + Table string + Where Expression + func (d *DeleteQuery) End() token.Position + func (d *DeleteQuery) Pos() token.Position + type DescribeQuery struct + Database string + Format string + Position token.Position + Settings []*SettingExpr + Table string + TableExpr *TableExpression + TableFunction *FunctionCall + func (d *DescribeQuery) End() token.Position + func (d *DescribeQuery) Pos() token.Position + type DetachQuery struct + Database string + Dictionary string + Position token.Position + Table string + func (d *DetachQuery) End() token.Position + func (d *DetachQuery) Pos() token.Position + type DictionaryAttributeDeclaration struct + Default Expression + Expression Expression + Hierarchical bool + Injective bool + IsObjectID bool + Name string + Position token.Position + Type *DataType + func (d *DictionaryAttributeDeclaration) End() token.Position + func (d *DictionaryAttributeDeclaration) Pos() token.Position + type DictionaryDefinition struct + Layout *DictionaryLayout + Lifetime *DictionaryLifetime + Position token.Position + PrimaryKey []Expression + Range *DictionaryRange + Settings []*SettingExpr + Source *DictionarySource + func (d *DictionaryDefinition) End() token.Position + func (d *DictionaryDefinition) Pos() token.Position + type DictionaryLayout struct + Args []*KeyValuePair + Position token.Position + Type string + func (d *DictionaryLayout) End() token.Position + func (d *DictionaryLayout) Pos() token.Position + type DictionaryLifetime struct + Max Expression + Min Expression + Position token.Position + func (d *DictionaryLifetime) End() token.Position + func (d *DictionaryLifetime) Pos() token.Position + type DictionaryRange struct + Max Expression + Min Expression + Position token.Position + func (d *DictionaryRange) End() token.Position + func (d *DictionaryRange) Pos() token.Position + type DictionarySource struct + Args []*KeyValuePair + Position token.Position + Type string + func (d *DictionarySource) End() token.Position + func (d *DictionarySource) Pos() token.Position + type DropNamedCollectionQuery struct + IfExists bool + Name string + Position token.Position + func (d *DropNamedCollectionQuery) End() token.Position + func (d *DropNamedCollectionQuery) Pos() token.Position + type DropQuery struct + Database string + Dictionary string + DropDatabase bool + Format string + Function string + IfExists bool + Index string + OnCluster string + Policy string + Position token.Position + Quota string + Role string + RowPolicy string + Settings []*SettingExpr + SettingsProfile string + Sync bool + Table string + Tables []*TableIdentifier + Temporary bool + User string + View string + func (d *DropQuery) End() token.Position + func (d *DropQuery) Pos() token.Position + type DropResourceQuery struct + Position token.Position + func (d *DropResourceQuery) End() token.Position + func (d *DropResourceQuery) Pos() token.Position + type DropRoleQuery struct + IfExists bool + Position token.Position + func (d *DropRoleQuery) End() token.Position + func (d *DropRoleQuery) Pos() token.Position + type DropRowPolicyQuery struct + IfExists bool + Position token.Position + func (d *DropRowPolicyQuery) End() token.Position + func (d *DropRowPolicyQuery) Pos() token.Position + type DropSettingsProfileQuery struct + IfExists bool + Names []string + Position token.Position + func (d *DropSettingsProfileQuery) End() token.Position + func (d *DropSettingsProfileQuery) Pos() token.Position + type DropWorkloadQuery struct + Position token.Position + func (d *DropWorkloadQuery) End() token.Position + func (d *DropWorkloadQuery) Pos() token.Position + type EngineClause struct + HasParentheses bool + Name string + Parameters []Expression + Position token.Position + func (e *EngineClause) End() token.Position + func (e *EngineClause) Pos() token.Position + type ExchangeQuery struct + Database1 string + Database2 string + OnCluster string + Position token.Position + Table1 string + Table2 string + func (e *ExchangeQuery) End() token.Position + func (e *ExchangeQuery) Pos() token.Position + type ExistsExpr struct + Position token.Position + Query Statement + func (e *ExistsExpr) End() token.Position + func (e *ExistsExpr) Pos() token.Position + type ExistsQuery struct + Database string + ExistsType ExistsType + Position token.Position + Settings []*SettingExpr + Table string + Temporary bool + func (e *ExistsQuery) End() token.Position + func (e *ExistsQuery) Pos() token.Position + type ExistsType string + const ExistsDatabase + const ExistsDictionary + const ExistsTable + const ExistsView + type ExplainQuery struct + ExplainType ExplainType + ExplicitType bool + HasSettings bool + OptionsString string + Position token.Position + Statement Statement + func (e *ExplainQuery) End() token.Position + func (e *ExplainQuery) Pos() token.Position + type ExplainType string + const ExplainAST + const ExplainCurrentTransaction + const ExplainEstimate + const ExplainPipeline + const ExplainPlan + const ExplainQueryTree + const ExplainSyntax + type Expression interface + type ExtractExpr struct + Alias string + Field string + From Expression + Position token.Position + func (e *ExtractExpr) End() token.Position + func (e *ExtractExpr) Pos() token.Position + type FrameBound struct + Offset Expression + Position token.Position + Type FrameBoundType + func (f *FrameBound) End() token.Position + func (f *FrameBound) Pos() token.Position + type FrameBoundType string + const BoundCurrentRow + const BoundFollowing + const BoundPreceding + const BoundUnboundedFol + const BoundUnboundedPre + type FunctionCall struct + Alias string + Arguments []Expression + Distinct bool + Filter Expression + Name string + Over *WindowSpec + Parameters []Expression + Position token.Position + SQLStandard bool + Settings []*SettingExpr + func (f *FunctionCall) End() token.Position + func (f *FunctionCall) Pos() token.Position + type GrantQuery struct + IsRevoke bool + Position token.Position + func (g *GrantQuery) End() token.Position + func (g *GrantQuery) Pos() token.Position + type Identifier struct + Alias string + Parenthesized bool + Parts []string + Position token.Position + func (i *Identifier) End() token.Position + func (i *Identifier) Name() string + func (i *Identifier) Pos() token.Position + type InExpr struct + Expr Expression + Global bool + List []Expression + Not bool + Position token.Position + Query Statement + TrailingComma bool + func (i *InExpr) End() token.Position + func (i *InExpr) Pos() token.Position + type IndexDefinition struct + Expression Expression + Granularity Expression + Name string + Position token.Position + Type *FunctionCall + func (i *IndexDefinition) End() token.Position + func (i *IndexDefinition) Pos() token.Position + type InsertQuery struct + AllColumns bool + ColumnExpressions []Expression + Columns []*Identifier + Compression string + Database string + Format *Identifier + Function *FunctionCall + HasSettings bool + Infile string + PartitionBy Expression + Position token.Position + Select Statement + Settings []*SettingExpr + Table string + Values [][]Expression + With []Expression + func (i *InsertQuery) End() token.Position + func (i *InsertQuery) Pos() token.Position + type InterpolateElement struct + Column string + Position token.Position + Value Expression + func (i *InterpolateElement) End() token.Position + func (i *InterpolateElement) Pos() token.Position + type IntervalExpr struct + Position token.Position + Unit string + Value Expression + func (i *IntervalExpr) End() token.Position + func (i *IntervalExpr) Pos() token.Position + type IntoOutfileClause struct + Filename string + Position token.Position + Truncate bool + func (i *IntoOutfileClause) End() token.Position + func (i *IntoOutfileClause) Pos() token.Position + type IsNullExpr struct + Expr Expression + Not bool + Position token.Position + func (i *IsNullExpr) End() token.Position + func (i *IsNullExpr) Pos() token.Position + type JoinStrictness string + const JoinStrictAll + const JoinStrictAnti + const JoinStrictAny + const JoinStrictAsof + const JoinStrictSemi + type JoinType string + const JoinCross + const JoinFull + const JoinInner + const JoinLeft + const JoinPaste + const JoinRight + type KeyValuePair struct + Key string + Position token.Position + Value Expression + func (k *KeyValuePair) End() token.Position + func (k *KeyValuePair) Pos() token.Position + type KillQuery struct + Format string + Position token.Position + Settings []*SettingExpr + Sync bool + Test bool + Type string + Where Expression + func (k *KillQuery) End() token.Position + func (k *KillQuery) Pos() token.Position + type Lambda struct + Body Expression + Parameters []string + Parenthesized bool + Position token.Position + func (l *Lambda) End() token.Position + func (l *Lambda) Pos() token.Position + type LikeExpr struct + Alias string + CaseInsensitive bool + Expr Expression + Not bool + Pattern Expression + Position token.Position + func (l *LikeExpr) End() token.Position + func (l *LikeExpr) Pos() token.Position + type Literal struct + IsBigInt bool + Negative bool + Parenthesized bool + Position token.Position + Source string + SpacedBrackets bool + SpacedCommas bool + Type LiteralType + Value interface{} + func (l *Literal) End() token.Position + func (l *Literal) MarshalJSON() ([]byte, error) + func (l *Literal) Pos() token.Position + type LiteralType string + const LiteralArray + const LiteralBoolean + const LiteralFloat + const LiteralInteger + const LiteralNull + const LiteralString + const LiteralTuple + type NameTypePair struct + Name string + Position token.Position + Type *DataType + func (n *NameTypePair) End() token.Position + func (n *NameTypePair) Pos() token.Position + type Node interface + End func() token.Position + Pos func() token.Position + type ObjectTypeArgument struct + Expr Expression + Position token.Position + func (o *ObjectTypeArgument) End() token.Position + func (o *ObjectTypeArgument) Pos() token.Position + type OptimizeQuery struct + Cleanup bool + Database string + Dedupe bool + Final bool + OnCluster string + Partition Expression + PartitionByID bool + Position token.Position + Settings []*SettingExpr + Table string + func (o *OptimizeQuery) End() token.Position + func (o *OptimizeQuery) Pos() token.Position + type OrderByElement struct + Collate string + Descending bool + Expression Expression + FillFrom Expression + FillStaleness Expression + FillStep Expression + FillTo Expression + NullsFirst *bool + Position token.Position + WithFill bool + func (o *OrderByElement) End() token.Position + func (o *OrderByElement) Pos() token.Position + type ParallelWithQuery struct + Position token.Position + Statements []Statement + func (p *ParallelWithQuery) End() token.Position + func (p *ParallelWithQuery) Pos() token.Position + type Parameter struct + Name string + Position token.Position + Type *DataType + func (p *Parameter) End() token.Position + func (p *Parameter) Pos() token.Position + type Projection struct + Name string + Position token.Position + Select *ProjectionSelectQuery + func (p *Projection) End() token.Position + func (p *Projection) Pos() token.Position + type ProjectionSelectQuery struct + Columns []Expression + GroupBy []Expression + OrderBy []Expression + Position token.Position + With []Expression + type RenamePair struct + FromDatabase string + FromTable string + ToDatabase string + ToTable string + type RenameQuery struct + From string + IfExists bool + OnCluster string + Pairs []*RenamePair + Position token.Position + RenameDatabase bool + Settings []*SettingExpr + To string + func (r *RenameQuery) End() token.Position + func (r *RenameQuery) Pos() token.Position + type ReplaceExpr struct + Expr Expression + Name string + Position token.Position + func (r *ReplaceExpr) End() token.Position + func (r *ReplaceExpr) Pos() token.Position + type RestoreQuery struct + All bool + Database string + Dictionary string + Format string + Position token.Position + Settings []*SettingExpr + Source *FunctionCall + Table string + Temporary bool + func (r *RestoreQuery) End() token.Position + func (r *RestoreQuery) Pos() token.Position + type SampleClause struct + Offset Expression + Position token.Position + Ratio Expression + func (s *SampleClause) End() token.Position + func (s *SampleClause) Pos() token.Position + type SelectIntersectExceptQuery struct + Operators []string + Position token.Position + Selects []Statement + func (s *SelectIntersectExceptQuery) End() token.Position + func (s *SelectIntersectExceptQuery) Pos() token.Position + type SelectQuery struct + ArrayJoin *ArrayJoinClause + Columns []Expression + Distinct bool + DistinctOn []Expression + Format *Identifier + From *TablesInSelectQuery + GroupBy []Expression + GroupByAll bool + GroupingSets bool + Having Expression + Interpolate []*InterpolateElement + IntoOutfile *IntoOutfileClause + Limit Expression + LimitBy []Expression + LimitByHasLimit bool + LimitByLimit Expression + LimitByOffset Expression + Offset Expression + OrderBy []*OrderByElement + Position token.Position + PreWhere Expression + Qualify Expression + Settings []*SettingExpr + SettingsAfterFormat bool + SettingsBeforeFormat bool + Top Expression + Where Expression + Window []*WindowDefinition + With []Expression + WithCube bool + WithRollup bool + WithTotals bool + func (s *SelectQuery) End() token.Position + func (s *SelectQuery) Pos() token.Position + type SelectWithUnionQuery struct + Position token.Position + Selects []Statement + Settings []*SettingExpr + SettingsAfterFormat bool + SettingsBeforeFormat bool + UnionAll bool + UnionModes []string + func (s *SelectWithUnionQuery) End() token.Position + func (s *SelectWithUnionQuery) Pos() token.Position + type SetQuery struct + Position token.Position + Settings []*SettingExpr + func (s *SetQuery) End() token.Position + func (s *SetQuery) Pos() token.Position + type SetRoleQuery struct + Position token.Position + func (s *SetRoleQuery) End() token.Position + func (s *SetRoleQuery) Pos() token.Position + type SettingExpr struct + Name string + Position token.Position + Value Expression + func (s *SettingExpr) End() token.Position + func (s *SettingExpr) Pos() token.Position + type ShowCreateQuotaQuery struct + Format string + Name string + Position token.Position + func (s *ShowCreateQuotaQuery) End() token.Position + func (s *ShowCreateQuotaQuery) Pos() token.Position + type ShowCreateRoleQuery struct + Format string + Position token.Position + RoleCount int + func (s *ShowCreateRoleQuery) End() token.Position + func (s *ShowCreateRoleQuery) Pos() token.Position + type ShowCreateRowPolicyQuery struct + Format string + Position token.Position + func (s *ShowCreateRowPolicyQuery) End() token.Position + func (s *ShowCreateRowPolicyQuery) Pos() token.Position + type ShowCreateSettingsProfileQuery struct + Format string + Names []string + Position token.Position + func (s *ShowCreateSettingsProfileQuery) End() token.Position + func (s *ShowCreateSettingsProfileQuery) Pos() token.Position + type ShowGrantsQuery struct + Format string + Position token.Position + func (s *ShowGrantsQuery) End() token.Position + func (s *ShowGrantsQuery) Pos() token.Position + type ShowPrivilegesQuery struct + Position token.Position + func (s *ShowPrivilegesQuery) End() token.Position + func (s *ShowPrivilegesQuery) Pos() token.Position + type ShowQuery struct + Database string + Format string + From string + HasSettings bool + Like string + Limit Expression + MultipleUsers bool + Position token.Position + ShowType ShowType + Temporary bool + Where Expression + func (s *ShowQuery) End() token.Position + func (s *ShowQuery) Pos() token.Position + type ShowType string + const ShowColumns + const ShowCreate + const ShowCreateDB + const ShowCreateDictionary + const ShowCreatePolicy + const ShowCreateQuota + const ShowCreateRole + const ShowCreateRowPolicy + const ShowCreateSettingsProfile + const ShowCreateUser + const ShowCreateView + const ShowDatabases + const ShowDictionaries + const ShowFunctions + const ShowGrants + const ShowProcesses + const ShowSetting + const ShowSettings + const ShowTables + type Statement interface + type Subquery struct + Alias string + Position token.Position + Query Statement + func (s *Subquery) End() token.Position + func (s *Subquery) Pos() token.Position + type SystemQuery struct + Command string + Database string + DuplicateTableOutput bool + OnCluster string + Position token.Position + Settings []*SettingExpr + Table string + func (s *SystemQuery) End() token.Position + func (s *SystemQuery) Pos() token.Position + type TTLClause struct + Elements []*TTLElement + Expression Expression + Expressions []Expression + Position token.Position + func (t *TTLClause) End() token.Position + func (t *TTLClause) Pos() token.Position + type TTLElement struct + Expr Expression + Position token.Position + Where Expression + func (t *TTLElement) End() token.Position + func (t *TTLElement) Pos() token.Position + type TableExpression struct + Alias string + Final bool + Position token.Position + Sample *SampleClause + Table Expression + func (t *TableExpression) End() token.Position + func (t *TableExpression) Pos() token.Position + type TableIdentifier struct + Alias string + Database string + Position token.Position + Table string + func (t *TableIdentifier) End() token.Position + func (t *TableIdentifier) Pos() token.Position + type TableJoin struct + Global bool + On Expression + Position token.Position + Strictness JoinStrictness + Type JoinType + Using []Expression + func (t *TableJoin) End() token.Position + func (t *TableJoin) Pos() token.Position + type TablesInSelectQuery struct + Position token.Position + Tables []*TablesInSelectQueryElement + func (t *TablesInSelectQuery) End() token.Position + func (t *TablesInSelectQuery) Pos() token.Position + type TablesInSelectQueryElement struct + ArrayJoin *ArrayJoinClause + Join *TableJoin + Position token.Position + Table *TableExpression + func (t *TablesInSelectQueryElement) End() token.Position + func (t *TablesInSelectQueryElement) Pos() token.Position + type TernaryExpr struct + Condition Expression + Else Expression + Position token.Position + Then Expression + func (t *TernaryExpr) End() token.Position + func (t *TernaryExpr) Pos() token.Position + type TransactionControlQuery struct + Action string + Position token.Position + Snapshot int64 + func (t *TransactionControlQuery) End() token.Position + func (t *TransactionControlQuery) Pos() token.Position + type TruncateQuery struct + Database string + IfExists bool + OnCluster string + Position token.Position + Settings []*SettingExpr + Table string + Temporary bool + TruncateDatabase bool + func (t *TruncateQuery) End() token.Position + func (t *TruncateQuery) Pos() token.Position + type TupleAccess struct + Index Expression + Position token.Position + Tuple Expression + func (t *TupleAccess) End() token.Position + func (t *TupleAccess) Pos() token.Position + type UnaryExpr struct + Op string + Operand Expression + Position token.Position + func (u *UnaryExpr) End() token.Position + func (u *UnaryExpr) Pos() token.Position + type UndropQuery struct + Database string + Format string + OnCluster string + Position token.Position + Table string + UUID string + func (u *UndropQuery) End() token.Position + func (u *UndropQuery) Pos() token.Position + type UpdateQuery struct + Assignments []*Assignment + Database string + Position token.Position + Table string + Where Expression + func (u *UpdateQuery) End() token.Position + func (u *UpdateQuery) Pos() token.Position + type UseQuery struct + Database string + Position token.Position + func (u *UseQuery) End() token.Position + func (u *UseQuery) Pos() token.Position + type WhenClause struct + Condition Expression + Position token.Position + Result Expression + func (w *WhenClause) End() token.Position + func (w *WhenClause) Pos() token.Position + type WindowDefinition struct + Name string + Position token.Position + Spec *WindowSpec + func (w *WindowDefinition) End() token.Position + func (w *WindowDefinition) Pos() token.Position + type WindowFrame struct + EndBound *FrameBound + Position token.Position + StartBound *FrameBound + Type WindowFrameType + func (w *WindowFrame) End() token.Position + func (w *WindowFrame) Pos() token.Position + type WindowFrameType string + const FrameGroups + const FrameRange + const FrameRows + type WindowSpec struct + Frame *WindowFrame + Name string + OrderBy []*OrderByElement + PartitionBy []Expression + Position token.Position + func (w *WindowSpec) End() token.Position + func (w *WindowSpec) Pos() token.Position + type WithElement struct + Name string + Position token.Position + Query Expression + ScalarWith bool + func (w *WithElement) End() token.Position + func (w *WithElement) Pos() token.Position