Documentation ¶
Index ¶
- func Walk(n Node, cb func(Node) error) error
- type AbortBatchStatementNode
- type AddColumnActionNode
- func (n *AddColumnActionNode) ColumnDefinition() *ColumnDefinitionNode
- func (n *AddColumnActionNode) ColumnPosition() *ColumnPositionNode
- func (n *AddColumnActionNode) FillExpression() ExpressionNode
- func (n *AddColumnActionNode) IsIfNotExists() bool
- func (n *AddColumnActionNode) SetIsIfNotExists(isIfNotExists bool)
- type AddConstraintActionNode
- type AddToRestricteeListClauseNode
- type AliasNode
- type AlterActionBaseNode
- type AlterActionListNode
- type AlterActionNode
- type AlterAllRowAccessPoliciesStatementNode
- type AlterColumnDropDefaultActionNode
- type AlterColumnDropNotNullActionNode
- type AlterColumnOptionsActionNode
- type AlterColumnSetDefaultActionNode
- type AlterColumnTypeActionNode
- func (n *AlterColumnTypeActionNode) Collate() *CollateNode
- func (n *AlterColumnTypeActionNode) ColumnName() *IdentifierNode
- func (n *AlterColumnTypeActionNode) IsIfExists() bool
- func (n *AlterColumnTypeActionNode) Schema() *ColumnSchemaNode
- func (n *AlterColumnTypeActionNode) SetIsIfExists(isIfNotExists bool)
- type AlterConstraintEnforcementActionNode
- func (n *AlterConstraintEnforcementActionNode) ConstraintName() *IdentifierNode
- func (n *AlterConstraintEnforcementActionNode) IsEnforced() bool
- func (n *AlterConstraintEnforcementActionNode) IsIfExists() bool
- func (n *AlterConstraintEnforcementActionNode) SetIsEnforced(enforced bool)
- func (n *AlterConstraintEnforcementActionNode) SetIsIfExists(isIfNotExists bool)
- type AlterConstraintSetOptionsActionNode
- type AlterDatabaseStatementNode
- type AlterEntityStatementNode
- type AlterMaterializedViewStatementNode
- type AlterPrivilegeRestrictionStatementNode
- type AlterRowAccessPolicyStatementNode
- type AlterSchemaStatementNode
- type AlterStatementBaseNode
- type AlterTableStatementNode
- type AlterViewStatementNode
- type AnalyticFunctionCallNode
- type AnalyzeStatementNode
- type AndExprNode
- type AnySomeAllOpNode
- type AnySomeAllOpType
- type ArrayColumnSchemaNode
- type ArrayConstructorNode
- type ArrayElementNode
- type ArrayTypeNode
- type AsMode
- type AssertRowsModifiedNode
- type AssertStatementNode
- type AssignmentFromStructNode
- type AuxLoadDataFromFilesOptionsListNode
- type AuxLoadDataStatementNode
- func (n *AuxLoadDataStatementNode) ClusterBy() *ClusterByNode
- func (n *AuxLoadDataStatementNode) FromFiles() *AuxLoadDataFromFilesOptionsListNode
- func (n *AuxLoadDataStatementNode) InsertionMode() InsertionMode
- func (n *AuxLoadDataStatementNode) PartitionBy() *PartitionByNode
- func (n *AuxLoadDataStatementNode) SetInsertionMode(mode InsertionMode)
- func (n *AuxLoadDataStatementNode) WithConnectionClause() *WithConnectionClauseNode
- func (n *AuxLoadDataStatementNode) WithPartitionColumnsClause() *WithPartitionColumnsClauseNode
- type BaseNode
- func (n *BaseNode) AddChild(child Node)
- func (n *BaseNode) AddChildFront(child Node)
- func (n *BaseNode) Child(i int) Node
- func (n *BaseNode) DebugString(maxDepth int) string
- func (n *BaseNode) FindChildIndex(kind Kind) int
- func (n *BaseNode) ID() int
- func (n *BaseNode) IsAlterStatement() bool
- func (n *BaseNode) IsCreateStatement() bool
- func (n *BaseNode) IsDdlStatement() bool
- func (n *BaseNode) IsExpression() bool
- func (n *BaseNode) IsLeaf() bool
- func (n *BaseNode) IsLoopStatement() bool
- func (n *BaseNode) IsQueryExpression() bool
- func (n *BaseNode) IsScriptStatement() bool
- func (n *BaseNode) IsSqlStatement() bool
- func (n *BaseNode) IsStatement() bool
- func (n *BaseNode) IsTableExpression() bool
- func (n *BaseNode) IsType() bool
- func (n *BaseNode) Kind() Kind
- func (n *BaseNode) LocationString() string
- func (n *BaseNode) MoveEndLocationBack(bytes int)
- func (n *BaseNode) MoveStartLocation(bytes int)
- func (n *BaseNode) MoveStartLocationBack(bytes int)
- func (n *BaseNode) MutableChild(i int) Node
- func (n *BaseNode) NumChildren() int
- func (n *BaseNode) Parent() Node
- func (n *BaseNode) ParseLocationRange() *types.ParseLocationRange
- func (n *BaseNode) SetEndLocation(v *types.ParseLocationPoint)
- func (n *BaseNode) SetParent(parent Node)
- func (n *BaseNode) SetStartLocation(v *types.ParseLocationPoint)
- func (n *BaseNode) SetStartLocationToEndLocation()
- func (n *BaseNode) SingleNodeDebugString() string
- type BeginEndBlockNode
- type BeginStatementNode
- type BetweenExpressionNode
- type BigNumericLiteralNode
- type BinaryExpressionNode
- func (n *BinaryExpressionNode) IsNot() bool
- func (n *BinaryExpressionNode) Lhs() ExpressionNode
- func (n *BinaryExpressionNode) Op() BinaryOp
- func (n *BinaryExpressionNode) Rhs() ExpressionNode
- func (n *BinaryExpressionNode) SQLForOperator() string
- func (n *BinaryExpressionNode) SetIsNot(isNot bool)
- func (n *BinaryExpressionNode) SetOp(op BinaryOp)
- type BinaryOp
- type BitwiseShiftExpressionNode
- type BooleanLiteralNode
- type BreakContinueKeyword
- type BreakContinueStatementNode
- type BreakStatementNode
- type BytesLiteralNode
- type CallStatementNode
- type CaseNoValueExpressionNode
- type CaseStatementNode
- type CaseValueExpressionNode
- type CastExpressionNode
- type CheckConstraintNode
- type ClampedBetweenModifierNode
- type CloneDataSourceListNode
- type CloneDataSourceNode
- type CloneDataStatementNode
- type ClusterByNode
- type CollateNode
- type ColumnAttributeBaseNode
- type ColumnAttributeListNode
- type ColumnAttributeNode
- type ColumnDefinitionNode
- type ColumnListNode
- type ColumnPositionNode
- type ColumnRelativePositionType
- type ColumnSchemaNode
- func (n *ColumnSchemaNode) Attributes() *ColumnAttributeListNode
- func (n *ColumnSchemaNode) Collate() *CollateNode
- func (n *ColumnSchemaNode) ContainsAttribute(kind Kind) bool
- func (n *ColumnSchemaNode) DefaultExpression() ExpressionNode
- func (n *ColumnSchemaNode) GeneratedColumnInfo() *GeneratedColumnInfoNode
- func (n *ColumnSchemaNode) OptionsList() *OptionsListNode
- func (n *ColumnSchemaNode) TypeParameters() *TypeParameterListNode
- type CommitStatementNode
- type ConnectionClauseNode
- type ContinueStatementNode
- type CopyDataSourceNode
- type CreateConstantStatementNode
- type CreateDatabaseStatementNode
- type CreateEntityStatementNode
- func (n *CreateEntityStatementNode) JSONBody() *JSONLiteralNode
- func (n *CreateEntityStatementNode) Name() *PathExpressionNode
- func (n *CreateEntityStatementNode) OptionsList() *OptionsListNode
- func (n *CreateEntityStatementNode) TextBody() *StringLiteralNode
- func (n *CreateEntityStatementNode) Type() *IdentifierNode
- type CreateExternalTableStatementNode
- type CreateFunctionStatementNode
- func (n *CreateFunctionStatementNode) IsAggregate() bool
- func (n *CreateFunctionStatementNode) IsRemote() bool
- func (n *CreateFunctionStatementNode) ReturnType() TypeNode
- func (n *CreateFunctionStatementNode) SetIsAggregate(isAggregate bool)
- func (n *CreateFunctionStatementNode) SetIsRemote(isRemote bool)
- func (n *CreateFunctionStatementNode) SqlFunctionBody() *SqlFunctionBodyNode
- func (n *CreateFunctionStatementNode) WithConnectionClause() *WithConnectionClauseNode
- type CreateFunctionStmtBaseNode
- func (n *CreateFunctionStmtBaseNode) Code() *StringLiteralNode
- func (n *CreateFunctionStmtBaseNode) DeterminismLevel() DeterminismLevel
- func (n *CreateFunctionStmtBaseNode) FunctionDeclaration() *FunctionDeclarationNode
- func (n *CreateFunctionStmtBaseNode) Language() *IdentifierNode
- func (n *CreateFunctionStmtBaseNode) OptionsList() *OptionsListNode
- func (n *CreateFunctionStmtBaseNode) SetDeterminismLevel(level DeterminismLevel)
- func (n *CreateFunctionStmtBaseNode) SetSqlSecurity(security SqlSecurity)
- func (n *CreateFunctionStmtBaseNode) SqlSecurity() SqlSecurity
- type CreateIndexStatementNode
- func (n *CreateIndexStatementNode) IndexItemList() *IndexItemListNode
- func (n *CreateIndexStatementNode) IsSearch() bool
- func (n *CreateIndexStatementNode) IsUnique() bool
- func (n *CreateIndexStatementNode) Name() *PathExpressionNode
- func (n *CreateIndexStatementNode) OptionalIndexSotringExpressions() *IndexStoringExpressionListNode
- func (n *CreateIndexStatementNode) OptionalIndexUnnestExpressionList() *IndexUnnestExpressionListNode
- func (n *CreateIndexStatementNode) OptionalTableAlias() *AliasNode
- func (n *CreateIndexStatementNode) OptionsList() *OptionsListNode
- func (n *CreateIndexStatementNode) SetIsSearch(isSearch bool)
- func (n *CreateIndexStatementNode) SetIsUnique(isUnique bool)
- func (n *CreateIndexStatementNode) TableName() *PathExpressionNode
- type CreateMaterializedViewStatementNode
- type CreateModelStatementNode
- type CreatePrivilegeRestrictionStatementNode
- func (n *CreatePrivilegeRestrictionStatementNode) NamePath() *PathExpressionNode
- func (n *CreatePrivilegeRestrictionStatementNode) ObjectType() *IdentifierNode
- func (n *CreatePrivilegeRestrictionStatementNode) Privileges() *PrivilegesNode
- func (n *CreatePrivilegeRestrictionStatementNode) RestrictTo() *RestrictToClauseNode
- type CreateProcedureStatementNode
- type CreateRowAccessPolicyStatementNode
- func (n *CreateRowAccessPolicyStatementNode) FilterUsing() *FilterUsingClauseNode
- func (n *CreateRowAccessPolicyStatementNode) GrantTo() *GrantToClauseNode
- func (n *CreateRowAccessPolicyStatementNode) HasAccessKeyword() bool
- func (n *CreateRowAccessPolicyStatementNode) Name() *IdentifierNode
- func (n *CreateRowAccessPolicyStatementNode) SetHasAccessKeyword(v bool)
- func (n *CreateRowAccessPolicyStatementNode) TargetPath() *PathExpressionNode
- type CreateSchemaStatementNode
- type CreateSnapshotTableStatementNode
- type CreateStatementNode
- func (n *CreateStatementNode) IsDefaultScope() bool
- func (n *CreateStatementNode) IsIfNotExists() bool
- func (n *CreateStatementNode) IsOrReplace() bool
- func (n *CreateStatementNode) IsPrivate() bool
- func (n *CreateStatementNode) IsPublic() bool
- func (n *CreateStatementNode) IsTemp() bool
- func (n *CreateStatementNode) Scope() CreateStatementScope
- func (n *CreateStatementNode) SetIsIfNotExists(isIfNotExists bool)
- func (n *CreateStatementNode) SetIsOrReplace(isOrReplace bool)
- func (n *CreateStatementNode) SetScope(scope CreateStatementScope)
- type CreateStatementScope
- type CreateTableFunctionStatementNode
- type CreateTableStatementNode
- func (n *CreateTableStatementNode) CloneDataSource() *CloneDataSourceNode
- func (n *CreateTableStatementNode) ClusterBy() *ClusterByNode
- func (n *CreateTableStatementNode) CopyDataSource() *CopyDataSourceNode
- func (n *CreateTableStatementNode) PartitionBy() *PartitionByNode
- func (n *CreateTableStatementNode) Query() *QueryNode
- type CreateTableStmtBaseNode
- func (n *CreateTableStmtBaseNode) Collate() *CollateNode
- func (n *CreateTableStmtBaseNode) LikeTableName() *PathExpressionNode
- func (n *CreateTableStmtBaseNode) Name() *PathExpressionNode
- func (n *CreateTableStmtBaseNode) OptionsList() *OptionsListNode
- func (n *CreateTableStmtBaseNode) TableElementList() *TableElementListNode
- type CreateViewStatementBaseNode
- type CreateViewStatementNode
- type DateOrTimeLiteralNode
- type DdlStatementBaseNode
- type DdlStatementNode
- type DefaultLiteralNode
- type DefineTableStatementNode
- type DeleteStatementNode
- func (n *DeleteStatementNode) Alias() *AliasNode
- func (n *DeleteStatementNode) AssertRowsModified() *AssertRowsModifiedNode
- func (n *DeleteStatementNode) Offset() *WithOffsetNode
- func (n *DeleteStatementNode) Returning() *ReturningClauseNode
- func (n *DeleteStatementNode) TargetPath() GeneralizedPathExpressionNode
- func (n *DeleteStatementNode) Where() ExpressionNode
- type DescribeStatementNode
- type DescriptorColumnListNode
- type DescriptorColumnNode
- type DescriptorNode
- type DeterminismLevel
- type DotGeneralizedFieldNode
- type DotIdentifierNode
- type DotStarNode
- type DotStarWithModifiersNode
- type DropAllRowAccessPoliciesStatementNode
- type DropColumnActionNode
- type DropConstraintActionNode
- type DropEntityStatementNode
- type DropFunctionStatementNode
- type DropMaterializedViewStatementNode
- type DropMode
- type DropPrimaryKeyActionNode
- type DropPrivilegeRestrictionStatementNode
- func (n *DropPrivilegeRestrictionStatementNode) IsIfExists() bool
- func (n *DropPrivilegeRestrictionStatementNode) NamePath() *PathExpressionNode
- func (n *DropPrivilegeRestrictionStatementNode) ObjectType() *IdentifierNode
- func (n *DropPrivilegeRestrictionStatementNode) Privileges() *PrivilegesNode
- func (n *DropPrivilegeRestrictionStatementNode) SetIsIfExists(isIfExists bool)
- type DropRowAccessPolicyStatementNode
- type DropSearchIndexStatementNode
- type DropSnapshotTableStatementNode
- type DropStatementNode
- func (n *DropStatementNode) DropMode() DropMode
- func (n *DropStatementNode) IsIfExists() bool
- func (n *DropStatementNode) Name() *PathExpressionNode
- func (n *DropStatementNode) SchemaObjectKind() SchemaObjectKind
- func (n *DropStatementNode) SetDropMode(mode DropMode)
- func (n *DropStatementNode) SetIsIfExists(isIfExists bool)
- func (n *DropStatementNode) SetSchemaObjectKind(kind SchemaObjectKind)
- type DropTableFunctionStatementNode
- type ElseifClauseListNode
- type ElseifClauseNode
- type ExceptionHandlerListNode
- type ExceptionHandlerNode
- type ExecuteImmediateStatementNode
- type ExecuteIntoClauseNode
- type ExecuteUsingArgumentNode
- type ExecuteUsingClauseNode
- type ExplainStatementNode
- type ExportDataStatementNode
- type ExportModelStatementNode
- type ExpressionBaseNode
- type ExpressionNode
- type ExpressionSubqueryModifier
- type ExpressionSubqueryNode
- type ExtractExpressionNode
- type FilterFieldsArgNode
- type FilterType
- type FilterUsingClauseNode
- type FloatLiteralNode
- type ForInStatementNode
- type ForSystemTimeNode
- type ForeignKeyAction
- type ForeignKeyActionsNode
- type ForeignKeyColumnAttributeNode
- type ForeignKeyNode
- type ForeignKeyReferenceMatch
- type ForeignKeyReferenceNode
- func (n *ForeignKeyReferenceNode) Actions() *ForeignKeyActionsNode
- func (n *ForeignKeyReferenceNode) ColumnList() *ColumnListNode
- func (n *ForeignKeyReferenceNode) Enforced() bool
- func (n *ForeignKeyReferenceNode) Match() ForeignKeyReferenceMatch
- func (n *ForeignKeyReferenceNode) SetEnforced(enforced bool)
- func (n *ForeignKeyReferenceNode) SetMatch(match ForeignKeyReferenceMatch)
- func (n *ForeignKeyReferenceNode) TableName() *PathExpressionNode
- type FormatClauseNode
- type FromClauseNode
- type FunctionCallNode
- func (n *FunctionCallNode) Arguments() []ExpressionNode
- func (n *FunctionCallNode) ClampedBetweenModifier() *ClampedBetweenModifierNode
- func (n *FunctionCallNode) Distinct() bool
- func (n *FunctionCallNode) Function() *PathExpressionNode
- func (n *FunctionCallNode) HasModifiers() bool
- func (n *FunctionCallNode) HavingModifier() *HavingModifierNode
- func (n *FunctionCallNode) Hint() *HintNode
- func (n *FunctionCallNode) IsCurrentDateTimeWithoutParentheses() bool
- func (n *FunctionCallNode) LimitOffset() *LimitOffsetNode
- func (n *FunctionCallNode) NullHandlingModifier() NullHandlingModifier
- func (n *FunctionCallNode) OrderBy() *OrderByNode
- func (n *FunctionCallNode) SetDistinct(distinct bool)
- func (n *FunctionCallNode) SetIsCurrentDateTimeWithoutParentheses(v bool)
- func (n *FunctionCallNode) SetNullHandlingModifier(mod NullHandlingModifier)
- func (n *FunctionCallNode) WithGroupRows() *WithGroupRowsNode
- type FunctionCallWithGroupRowsNode
- type FunctionDeclarationNode
- type FunctionParameterNode
- func (n *FunctionParameterNode) Alias() *AliasNode
- func (n *FunctionParameterNode) DefaultValue() ExpressionNode
- func (n *FunctionParameterNode) IsNotAggregate() bool
- func (n *FunctionParameterNode) IsTableParameter() bool
- func (n *FunctionParameterNode) IsTemplated() bool
- func (n *FunctionParameterNode) Name() *IdentifierNode
- func (n *FunctionParameterNode) ProcedureParameterMode() ProcedureParameterMode
- func (n *FunctionParameterNode) SetIsNotAggregate(isNotAggregate bool)
- func (n *FunctionParameterNode) SetProcedureParameterMode(mode ProcedureParameterMode)
- func (n *FunctionParameterNode) TVFSchema() *TVFSchemaNode
- func (n *FunctionParameterNode) TemplatedParameterType() *TemplatedParameterTypeNode
- func (n *FunctionParameterNode) Type() TypeNode
- type FunctionParametersNode
- type GeneralizedPathExpressionBaseNode
- type GeneralizedPathExpressionNode
- type GeneratedColumnInfoNode
- type GeneratedColumnInfoStoredMode
- type GrantStatementNode
- type GrantToClauseNode
- type GranteeListNode
- type GroupByNode
- type GroupingItemNode
- type HavingModifierKind
- type HavingModifierNode
- type HavingNode
- type HiddenColumnAttributeNode
- type HintEntryNode
- type HintNode
- type HintedStatementNode
- type IdentifierListNode
- type IdentifierNode
- type IfStatementNode
- type ImportStatementKind
- type ImportStatementNode
- func (n *ImportStatementNode) Alias() *AliasNode
- func (n *ImportStatementNode) ImportKind() ImportStatementKind
- func (n *ImportStatementNode) IntoAlias() *IntoAliasNode
- func (n *ImportStatementNode) Name() *PathExpressionNode
- func (n *ImportStatementNode) OptionsList() *OptionsListNode
- func (n *ImportStatementNode) SetImportKind(kind ImportStatementKind)
- func (n *ImportStatementNode) StringValue() *StringLiteralNode
- type InExpressionNode
- func (n *InExpressionNode) Hint() *HintNode
- func (n *InExpressionNode) InList() *InListNode
- func (n *InExpressionNode) IsNot() bool
- func (n *InExpressionNode) Lhs() ExpressionNode
- func (n *InExpressionNode) Query() *QueryNode
- func (n *InExpressionNode) SetIsNot(isNot bool)
- func (n *InExpressionNode) UnnestExpr() *UnnestExpressionNode
- type InListNode
- type IndexAllColumnsNode
- type IndexItemListNode
- type IndexStoringExpressionListNode
- type IndexUnnestExpressionListNode
- type InferredTypeColumnSchemaNode
- type InsertMode
- type InsertStatementNode
- func (n *InsertStatementNode) AssertRowsModified() *AssertRowsModifiedNode
- func (n *InsertStatementNode) ColumnList() *ColumnListNode
- func (n *InsertStatementNode) InsertMode() InsertMode
- func (n *InsertStatementNode) ParseProgress() ParseProgress
- func (n *InsertStatementNode) Query() *QueryNode
- func (n *InsertStatementNode) Returning() *ReturningClauseNode
- func (n *InsertStatementNode) Rows() *InsertValuesRowListNode
- func (n *InsertStatementNode) SQLForInsertMode() string
- func (n *InsertStatementNode) SetInsertMode(mode InsertMode)
- func (n *InsertStatementNode) SetParseProgress(progress ParseProgress)
- func (n *InsertStatementNode) TargetPath() GeneralizedPathExpressionNode
- type InsertValuesRowListNode
- type InsertValuesRowNode
- type InsertionMode
- type IntLiteralNode
- type IntervalExprNode
- type IntoAliasNode
- type JSONLiteralNode
- type JoinHint
- type JoinNode
- func (n *JoinNode) ContainsCommaJoin() bool
- func (n *JoinNode) Hint() *HintNode
- func (n *JoinNode) JoinHint() JoinHint
- func (n *JoinNode) JoinType() JoinType
- func (n *JoinNode) Lhs() TableExpressionNode
- func (n *JoinNode) Natural() bool
- func (n *JoinNode) OnClause() *OnClauseNode
- func (n *JoinNode) ParseError() *JoinParseError
- func (n *JoinNode) Rhs() TableExpressionNode
- func (n *JoinNode) SQLForJoinHint() string
- func (n *JoinNode) SQLForJoinType() string
- func (n *JoinNode) SetContainsCommaJoin(commaJoin bool)
- func (n *JoinNode) SetJoinHint(hint JoinHint)
- func (n *JoinNode) SetJoinType(typ JoinType)
- func (n *JoinNode) SetNatural(natural bool)
- func (n *JoinNode) SetTransformationNeeded(needed bool)
- func (n *JoinNode) SetUnmatchedJoinCount(count int)
- func (n *JoinNode) TransformationNeeded() bool
- func (n *JoinNode) UnmatchedJoinCount() int
- func (n *JoinNode) UsingClause() *UsingClauseNode
- type JoinParseError
- type JoinType
- type Kind
- type LabelNode
- type LambdaNode
- type LeafBaseNode
- type LeafNode
- type LikeExpressionNode
- func (n *LikeExpressionNode) Hint() *HintNode
- func (n *LikeExpressionNode) InList() *InListNode
- func (n *LikeExpressionNode) IsNot() bool
- func (n *LikeExpressionNode) Lhs() ExpressionNode
- func (n *LikeExpressionNode) Op() *AnySomeAllOpNode
- func (n *LikeExpressionNode) Query() *QueryNode
- func (n *LikeExpressionNode) SetIsNot(isNot bool)
- func (n *LikeExpressionNode) UnnestExpr() *UnnestExpressionNode
- type LimitOffsetNode
- type LoopStatementNode
- type MaxLiteralNode
- type MergeActionNode
- type MergeActionType
- type MergeMatchType
- type MergeStatementNode
- func (n *MergeStatementNode) Alias() *AliasNode
- func (n *MergeStatementNode) MergeCondition() ExpressionNode
- func (n *MergeStatementNode) TableExpression() TableExpressionNode
- func (n *MergeStatementNode) TargetPath() *PathExpressionNode
- func (n *MergeStatementNode) WhenClauses() *MergeWhenClauseListNode
- type MergeWhenClauseListNode
- type MergeWhenClauseNode
- type ModelClauseNode
- type ModuleStatementNode
- type NamedArgumentNode
- type NewConstructorArgNode
- type NewConstructorNode
- type Node
- type NotNullColumnAttributeNode
- type NullHandlingModifier
- type NullLiteralNode
- type NullOrderNode
- type NumericLiteralNode
- type OnClauseNode
- type OnOrUsingClauseListNode
- type OptionsEntryNode
- type OptionsListNode
- type OrExprNode
- type OrderByNode
- type OrderingExpressionNode
- func (n *OrderingExpressionNode) Collate() *CollateNode
- func (n *OrderingExpressionNode) Expression() ExpressionNode
- func (n *OrderingExpressionNode) NullOrder() *NullOrderNode
- func (n *OrderingExpressionNode) OrderingSpec() OrderingSpec
- func (n *OrderingExpressionNode) SetOrderingSpec(spec OrderingSpec)
- type OrderingSpec
- type ParameterAssignmentNode
- type ParameterExprBaseNode
- type ParameterExprNode
- type ParenthesizedJoinNode
- type ParseProgress
- type PartitionByNode
- type PathExpressionListNode
- type PathExpressionNode
- type PivotClauseNode
- type PivotExpressionListNode
- type PivotExpressionNode
- type PivotValueListNode
- type PivotValueNode
- type PrimaryKeyColumnAttributeNode
- type PrimaryKeyNode
- type PrivilegeNode
- type PrivilegesNode
- type ProcedureParameterMode
- type QualifyNode
- type QueryExpressionBaseNode
- type QueryExpressionNode
- type QueryNode
- func (n *QueryNode) IsNested() bool
- func (n *QueryNode) IsPivotInput() bool
- func (n *QueryNode) LimitOffset() *LimitOffsetNode
- func (n *QueryNode) OrderBy() *OrderByNode
- func (n *QueryNode) QueryExpr() QueryExpressionNode
- func (n *QueryNode) SetIsNested(isNested bool)
- func (n *QueryNode) SetIsPivotInput(isPivotInput bool)
- func (n *QueryNode) WithClause() *WithClauseNode
- type QueryStatementNode
- type RaiseStatementNode
- type RemoveFromRestricteeListClauseNode
- type RenameColumnActionNode
- type RenameStatementNode
- type RenameToClauseNode
- type RepeatStatementNode
- type RepeatableClauseNode
- type ReplaceFieldsArgNode
- type ReplaceFieldsExpressionNode
- type RestrictToClauseNode
- type ReturnStatementNode
- type ReturningClauseNode
- type RevokeFromClauseNode
- type RevokeStatementNode
- type RollbackStatementNode
- type RollupNode
- type RunBatchStatementNode
- type SampleClauseNode
- type SampleSizeNode
- type SampleSizeUnit
- type SampleSuffixNode
- type SchemaObjectKind
- type ScriptBaseNode
- type ScriptNode
- type ScriptStatementNode
- type SelectAsNode
- type SelectColumnNode
- type SelectListNode
- type SelectNode
- func (n *SelectNode) AnonymizationOptions() *OptionsListNode
- func (n *SelectNode) Distinct() bool
- func (n *SelectNode) FromClause() *FromClauseNode
- func (n *SelectNode) GroupBy() *GroupByNode
- func (n *SelectNode) Having() *HavingNode
- func (n *SelectNode) Hint() *HintNode
- func (n *SelectNode) Qualify() *QualifyNode
- func (n *SelectNode) SelectAs() *SelectAsNode
- func (n *SelectNode) SelectList() *SelectListNode
- func (n *SelectNode) SetDistinct(distinct bool)
- func (n *SelectNode) WhereClause() *WhereClauseNode
- func (n *SelectNode) WindowClause() *WindowClauseNode
- type SetAsActionNode
- type SetCollateClauseNode
- type SetOperationNode
- func (n *SetOperationNode) Distinct() bool
- func (n *SetOperationNode) Hint() *HintNode
- func (n *SetOperationNode) Inputs() []QueryExpressionNode
- func (n *SetOperationNode) OpType() SetOperationType
- func (n *SetOperationNode) SQLForOperation() string
- func (n *SetOperationNode) SetDistinct(distinct bool)
- func (n *SetOperationNode) SetOpType(opType SetOperationType)
- type SetOperationType
- type SetOptionsActionNode
- type SetTransactionStatementNode
- type ShowStatementNode
- type SimpleColumnSchemaNode
- type SimpleTypeNode
- type SingleAssignmentNode
- type SqlFunctionBodyNode
- type SqlSecurity
- type StarExceptListNode
- type StarModifiersNode
- type StarNode
- type StarReplaceItemNode
- type StarWithModifiersNode
- type StartBatchStatementNode
- type StatementBaseNode
- type StatementListNode
- type StatementNode
- type StringLiteralNode
- type StructColumnFieldNode
- type StructColumnSchemaNode
- type StructConstructorArgNode
- type StructConstructorWithKeywordNode
- type StructConstructorWithParensNode
- type StructFieldNode
- type StructTypeNode
- type SystemVariableAssignmentNode
- type SystemVariableExprNode
- type TVFArgumentNode
- type TVFNode
- func (n *TVFNode) Alias() *AliasNode
- func (n *TVFNode) ArgumentEntries() []*TVFArgumentNode
- func (n *TVFNode) Hint() *HintNode
- func (n *TVFNode) Name() *PathExpressionNode
- func (n *TVFNode) PivotClause() *PivotClauseNode
- func (n *TVFNode) SampleClause() *SampleClauseNode
- func (n *TVFNode) UnpivotClause() *UnpivotClauseNode
- type TVFSchemaColumnNode
- type TVFSchemaNode
- type TableAndColumnInfoListNode
- type TableAndColumnInfoNode
- type TableClauseNode
- type TableConstraintBaseNode
- type TableConstraintNode
- type TableDataSourceNode
- type TableElementBaseNode
- type TableElementListNode
- type TableElementNode
- type TableExpressionBaseNode
- type TableExpressionNode
- type TablePathExpressionNode
- func (n *TablePathExpressionNode) Alias() *AliasNode
- func (n *TablePathExpressionNode) ForSystemTime() *ForSystemTimeNode
- func (n *TablePathExpressionNode) Hint() *HintNode
- func (n *TablePathExpressionNode) PathExpr() *PathExpressionNode
- func (n *TablePathExpressionNode) PivotClause() *PivotClauseNode
- func (n *TablePathExpressionNode) SampleClause() *SampleClauseNode
- func (n *TablePathExpressionNode) UnnestExpr() *UnnestExpressionNode
- func (n *TablePathExpressionNode) UnpivotClause() *UnpivotClauseNode
- func (n *TablePathExpressionNode) WithOffset() *WithOffsetNode
- type TableSubqueryNode
- type TemplatedParameterTypeNode
- type TemplatedTypeKind
- type TransactionIsolationLevelNode
- type TransactionModeBaseNode
- type TransactionModeListNode
- type TransactionModeNode
- type TransactionReadWriteModeNode
- type TransactionReadWriteModeType
- type TransformClauseNode
- type TrucateStatementNode
- type TypeBaseNode
- type TypeKind
- type TypeNode
- type TypeParameterListNode
- type UnaryExpressionNode
- type UnaryExpressionOp
- type UnnestExpressionNode
- type UnnestExpressionWithOptAliasAndOffsetNode
- type UnpivotClauseNode
- func (n *UnpivotClauseNode) NullFilter() UnpivotNullFilter
- func (n *UnpivotClauseNode) OutputAlias() *AliasNode
- func (n *UnpivotClauseNode) SetNullFilter(filter UnpivotNullFilter)
- func (n *UnpivotClauseNode) UnpivotInItems() *UnpivotInItemListNode
- func (n *UnpivotClauseNode) UnpivotOutputNameColumn() *PathExpressionNode
- func (n *UnpivotClauseNode) UnpivotOutputValueColumns() *PathExpressionListNode
- type UnpivotInItemLabelNode
- type UnpivotInItemListNode
- type UnpivotInItemNode
- type UnpivotNullFilter
- type UntilClauseNode
- type UpdateItemListNode
- type UpdateItemNode
- type UpdateSetValueNode
- type UpdateStatementNode
- func (n *UpdateStatementNode) Alias() *AliasNode
- func (n *UpdateStatementNode) AssertRowsModified() *AssertRowsModifiedNode
- func (n *UpdateStatementNode) FromClause() *FromClauseNode
- func (n *UpdateStatementNode) Offset() *WithOffsetNode
- func (n *UpdateStatementNode) Returning() *ReturningClauseNode
- func (n *UpdateStatementNode) TargetPath() GeneralizedPathExpressionNode
- func (n *UpdateStatementNode) UpdateItemList() *UpdateItemListNode
- func (n *UpdateStatementNode) Where() ExpressionNode
- type UsingClauseNode
- type VariableDeclarationNode
- type WhenThenClauseListNode
- type WhenThenClauseNode
- type WhereClauseNode
- type WhileStatementNode
- type WindowClauseNode
- type WindowDefinitionNode
- type WindowFrameBoundaryType
- type WindowFrameExprNode
- type WindowFrameNode
- type WindowFrameUnit
- type WindowSpecificationNode
- type WithClauseEntryNode
- type WithClauseNode
- type WithConnectionClauseNode
- type WithGroupRowsNode
- type WithOffsetNode
- type WithPartitionColumnsClauseNode
- type WithWeightNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AbortBatchStatementNode ¶
type AbortBatchStatementNode struct {
*StatementBaseNode
}
type AddColumnActionNode ¶
type AddColumnActionNode struct {
*AlterActionBaseNode
}
func (*AddColumnActionNode) ColumnDefinition ¶
func (n *AddColumnActionNode) ColumnDefinition() *ColumnDefinitionNode
func (*AddColumnActionNode) ColumnPosition ¶
func (n *AddColumnActionNode) ColumnPosition() *ColumnPositionNode
func (*AddColumnActionNode) FillExpression ¶
func (n *AddColumnActionNode) FillExpression() ExpressionNode
func (*AddColumnActionNode) IsIfNotExists ¶
func (n *AddColumnActionNode) IsIfNotExists() bool
func (*AddColumnActionNode) SetIsIfNotExists ¶
func (n *AddColumnActionNode) SetIsIfNotExists(isIfNotExists bool)
type AddConstraintActionNode ¶
type AddConstraintActionNode struct {
*AlterActionBaseNode
}
func (*AddConstraintActionNode) Constraint ¶
func (n *AddConstraintActionNode) Constraint() TableConstraintNode
func (*AddConstraintActionNode) IsIfNotExists ¶
func (n *AddConstraintActionNode) IsIfNotExists() bool
func (*AddConstraintActionNode) SetIsIfNotExists ¶
func (n *AddConstraintActionNode) SetIsIfNotExists(isIfNotExists bool)
type AddToRestricteeListClauseNode ¶
type AddToRestricteeListClauseNode struct {
*AlterActionBaseNode
}
func (*AddToRestricteeListClauseNode) IsIfNotExists ¶
func (n *AddToRestricteeListClauseNode) IsIfNotExists() bool
func (*AddToRestricteeListClauseNode) RestricteeList ¶
func (n *AddToRestricteeListClauseNode) RestricteeList() *GranteeListNode
func (*AddToRestricteeListClauseNode) SetIsIfNotExists ¶
func (n *AddToRestricteeListClauseNode) SetIsIfNotExists(isIfNotExists bool)
type AliasNode ¶
type AliasNode struct {
*BaseNode
}
func (*AliasNode) Identifier ¶
func (n *AliasNode) Identifier() *IdentifierNode
type AlterActionBaseNode ¶
type AlterActionBaseNode struct {
*BaseNode
}
func (*AlterActionBaseNode) SQLForAlterAction ¶
func (n *AlterActionBaseNode) SQLForAlterAction() string
type AlterActionListNode ¶
type AlterActionListNode struct {
*BaseNode
}
func (*AlterActionListNode) Actions ¶
func (n *AlterActionListNode) Actions() []AlterActionNode
type AlterActionNode ¶
type AlterActionNode interface { Node }
type AlterAllRowAccessPoliciesStatementNode ¶
type AlterAllRowAccessPoliciesStatementNode struct {
*StatementBaseNode
}
func (*AlterAllRowAccessPoliciesStatementNode) AlterAction ¶
func (n *AlterAllRowAccessPoliciesStatementNode) AlterAction() AlterActionNode
func (*AlterAllRowAccessPoliciesStatementNode) TableNamePath ¶
func (n *AlterAllRowAccessPoliciesStatementNode) TableNamePath() *PathExpressionNode
type AlterColumnDropDefaultActionNode ¶
type AlterColumnDropDefaultActionNode struct {
*AlterActionBaseNode
}
func (*AlterColumnDropDefaultActionNode) ColumnName ¶
func (n *AlterColumnDropDefaultActionNode) ColumnName() *IdentifierNode
func (*AlterColumnDropDefaultActionNode) IsIfExists ¶
func (n *AlterColumnDropDefaultActionNode) IsIfExists() bool
func (*AlterColumnDropDefaultActionNode) SetIsIfExists ¶
func (n *AlterColumnDropDefaultActionNode) SetIsIfExists(isIfNotExists bool)
type AlterColumnDropNotNullActionNode ¶
type AlterColumnDropNotNullActionNode struct {
*AlterActionBaseNode
}
func (*AlterColumnDropNotNullActionNode) ColumnName ¶
func (n *AlterColumnDropNotNullActionNode) ColumnName() *IdentifierNode
func (*AlterColumnDropNotNullActionNode) IsIfExists ¶
func (n *AlterColumnDropNotNullActionNode) IsIfExists() bool
func (*AlterColumnDropNotNullActionNode) SetIsIfExists ¶
func (n *AlterColumnDropNotNullActionNode) SetIsIfExists(isIfNotExists bool)
type AlterColumnOptionsActionNode ¶
type AlterColumnOptionsActionNode struct {
*AlterActionBaseNode
}
func (*AlterColumnOptionsActionNode) ColumnName ¶
func (n *AlterColumnOptionsActionNode) ColumnName() *IdentifierNode
func (*AlterColumnOptionsActionNode) IsIfExists ¶
func (n *AlterColumnOptionsActionNode) IsIfExists() bool
func (*AlterColumnOptionsActionNode) OptionsList ¶
func (n *AlterColumnOptionsActionNode) OptionsList() *OptionsListNode
func (*AlterColumnOptionsActionNode) SetIsIfExists ¶
func (n *AlterColumnOptionsActionNode) SetIsIfExists(isIfNotExists bool)
type AlterColumnSetDefaultActionNode ¶
type AlterColumnSetDefaultActionNode struct {
*AlterActionBaseNode
}
func (*AlterColumnSetDefaultActionNode) ColumnName ¶
func (n *AlterColumnSetDefaultActionNode) ColumnName() *IdentifierNode
func (*AlterColumnSetDefaultActionNode) DefaultExpression ¶
func (n *AlterColumnSetDefaultActionNode) DefaultExpression() ExpressionNode
func (*AlterColumnSetDefaultActionNode) IsIfExists ¶
func (n *AlterColumnSetDefaultActionNode) IsIfExists() bool
func (*AlterColumnSetDefaultActionNode) SetIsIfExists ¶
func (n *AlterColumnSetDefaultActionNode) SetIsIfExists(isIfNotExists bool)
type AlterColumnTypeActionNode ¶
type AlterColumnTypeActionNode struct {
*AlterActionBaseNode
}
func (*AlterColumnTypeActionNode) Collate ¶
func (n *AlterColumnTypeActionNode) Collate() *CollateNode
func (*AlterColumnTypeActionNode) ColumnName ¶
func (n *AlterColumnTypeActionNode) ColumnName() *IdentifierNode
func (*AlterColumnTypeActionNode) IsIfExists ¶
func (n *AlterColumnTypeActionNode) IsIfExists() bool
func (*AlterColumnTypeActionNode) Schema ¶
func (n *AlterColumnTypeActionNode) Schema() *ColumnSchemaNode
func (*AlterColumnTypeActionNode) SetIsIfExists ¶
func (n *AlterColumnTypeActionNode) SetIsIfExists(isIfNotExists bool)
type AlterConstraintEnforcementActionNode ¶
type AlterConstraintEnforcementActionNode struct {
*AlterActionBaseNode
}
func (*AlterConstraintEnforcementActionNode) ConstraintName ¶
func (n *AlterConstraintEnforcementActionNode) ConstraintName() *IdentifierNode
func (*AlterConstraintEnforcementActionNode) IsEnforced ¶
func (n *AlterConstraintEnforcementActionNode) IsEnforced() bool
func (*AlterConstraintEnforcementActionNode) IsIfExists ¶
func (n *AlterConstraintEnforcementActionNode) IsIfExists() bool
func (*AlterConstraintEnforcementActionNode) SetIsEnforced ¶
func (n *AlterConstraintEnforcementActionNode) SetIsEnforced(enforced bool)
func (*AlterConstraintEnforcementActionNode) SetIsIfExists ¶
func (n *AlterConstraintEnforcementActionNode) SetIsIfExists(isIfNotExists bool)
type AlterConstraintSetOptionsActionNode ¶
type AlterConstraintSetOptionsActionNode struct {
*AlterActionBaseNode
}
func (*AlterConstraintSetOptionsActionNode) ConstraintName ¶
func (n *AlterConstraintSetOptionsActionNode) ConstraintName() *IdentifierNode
func (*AlterConstraintSetOptionsActionNode) IsIfExists ¶
func (n *AlterConstraintSetOptionsActionNode) IsIfExists() bool
func (*AlterConstraintSetOptionsActionNode) OptionsList ¶
func (n *AlterConstraintSetOptionsActionNode) OptionsList() *OptionsListNode
func (*AlterConstraintSetOptionsActionNode) SetIsIfExists ¶
func (n *AlterConstraintSetOptionsActionNode) SetIsIfExists(isIfNotExists bool)
type AlterDatabaseStatementNode ¶
type AlterDatabaseStatementNode struct {
*AlterStatementBaseNode
}
type AlterEntityStatementNode ¶
type AlterEntityStatementNode struct {
*AlterStatementBaseNode
}
func (*AlterEntityStatementNode) Type ¶
func (n *AlterEntityStatementNode) Type() *IdentifierNode
type AlterMaterializedViewStatementNode ¶
type AlterMaterializedViewStatementNode struct {
*AlterStatementBaseNode
}
type AlterPrivilegeRestrictionStatementNode ¶
type AlterPrivilegeRestrictionStatementNode struct {
*AlterStatementBaseNode
}
func (*AlterPrivilegeRestrictionStatementNode) ObjectType ¶
func (n *AlterPrivilegeRestrictionStatementNode) ObjectType() *IdentifierNode
func (*AlterPrivilegeRestrictionStatementNode) Privileges ¶
func (n *AlterPrivilegeRestrictionStatementNode) Privileges() *PrivilegesNode
type AlterRowAccessPolicyStatementNode ¶
type AlterRowAccessPolicyStatementNode struct {
*AlterStatementBaseNode
}
func (*AlterRowAccessPolicyStatementNode) Name ¶
func (n *AlterRowAccessPolicyStatementNode) Name() *IdentifierNode
type AlterSchemaStatementNode ¶
type AlterSchemaStatementNode struct {
*AlterStatementBaseNode
}
type AlterStatementBaseNode ¶
type AlterStatementBaseNode struct {
*DdlStatementBaseNode
}
func (*AlterStatementBaseNode) ActionList ¶
func (n *AlterStatementBaseNode) ActionList() *AlterActionListNode
func (*AlterStatementBaseNode) IsIfExists ¶
func (n *AlterStatementBaseNode) IsIfExists() bool
func (*AlterStatementBaseNode) Path ¶
func (n *AlterStatementBaseNode) Path() *PathExpressionNode
func (*AlterStatementBaseNode) SetIsIfExists ¶
func (n *AlterStatementBaseNode) SetIsIfExists(isIfExists bool)
type AlterTableStatementNode ¶
type AlterTableStatementNode struct {
*AlterStatementBaseNode
}
type AlterViewStatementNode ¶
type AlterViewStatementNode struct {
*AlterStatementBaseNode
}
type AnalyticFunctionCallNode ¶
type AnalyticFunctionCallNode struct {
*ExpressionBaseNode
}
func (*AnalyticFunctionCallNode) Function ¶
func (n *AnalyticFunctionCallNode) Function() *FunctionCallNode
func (*AnalyticFunctionCallNode) FunctionWithGroupRows ¶
func (n *AnalyticFunctionCallNode) FunctionWithGroupRows() *FunctionCallWithGroupRowsNode
func (*AnalyticFunctionCallNode) WindowSpec ¶
func (n *AnalyticFunctionCallNode) WindowSpec() *WindowSpecificationNode
type AnalyzeStatementNode ¶
type AnalyzeStatementNode struct {
*StatementBaseNode
}
func (*AnalyzeStatementNode) OptionsList ¶
func (n *AnalyzeStatementNode) OptionsList() *OptionsListNode
func (*AnalyzeStatementNode) TableAndColumnInfoList ¶
func (n *AnalyzeStatementNode) TableAndColumnInfoList() *TableAndColumnInfoListNode
type AndExprNode ¶
type AndExprNode struct {
*ExpressionBaseNode
}
func (*AndExprNode) Conjuncts ¶
func (n *AndExprNode) Conjuncts() []ExpressionNode
type AnySomeAllOpNode ¶
type AnySomeAllOpNode struct {
*BaseNode
}
func (*AnySomeAllOpNode) Op ¶
func (n *AnySomeAllOpNode) Op() AnySomeAllOpType
func (*AnySomeAllOpNode) SQLForOperator ¶
func (n *AnySomeAllOpNode) SQLForOperator() string
func (*AnySomeAllOpNode) SetOp ¶
func (n *AnySomeAllOpNode) SetOp(op AnySomeAllOpType)
type AnySomeAllOpType ¶
type AnySomeAllOpType int
const ( UninitializedAnySomeAllOp AnySomeAllOpType = iota AnyOp SomeOp AllOp )
func (AnySomeAllOpType) String ¶
func (o AnySomeAllOpType) String() string
type ArrayColumnSchemaNode ¶
type ArrayColumnSchemaNode struct {
*ColumnSchemaNode
}
func (*ArrayColumnSchemaNode) ElementSchema ¶
func (n *ArrayColumnSchemaNode) ElementSchema() *ColumnSchemaNode
type ArrayConstructorNode ¶
type ArrayConstructorNode struct {
*ExpressionBaseNode
}
func (*ArrayConstructorNode) Elements ¶
func (n *ArrayConstructorNode) Elements() []ExpressionNode
func (*ArrayConstructorNode) Type ¶
func (n *ArrayConstructorNode) Type() *ArrayTypeNode
type ArrayElementNode ¶
type ArrayElementNode struct {
*GeneralizedPathExpressionBaseNode
}
func (*ArrayElementNode) Array ¶
func (n *ArrayElementNode) Array() ExpressionNode
func (*ArrayElementNode) Position ¶
func (n *ArrayElementNode) Position() ExpressionNode
type ArrayTypeNode ¶
type ArrayTypeNode struct {
*TypeBaseNode
}
func (*ArrayTypeNode) ElementType ¶
func (n *ArrayTypeNode) ElementType() TypeNode
type AssertRowsModifiedNode ¶
type AssertRowsModifiedNode struct {
*BaseNode
}
func (*AssertRowsModifiedNode) NumRows ¶
func (n *AssertRowsModifiedNode) NumRows() ExpressionNode
type AssertStatementNode ¶
type AssertStatementNode struct {
*StatementBaseNode
}
func (*AssertStatementNode) Description ¶
func (n *AssertStatementNode) Description() *StringLiteralNode
func (*AssertStatementNode) Expr ¶
func (n *AssertStatementNode) Expr() ExpressionNode
type AssignmentFromStructNode ¶
type AssignmentFromStructNode struct {
*ScriptStatementNode
}
func (*AssignmentFromStructNode) StructExpression ¶
func (n *AssignmentFromStructNode) StructExpression() ExpressionNode
func (*AssignmentFromStructNode) Variables ¶
func (n *AssignmentFromStructNode) Variables() *IdentifierListNode
type AuxLoadDataFromFilesOptionsListNode ¶
type AuxLoadDataFromFilesOptionsListNode struct {
*BaseNode
}
func (*AuxLoadDataFromFilesOptionsListNode) OptionsList ¶
func (n *AuxLoadDataFromFilesOptionsListNode) OptionsList() *OptionsListNode
type AuxLoadDataStatementNode ¶
type AuxLoadDataStatementNode struct {
*CreateTableStmtBaseNode
}
func (*AuxLoadDataStatementNode) ClusterBy ¶
func (n *AuxLoadDataStatementNode) ClusterBy() *ClusterByNode
func (*AuxLoadDataStatementNode) FromFiles ¶
func (n *AuxLoadDataStatementNode) FromFiles() *AuxLoadDataFromFilesOptionsListNode
func (*AuxLoadDataStatementNode) InsertionMode ¶
func (n *AuxLoadDataStatementNode) InsertionMode() InsertionMode
func (*AuxLoadDataStatementNode) PartitionBy ¶
func (n *AuxLoadDataStatementNode) PartitionBy() *PartitionByNode
func (*AuxLoadDataStatementNode) SetInsertionMode ¶
func (n *AuxLoadDataStatementNode) SetInsertionMode(mode InsertionMode)
func (*AuxLoadDataStatementNode) WithConnectionClause ¶
func (n *AuxLoadDataStatementNode) WithConnectionClause() *WithConnectionClauseNode
func (*AuxLoadDataStatementNode) WithPartitionColumnsClause ¶
func (n *AuxLoadDataStatementNode) WithPartitionColumnsClause() *WithPartitionColumnsClauseNode
type BaseNode ¶
type BaseNode struct {
// contains filtered or unexported fields
}
func (*BaseNode) AddChildFront ¶
func (*BaseNode) DebugString ¶
func (*BaseNode) FindChildIndex ¶
func (*BaseNode) IsAlterStatement ¶
func (*BaseNode) IsCreateStatement ¶
func (*BaseNode) IsDdlStatement ¶
func (*BaseNode) IsExpression ¶
func (*BaseNode) IsLoopStatement ¶
func (*BaseNode) IsQueryExpression ¶
func (*BaseNode) IsScriptStatement ¶
func (*BaseNode) IsSqlStatement ¶
func (*BaseNode) IsStatement ¶
func (*BaseNode) IsTableExpression ¶
func (*BaseNode) LocationString ¶
func (*BaseNode) MoveEndLocationBack ¶
func (*BaseNode) MoveStartLocation ¶
func (*BaseNode) MoveStartLocationBack ¶
func (*BaseNode) MutableChild ¶
func (*BaseNode) NumChildren ¶
func (*BaseNode) ParseLocationRange ¶
func (n *BaseNode) ParseLocationRange() *types.ParseLocationRange
func (*BaseNode) SetEndLocation ¶
func (n *BaseNode) SetEndLocation(v *types.ParseLocationPoint)
func (*BaseNode) SetStartLocation ¶
func (n *BaseNode) SetStartLocation(v *types.ParseLocationPoint)
func (*BaseNode) SetStartLocationToEndLocation ¶
func (n *BaseNode) SetStartLocationToEndLocation()
func (*BaseNode) SingleNodeDebugString ¶
type BeginEndBlockNode ¶
type BeginEndBlockNode struct {
*ScriptStatementNode
}
func (*BeginEndBlockNode) HandlerList ¶
func (n *BeginEndBlockNode) HandlerList() *ExceptionHandlerListNode
func (*BeginEndBlockNode) HasExceptionHandler ¶
func (n *BeginEndBlockNode) HasExceptionHandler() bool
func (*BeginEndBlockNode) Label ¶
func (n *BeginEndBlockNode) Label() *LabelNode
func (*BeginEndBlockNode) StatementList ¶
func (n *BeginEndBlockNode) StatementList() []StatementNode
func (*BeginEndBlockNode) StatementListNode ¶
func (n *BeginEndBlockNode) StatementListNode() *StatementListNode
type BeginStatementNode ¶
type BeginStatementNode struct {
*StatementBaseNode
}
func (*BeginStatementNode) ModeList ¶
func (n *BeginStatementNode) ModeList() *TransactionModeListNode
type BetweenExpressionNode ¶
type BetweenExpressionNode struct {
*ExpressionBaseNode
}
func (*BetweenExpressionNode) High ¶
func (n *BetweenExpressionNode) High() ExpressionNode
func (*BetweenExpressionNode) IsNot ¶
func (n *BetweenExpressionNode) IsNot() bool
func (*BetweenExpressionNode) Lhs ¶
func (n *BetweenExpressionNode) Lhs() ExpressionNode
func (*BetweenExpressionNode) Low ¶
func (n *BetweenExpressionNode) Low() ExpressionNode
func (*BetweenExpressionNode) SetIsNot ¶
func (n *BetweenExpressionNode) SetIsNot(isNot bool)
type BigNumericLiteralNode ¶
type BigNumericLiteralNode struct {
*LeafBaseNode
}
func (*BigNumericLiteralNode) SetValue ¶
func (n *BigNumericLiteralNode) SetValue(v string)
func (*BigNumericLiteralNode) Value ¶
func (n *BigNumericLiteralNode) Value() string
type BinaryExpressionNode ¶
type BinaryExpressionNode struct {
*ExpressionBaseNode
}
func (*BinaryExpressionNode) IsNot ¶
func (n *BinaryExpressionNode) IsNot() bool
func (*BinaryExpressionNode) Lhs ¶
func (n *BinaryExpressionNode) Lhs() ExpressionNode
func (*BinaryExpressionNode) Op ¶
func (n *BinaryExpressionNode) Op() BinaryOp
func (*BinaryExpressionNode) Rhs ¶
func (n *BinaryExpressionNode) Rhs() ExpressionNode
func (*BinaryExpressionNode) SQLForOperator ¶
func (n *BinaryExpressionNode) SQLForOperator() string
func (*BinaryExpressionNode) SetIsNot ¶
func (n *BinaryExpressionNode) SetIsNot(isNot bool)
func (*BinaryExpressionNode) SetOp ¶
func (n *BinaryExpressionNode) SetOp(op BinaryOp)
type BitwiseShiftExpressionNode ¶
type BitwiseShiftExpressionNode struct {
*ExpressionBaseNode
}
func (*BitwiseShiftExpressionNode) IsLeftShift ¶
func (n *BitwiseShiftExpressionNode) IsLeftShift() bool
func (*BitwiseShiftExpressionNode) Lhs ¶
func (n *BitwiseShiftExpressionNode) Lhs() ExpressionNode
func (*BitwiseShiftExpressionNode) Rhs ¶
func (n *BitwiseShiftExpressionNode) Rhs() ExpressionNode
func (*BitwiseShiftExpressionNode) SetIsLeftShift ¶
func (n *BitwiseShiftExpressionNode) SetIsLeftShift(isLeftShift bool)
type BooleanLiteralNode ¶
type BooleanLiteralNode struct {
*LeafBaseNode
}
func (*BooleanLiteralNode) SetValue ¶
func (n *BooleanLiteralNode) SetValue(value bool)
func (*BooleanLiteralNode) Value ¶
func (n *BooleanLiteralNode) Value() bool
type BreakContinueKeyword ¶
type BreakContinueKeyword int
const ( BreakKeyword BreakContinueKeyword = iota LeaveKeyword ContinueKeyword IterateKeyword )
func (BreakContinueKeyword) String ¶
func (k BreakContinueKeyword) String() string
type BreakContinueStatementNode ¶
type BreakContinueStatementNode struct {
*ScriptStatementNode
}
func (*BreakContinueStatementNode) Keyword ¶
func (n *BreakContinueStatementNode) Keyword() BreakContinueKeyword
func (*BreakContinueStatementNode) Label ¶
func (n *BreakContinueStatementNode) Label() *LabelNode
func (*BreakContinueStatementNode) SetKeyword ¶
func (n *BreakContinueStatementNode) SetKeyword(keyword BreakContinueKeyword)
type BreakStatementNode ¶
type BreakStatementNode struct {
*BreakContinueStatementNode
}
func (*BreakStatementNode) Keyword ¶
func (n *BreakStatementNode) Keyword() BreakContinueKeyword
func (*BreakStatementNode) SetKeyword ¶
func (n *BreakStatementNode) SetKeyword(keyword BreakContinueKeyword)
type BytesLiteralNode ¶
type BytesLiteralNode struct {
*LeafBaseNode
}
func (*BytesLiteralNode) SetValue ¶
func (n *BytesLiteralNode) SetValue(v []byte)
func (*BytesLiteralNode) Value ¶
func (n *BytesLiteralNode) Value() []byte
type CallStatementNode ¶
type CallStatementNode struct {
*StatementBaseNode
}
func (*CallStatementNode) Arguments ¶
func (n *CallStatementNode) Arguments() []*TVFArgumentNode
func (*CallStatementNode) ProcedureName ¶
func (n *CallStatementNode) ProcedureName() *PathExpressionNode
type CaseNoValueExpressionNode ¶
type CaseNoValueExpressionNode struct {
*ExpressionBaseNode
}
func (*CaseNoValueExpressionNode) Arguments ¶
func (n *CaseNoValueExpressionNode) Arguments() []ExpressionNode
type CaseStatementNode ¶
type CaseStatementNode struct {
*ScriptStatementNode
}
func (*CaseStatementNode) ElseList ¶
func (n *CaseStatementNode) ElseList() *StatementListNode
func (*CaseStatementNode) Expression ¶
func (n *CaseStatementNode) Expression() ExpressionNode
func (*CaseStatementNode) WhenThenClauses ¶
func (n *CaseStatementNode) WhenThenClauses() *WhenThenClauseListNode
type CaseValueExpressionNode ¶
type CaseValueExpressionNode struct {
*ExpressionBaseNode
}
func (*CaseValueExpressionNode) Arguments ¶
func (n *CaseValueExpressionNode) Arguments() []ExpressionNode
type CastExpressionNode ¶
type CastExpressionNode struct {
*ExpressionBaseNode
}
func (*CastExpressionNode) Expr ¶
func (n *CastExpressionNode) Expr() ExpressionNode
func (*CastExpressionNode) Format ¶
func (n *CastExpressionNode) Format() *FormatClauseNode
func (*CastExpressionNode) IsSafeCast ¶
func (n *CastExpressionNode) IsSafeCast() bool
func (*CastExpressionNode) SetIsSafeCast ¶
func (n *CastExpressionNode) SetIsSafeCast(isSafe bool)
func (*CastExpressionNode) Type ¶
func (n *CastExpressionNode) Type() TypeNode
type CheckConstraintNode ¶
type CheckConstraintNode struct {
*TableConstraintBaseNode
}
func (*CheckConstraintNode) Expression ¶
func (n *CheckConstraintNode) Expression() ExpressionNode
func (*CheckConstraintNode) IsEnforced ¶
func (n *CheckConstraintNode) IsEnforced() bool
func (*CheckConstraintNode) OptionsList ¶
func (n *CheckConstraintNode) OptionsList() *OptionsListNode
func (*CheckConstraintNode) SetIsEnforced ¶
func (n *CheckConstraintNode) SetIsEnforced(enforced bool)
type ClampedBetweenModifierNode ¶
type ClampedBetweenModifierNode struct {
*BaseNode
}
func (*ClampedBetweenModifierNode) High ¶
func (n *ClampedBetweenModifierNode) High() ExpressionNode
func (*ClampedBetweenModifierNode) Low ¶
func (n *ClampedBetweenModifierNode) Low() ExpressionNode
type CloneDataSourceListNode ¶
type CloneDataSourceListNode struct {
*BaseNode
}
func (*CloneDataSourceListNode) DataSources ¶
func (n *CloneDataSourceListNode) DataSources() []*CloneDataSourceNode
type CloneDataSourceNode ¶
type CloneDataSourceNode struct {
*TableDataSourceNode
}
type CloneDataStatementNode ¶
type CloneDataStatementNode struct {
*StatementBaseNode
}
func (*CloneDataStatementNode) DataSourceList ¶
func (n *CloneDataStatementNode) DataSourceList() *CloneDataSourceListNode
func (*CloneDataStatementNode) TargetPath ¶
func (n *CloneDataStatementNode) TargetPath() *PathExpressionNode
type ClusterByNode ¶
type ClusterByNode struct {
*BaseNode
}
func (*ClusterByNode) ClusteringExpressions ¶
func (n *ClusterByNode) ClusteringExpressions() []ExpressionNode
type CollateNode ¶
type CollateNode struct {
*BaseNode
}
func (*CollateNode) Name ¶
func (n *CollateNode) Name() ExpressionNode
type ColumnAttributeBaseNode ¶
type ColumnAttributeBaseNode struct {
*BaseNode
}
type ColumnAttributeListNode ¶
type ColumnAttributeListNode struct {
*BaseNode
}
func (*ColumnAttributeListNode) Values ¶
func (n *ColumnAttributeListNode) Values() []ColumnAttributeNode
type ColumnAttributeNode ¶
type ColumnAttributeNode interface { Node }
type ColumnDefinitionNode ¶
type ColumnDefinitionNode struct {
*TableElementBaseNode
}
func (*ColumnDefinitionNode) Name ¶
func (n *ColumnDefinitionNode) Name() *IdentifierNode
func (*ColumnDefinitionNode) Schema ¶
func (n *ColumnDefinitionNode) Schema() *ColumnSchemaNode
type ColumnListNode ¶
type ColumnListNode struct {
*BaseNode
}
func (*ColumnListNode) Identifiers ¶
func (n *ColumnListNode) Identifiers() []*IdentifierNode
type ColumnPositionNode ¶
type ColumnPositionNode struct {
*BaseNode
}
func (*ColumnPositionNode) Identifier ¶
func (n *ColumnPositionNode) Identifier() *IdentifierNode
func (*ColumnPositionNode) SetType ¶
func (n *ColumnPositionNode) SetType(typ ColumnRelativePositionType)
func (*ColumnPositionNode) Type ¶
func (n *ColumnPositionNode) Type() ColumnRelativePositionType
type ColumnRelativePositionType ¶
type ColumnRelativePositionType int
const ( ColumnRelativePositionPreceding ColumnRelativePositionType = iota ColumnRelativePositionFollowing )
func (ColumnRelativePositionType) String ¶
func (t ColumnRelativePositionType) String() string
type ColumnSchemaNode ¶
type ColumnSchemaNode struct {
*BaseNode
}
func (*ColumnSchemaNode) Attributes ¶
func (n *ColumnSchemaNode) Attributes() *ColumnAttributeListNode
func (*ColumnSchemaNode) Collate ¶
func (n *ColumnSchemaNode) Collate() *CollateNode
func (*ColumnSchemaNode) ContainsAttribute ¶
func (n *ColumnSchemaNode) ContainsAttribute(kind Kind) bool
func (*ColumnSchemaNode) DefaultExpression ¶
func (n *ColumnSchemaNode) DefaultExpression() ExpressionNode
func (*ColumnSchemaNode) GeneratedColumnInfo ¶
func (n *ColumnSchemaNode) GeneratedColumnInfo() *GeneratedColumnInfoNode
func (*ColumnSchemaNode) OptionsList ¶
func (n *ColumnSchemaNode) OptionsList() *OptionsListNode
func (*ColumnSchemaNode) TypeParameters ¶
func (n *ColumnSchemaNode) TypeParameters() *TypeParameterListNode
type CommitStatementNode ¶
type CommitStatementNode struct {
*StatementBaseNode
}
type ConnectionClauseNode ¶
type ConnectionClauseNode struct {
*BaseNode
}
func (*ConnectionClauseNode) ConnectionPath ¶
func (n *ConnectionClauseNode) ConnectionPath() *PathExpressionNode
type ContinueStatementNode ¶
type ContinueStatementNode struct {
*BreakContinueStatementNode
}
func (*ContinueStatementNode) Keyword ¶
func (n *ContinueStatementNode) Keyword() BreakContinueKeyword
func (*ContinueStatementNode) SetKeyword ¶
func (n *ContinueStatementNode) SetKeyword(keyword BreakContinueKeyword)
type CopyDataSourceNode ¶
type CopyDataSourceNode struct {
*TableDataSourceNode
}
type CreateConstantStatementNode ¶
type CreateConstantStatementNode struct {
*CreateStatementNode
}
func (*CreateConstantStatementNode) Expr ¶
func (n *CreateConstantStatementNode) Expr() ExpressionNode
func (*CreateConstantStatementNode) Name ¶
func (n *CreateConstantStatementNode) Name() *PathExpressionNode
type CreateDatabaseStatementNode ¶
type CreateDatabaseStatementNode struct {
*StatementBaseNode
}
func (*CreateDatabaseStatementNode) Name ¶
func (n *CreateDatabaseStatementNode) Name() *PathExpressionNode
func (*CreateDatabaseStatementNode) OptionsList ¶
func (n *CreateDatabaseStatementNode) OptionsList() *OptionsListNode
type CreateEntityStatementNode ¶
type CreateEntityStatementNode struct {
*CreateStatementNode
}
func (*CreateEntityStatementNode) JSONBody ¶
func (n *CreateEntityStatementNode) JSONBody() *JSONLiteralNode
func (*CreateEntityStatementNode) Name ¶
func (n *CreateEntityStatementNode) Name() *PathExpressionNode
func (*CreateEntityStatementNode) OptionsList ¶
func (n *CreateEntityStatementNode) OptionsList() *OptionsListNode
func (*CreateEntityStatementNode) TextBody ¶
func (n *CreateEntityStatementNode) TextBody() *StringLiteralNode
func (*CreateEntityStatementNode) Type ¶
func (n *CreateEntityStatementNode) Type() *IdentifierNode
type CreateExternalTableStatementNode ¶
type CreateExternalTableStatementNode struct {
*CreateTableStmtBaseNode
}
func (*CreateExternalTableStatementNode) WithConnectionClause ¶
func (n *CreateExternalTableStatementNode) WithConnectionClause() *WithConnectionClauseNode
func (*CreateExternalTableStatementNode) WithPartitionColumnsClause ¶
func (n *CreateExternalTableStatementNode) WithPartitionColumnsClause() *WithPartitionColumnsClauseNode
type CreateFunctionStatementNode ¶
type CreateFunctionStatementNode struct {
*CreateFunctionStmtBaseNode
}
func (*CreateFunctionStatementNode) IsAggregate ¶
func (n *CreateFunctionStatementNode) IsAggregate() bool
func (*CreateFunctionStatementNode) IsRemote ¶
func (n *CreateFunctionStatementNode) IsRemote() bool
func (*CreateFunctionStatementNode) ReturnType ¶
func (n *CreateFunctionStatementNode) ReturnType() TypeNode
func (*CreateFunctionStatementNode) SetIsAggregate ¶
func (n *CreateFunctionStatementNode) SetIsAggregate(isAggregate bool)
func (*CreateFunctionStatementNode) SetIsRemote ¶
func (n *CreateFunctionStatementNode) SetIsRemote(isRemote bool)
func (*CreateFunctionStatementNode) SqlFunctionBody ¶
func (n *CreateFunctionStatementNode) SqlFunctionBody() *SqlFunctionBodyNode
func (*CreateFunctionStatementNode) WithConnectionClause ¶
func (n *CreateFunctionStatementNode) WithConnectionClause() *WithConnectionClauseNode
type CreateFunctionStmtBaseNode ¶
type CreateFunctionStmtBaseNode struct {
*CreateStatementNode
}
func (*CreateFunctionStmtBaseNode) Code ¶
func (n *CreateFunctionStmtBaseNode) Code() *StringLiteralNode
func (*CreateFunctionStmtBaseNode) DeterminismLevel ¶
func (n *CreateFunctionStmtBaseNode) DeterminismLevel() DeterminismLevel
func (*CreateFunctionStmtBaseNode) FunctionDeclaration ¶
func (n *CreateFunctionStmtBaseNode) FunctionDeclaration() *FunctionDeclarationNode
func (*CreateFunctionStmtBaseNode) Language ¶
func (n *CreateFunctionStmtBaseNode) Language() *IdentifierNode
func (*CreateFunctionStmtBaseNode) OptionsList ¶
func (n *CreateFunctionStmtBaseNode) OptionsList() *OptionsListNode
func (*CreateFunctionStmtBaseNode) SetDeterminismLevel ¶
func (n *CreateFunctionStmtBaseNode) SetDeterminismLevel(level DeterminismLevel)
func (*CreateFunctionStmtBaseNode) SetSqlSecurity ¶
func (n *CreateFunctionStmtBaseNode) SetSqlSecurity(security SqlSecurity)
func (*CreateFunctionStmtBaseNode) SqlSecurity ¶
func (n *CreateFunctionStmtBaseNode) SqlSecurity() SqlSecurity
type CreateIndexStatementNode ¶
type CreateIndexStatementNode struct {
*CreateStatementNode
}
func (*CreateIndexStatementNode) IndexItemList ¶
func (n *CreateIndexStatementNode) IndexItemList() *IndexItemListNode
func (*CreateIndexStatementNode) IsSearch ¶
func (n *CreateIndexStatementNode) IsSearch() bool
func (*CreateIndexStatementNode) IsUnique ¶
func (n *CreateIndexStatementNode) IsUnique() bool
func (*CreateIndexStatementNode) Name ¶
func (n *CreateIndexStatementNode) Name() *PathExpressionNode
func (*CreateIndexStatementNode) OptionalIndexSotringExpressions ¶
func (n *CreateIndexStatementNode) OptionalIndexSotringExpressions() *IndexStoringExpressionListNode
func (*CreateIndexStatementNode) OptionalIndexUnnestExpressionList ¶
func (n *CreateIndexStatementNode) OptionalIndexUnnestExpressionList() *IndexUnnestExpressionListNode
func (*CreateIndexStatementNode) OptionalTableAlias ¶
func (n *CreateIndexStatementNode) OptionalTableAlias() *AliasNode
func (*CreateIndexStatementNode) OptionsList ¶
func (n *CreateIndexStatementNode) OptionsList() *OptionsListNode
func (*CreateIndexStatementNode) SetIsSearch ¶
func (n *CreateIndexStatementNode) SetIsSearch(isSearch bool)
func (*CreateIndexStatementNode) SetIsUnique ¶
func (n *CreateIndexStatementNode) SetIsUnique(isUnique bool)
func (*CreateIndexStatementNode) TableName ¶
func (n *CreateIndexStatementNode) TableName() *PathExpressionNode
type CreateMaterializedViewStatementNode ¶
type CreateMaterializedViewStatementNode struct {
*CreateViewStatementBaseNode
}
func (*CreateMaterializedViewStatementNode) ClusterBy ¶
func (n *CreateMaterializedViewStatementNode) ClusterBy() *ClusterByNode
func (*CreateMaterializedViewStatementNode) PartitionBy ¶
func (n *CreateMaterializedViewStatementNode) PartitionBy() *PartitionByNode
type CreateModelStatementNode ¶
type CreateModelStatementNode struct {
*CreateStatementNode
}
func (*CreateModelStatementNode) Name ¶
func (n *CreateModelStatementNode) Name() *PathExpressionNode
func (*CreateModelStatementNode) OptionsList ¶
func (n *CreateModelStatementNode) OptionsList() *OptionsListNode
func (*CreateModelStatementNode) Query ¶
func (n *CreateModelStatementNode) Query() *QueryNode
func (*CreateModelStatementNode) TransformClause ¶
func (n *CreateModelStatementNode) TransformClause() *TransformClauseNode
type CreatePrivilegeRestrictionStatementNode ¶
type CreatePrivilegeRestrictionStatementNode struct {
*CreateStatementNode
}
func (*CreatePrivilegeRestrictionStatementNode) NamePath ¶
func (n *CreatePrivilegeRestrictionStatementNode) NamePath() *PathExpressionNode
func (*CreatePrivilegeRestrictionStatementNode) ObjectType ¶
func (n *CreatePrivilegeRestrictionStatementNode) ObjectType() *IdentifierNode
func (*CreatePrivilegeRestrictionStatementNode) Privileges ¶
func (n *CreatePrivilegeRestrictionStatementNode) Privileges() *PrivilegesNode
func (*CreatePrivilegeRestrictionStatementNode) RestrictTo ¶
func (n *CreatePrivilegeRestrictionStatementNode) RestrictTo() *RestrictToClauseNode
type CreateProcedureStatementNode ¶
type CreateProcedureStatementNode struct {
*CreateStatementNode
}
func (*CreateProcedureStatementNode) Body ¶
func (n *CreateProcedureStatementNode) Body() ScriptNode
func (*CreateProcedureStatementNode) Name ¶
func (n *CreateProcedureStatementNode) Name() *PathExpressionNode
func (*CreateProcedureStatementNode) OptionsList ¶
func (n *CreateProcedureStatementNode) OptionsList() *OptionsListNode
func (*CreateProcedureStatementNode) Parameters ¶
func (n *CreateProcedureStatementNode) Parameters() *FunctionParametersNode
type CreateRowAccessPolicyStatementNode ¶
type CreateRowAccessPolicyStatementNode struct {
*CreateStatementNode
}
func (*CreateRowAccessPolicyStatementNode) FilterUsing ¶
func (n *CreateRowAccessPolicyStatementNode) FilterUsing() *FilterUsingClauseNode
func (*CreateRowAccessPolicyStatementNode) GrantTo ¶
func (n *CreateRowAccessPolicyStatementNode) GrantTo() *GrantToClauseNode
func (*CreateRowAccessPolicyStatementNode) HasAccessKeyword ¶
func (n *CreateRowAccessPolicyStatementNode) HasAccessKeyword() bool
func (*CreateRowAccessPolicyStatementNode) Name ¶
func (n *CreateRowAccessPolicyStatementNode) Name() *IdentifierNode
func (*CreateRowAccessPolicyStatementNode) SetHasAccessKeyword ¶
func (n *CreateRowAccessPolicyStatementNode) SetHasAccessKeyword(v bool)
func (*CreateRowAccessPolicyStatementNode) TargetPath ¶
func (n *CreateRowAccessPolicyStatementNode) TargetPath() *PathExpressionNode
type CreateSchemaStatementNode ¶
type CreateSchemaStatementNode struct {
*CreateStatementNode
}
func (*CreateSchemaStatementNode) Collate ¶
func (n *CreateSchemaStatementNode) Collate() *CollateNode
func (*CreateSchemaStatementNode) Name ¶
func (n *CreateSchemaStatementNode) Name() *PathExpressionNode
func (*CreateSchemaStatementNode) OptionsList ¶
func (n *CreateSchemaStatementNode) OptionsList() *OptionsListNode
type CreateSnapshotTableStatementNode ¶
type CreateSnapshotTableStatementNode struct {
*CreateStatementNode
}
func (*CreateSnapshotTableStatementNode) CloneDataSource ¶
func (n *CreateSnapshotTableStatementNode) CloneDataSource() *CloneDataSourceNode
func (*CreateSnapshotTableStatementNode) Name ¶
func (n *CreateSnapshotTableStatementNode) Name() *PathExpressionNode
func (*CreateSnapshotTableStatementNode) OptionsList ¶
func (n *CreateSnapshotTableStatementNode) OptionsList() *OptionsListNode
type CreateStatementNode ¶
type CreateStatementNode struct {
*DdlStatementBaseNode
}
func (*CreateStatementNode) IsDefaultScope ¶
func (n *CreateStatementNode) IsDefaultScope() bool
func (*CreateStatementNode) IsIfNotExists ¶
func (n *CreateStatementNode) IsIfNotExists() bool
func (*CreateStatementNode) IsOrReplace ¶
func (n *CreateStatementNode) IsOrReplace() bool
func (*CreateStatementNode) IsPrivate ¶
func (n *CreateStatementNode) IsPrivate() bool
func (*CreateStatementNode) IsPublic ¶
func (n *CreateStatementNode) IsPublic() bool
func (*CreateStatementNode) IsTemp ¶
func (n *CreateStatementNode) IsTemp() bool
func (*CreateStatementNode) Scope ¶
func (n *CreateStatementNode) Scope() CreateStatementScope
func (*CreateStatementNode) SetIsIfNotExists ¶
func (n *CreateStatementNode) SetIsIfNotExists(isIfNotExists bool)
func (*CreateStatementNode) SetIsOrReplace ¶
func (n *CreateStatementNode) SetIsOrReplace(isOrReplace bool)
func (*CreateStatementNode) SetScope ¶
func (n *CreateStatementNode) SetScope(scope CreateStatementScope)
type CreateStatementScope ¶
type CreateStatementScope int
const ( CreateStatementDefaultScope CreateStatementScope = iota CreateStatementPrivate CreateStatementPublic CreateStatementTemporary )
func (CreateStatementScope) String ¶
func (s CreateStatementScope) String() string
type CreateTableFunctionStatementNode ¶
type CreateTableFunctionStatementNode struct {
*CreateFunctionStmtBaseNode
}
func (*CreateTableFunctionStatementNode) Query ¶
func (n *CreateTableFunctionStatementNode) Query() *QueryNode
func (*CreateTableFunctionStatementNode) ReturnTVFSchema ¶
func (n *CreateTableFunctionStatementNode) ReturnTVFSchema() *TVFSchemaNode
type CreateTableStatementNode ¶
type CreateTableStatementNode struct {
*CreateTableStmtBaseNode
}
func (*CreateTableStatementNode) CloneDataSource ¶
func (n *CreateTableStatementNode) CloneDataSource() *CloneDataSourceNode
func (*CreateTableStatementNode) ClusterBy ¶
func (n *CreateTableStatementNode) ClusterBy() *ClusterByNode
func (*CreateTableStatementNode) CopyDataSource ¶
func (n *CreateTableStatementNode) CopyDataSource() *CopyDataSourceNode
func (*CreateTableStatementNode) PartitionBy ¶
func (n *CreateTableStatementNode) PartitionBy() *PartitionByNode
func (*CreateTableStatementNode) Query ¶
func (n *CreateTableStatementNode) Query() *QueryNode
type CreateTableStmtBaseNode ¶
type CreateTableStmtBaseNode struct {
*CreateStatementNode
}
func (*CreateTableStmtBaseNode) Collate ¶
func (n *CreateTableStmtBaseNode) Collate() *CollateNode
func (*CreateTableStmtBaseNode) LikeTableName ¶
func (n *CreateTableStmtBaseNode) LikeTableName() *PathExpressionNode
func (*CreateTableStmtBaseNode) Name ¶
func (n *CreateTableStmtBaseNode) Name() *PathExpressionNode
func (*CreateTableStmtBaseNode) OptionsList ¶
func (n *CreateTableStmtBaseNode) OptionsList() *OptionsListNode
func (*CreateTableStmtBaseNode) TableElementList ¶
func (n *CreateTableStmtBaseNode) TableElementList() *TableElementListNode
type CreateViewStatementBaseNode ¶
type CreateViewStatementBaseNode struct {
*CreateStatementNode
}
func (*CreateViewStatementBaseNode) ColumnList ¶
func (n *CreateViewStatementBaseNode) ColumnList() *ColumnListNode
func (*CreateViewStatementBaseNode) Name ¶
func (n *CreateViewStatementBaseNode) Name() *PathExpressionNode
func (*CreateViewStatementBaseNode) OptionsList ¶
func (n *CreateViewStatementBaseNode) OptionsList() *OptionsListNode
func (*CreateViewStatementBaseNode) Query ¶
func (n *CreateViewStatementBaseNode) Query() *QueryNode
type CreateViewStatementNode ¶
type CreateViewStatementNode struct {
*CreateViewStatementBaseNode
}
type DateOrTimeLiteralNode ¶
type DateOrTimeLiteralNode struct {
*ExpressionBaseNode
}
func (*DateOrTimeLiteralNode) SetTypeKind ¶
func (n *DateOrTimeLiteralNode) SetTypeKind(kind TypeKind)
func (*DateOrTimeLiteralNode) StringLiteral ¶
func (n *DateOrTimeLiteralNode) StringLiteral() *StringLiteralNode
func (*DateOrTimeLiteralNode) TypeKind ¶
func (n *DateOrTimeLiteralNode) TypeKind() TypeKind
type DdlStatementBaseNode ¶
type DdlStatementBaseNode struct {
*StatementBaseNode
}
func (*DdlStatementBaseNode) DdlTarget ¶
func (n *DdlStatementBaseNode) DdlTarget() *PathExpressionNode
type DdlStatementNode ¶
type DdlStatementNode interface { StatementNode }
type DefaultLiteralNode ¶
type DefaultLiteralNode struct {
*ExpressionBaseNode
}
type DefineTableStatementNode ¶
type DefineTableStatementNode struct {
*StatementBaseNode
}
func (*DefineTableStatementNode) Name ¶
func (n *DefineTableStatementNode) Name() *PathExpressionNode
func (*DefineTableStatementNode) OptionsList ¶
func (n *DefineTableStatementNode) OptionsList() *OptionsListNode
type DeleteStatementNode ¶
type DeleteStatementNode struct {
*StatementBaseNode
}
func (*DeleteStatementNode) Alias ¶
func (n *DeleteStatementNode) Alias() *AliasNode
func (*DeleteStatementNode) AssertRowsModified ¶
func (n *DeleteStatementNode) AssertRowsModified() *AssertRowsModifiedNode
func (*DeleteStatementNode) Offset ¶
func (n *DeleteStatementNode) Offset() *WithOffsetNode
func (*DeleteStatementNode) Returning ¶
func (n *DeleteStatementNode) Returning() *ReturningClauseNode
func (*DeleteStatementNode) TargetPath ¶
func (n *DeleteStatementNode) TargetPath() GeneralizedPathExpressionNode
func (*DeleteStatementNode) Where ¶
func (n *DeleteStatementNode) Where() ExpressionNode
type DescribeStatementNode ¶
type DescribeStatementNode struct {
*StatementBaseNode
}
func (*DescribeStatementNode) Name ¶
func (n *DescribeStatementNode) Name() *PathExpressionNode
func (*DescribeStatementNode) OptionalFromName ¶
func (n *DescribeStatementNode) OptionalFromName() *PathExpressionNode
func (*DescribeStatementNode) OptionalIdentifier ¶
func (n *DescribeStatementNode) OptionalIdentifier() *IdentifierNode
type DescriptorColumnListNode ¶
type DescriptorColumnListNode struct {
*BaseNode
}
func (*DescriptorColumnListNode) DescriptorColumnList ¶
func (n *DescriptorColumnListNode) DescriptorColumnList() []*DescriptorColumnNode
type DescriptorColumnNode ¶
type DescriptorColumnNode struct {
*BaseNode
}
func (*DescriptorColumnNode) Name ¶
func (n *DescriptorColumnNode) Name() *IdentifierNode
type DescriptorNode ¶
type DescriptorNode struct {
*BaseNode
}
func (*DescriptorNode) Columns ¶
func (n *DescriptorNode) Columns() *DescriptorColumnListNode
type DeterminismLevel ¶
type DeterminismLevel int
const ( DeterminismUnspecified DeterminismLevel = iota DeterministicLevel NotDeterministicLevel ImmutableLevel StableLevel VolatileLevel )
func (DeterminismLevel) String ¶
func (l DeterminismLevel) String() string
type DotGeneralizedFieldNode ¶
type DotGeneralizedFieldNode struct {
*GeneralizedPathExpressionBaseNode
}
func (*DotGeneralizedFieldNode) Expr ¶
func (n *DotGeneralizedFieldNode) Expr() ExpressionNode
func (*DotGeneralizedFieldNode) Path ¶
func (n *DotGeneralizedFieldNode) Path() *PathExpressionNode
type DotIdentifierNode ¶
type DotIdentifierNode struct {
*GeneralizedPathExpressionBaseNode
}
func (*DotIdentifierNode) Expr ¶
func (n *DotIdentifierNode) Expr() ExpressionNode
func (*DotIdentifierNode) Name ¶
func (n *DotIdentifierNode) Name() *IdentifierNode
type DotStarNode ¶
type DotStarNode struct {
*ExpressionBaseNode
}
func (*DotStarNode) Expr ¶
func (n *DotStarNode) Expr() ExpressionNode
type DotStarWithModifiersNode ¶
type DotStarWithModifiersNode struct {
*ExpressionBaseNode
}
func (*DotStarWithModifiersNode) Expr ¶
func (n *DotStarWithModifiersNode) Expr() ExpressionNode
func (*DotStarWithModifiersNode) Modifiers ¶
func (n *DotStarWithModifiersNode) Modifiers() *StarModifiersNode
type DropAllRowAccessPoliciesStatementNode ¶
type DropAllRowAccessPoliciesStatementNode struct {
*StatementBaseNode
}
func (*DropAllRowAccessPoliciesStatementNode) HasAccessKeyword ¶
func (n *DropAllRowAccessPoliciesStatementNode) HasAccessKeyword() bool
func (*DropAllRowAccessPoliciesStatementNode) SetHasAccessKeyword ¶
func (n *DropAllRowAccessPoliciesStatementNode) SetHasAccessKeyword(keyword bool)
func (*DropAllRowAccessPoliciesStatementNode) TableName ¶
func (n *DropAllRowAccessPoliciesStatementNode) TableName() *PathExpressionNode
type DropColumnActionNode ¶
type DropColumnActionNode struct {
*AlterActionBaseNode
}
func (*DropColumnActionNode) ColumnName ¶
func (n *DropColumnActionNode) ColumnName() *IdentifierNode
func (*DropColumnActionNode) IsIfExists ¶
func (n *DropColumnActionNode) IsIfExists() bool
func (*DropColumnActionNode) SetIsIfExists ¶
func (n *DropColumnActionNode) SetIsIfExists(isIfNotExists bool)
type DropConstraintActionNode ¶
type DropConstraintActionNode struct {
*AlterActionBaseNode
}
func (*DropConstraintActionNode) ConstraintName ¶
func (n *DropConstraintActionNode) ConstraintName() *IdentifierNode
func (*DropConstraintActionNode) IsIfExists ¶
func (n *DropConstraintActionNode) IsIfExists() bool
func (*DropConstraintActionNode) SetIsIfExists ¶
func (n *DropConstraintActionNode) SetIsIfExists(isIfNotExists bool)
type DropEntityStatementNode ¶
type DropEntityStatementNode struct {
*DdlStatementBaseNode
}
func (*DropEntityStatementNode) EntityType ¶
func (n *DropEntityStatementNode) EntityType() *IdentifierNode
func (*DropEntityStatementNode) IsIfExists ¶
func (n *DropEntityStatementNode) IsIfExists() bool
func (*DropEntityStatementNode) Name ¶
func (n *DropEntityStatementNode) Name() *PathExpressionNode
func (*DropEntityStatementNode) SetIsIfExists ¶
func (n *DropEntityStatementNode) SetIsIfExists(isIfExists bool)
type DropFunctionStatementNode ¶
type DropFunctionStatementNode struct {
*DdlStatementBaseNode
}
func (*DropFunctionStatementNode) IsIfExists ¶
func (n *DropFunctionStatementNode) IsIfExists() bool
func (*DropFunctionStatementNode) Name ¶
func (n *DropFunctionStatementNode) Name() *PathExpressionNode
func (*DropFunctionStatementNode) Parameters ¶
func (n *DropFunctionStatementNode) Parameters() *FunctionParametersNode
func (*DropFunctionStatementNode) SetIsIfExists ¶
func (n *DropFunctionStatementNode) SetIsIfExists(isIfExists bool)
type DropMaterializedViewStatementNode ¶
type DropMaterializedViewStatementNode struct {
*DdlStatementBaseNode
}
func (*DropMaterializedViewStatementNode) IsIfExists ¶
func (n *DropMaterializedViewStatementNode) IsIfExists() bool
func (*DropMaterializedViewStatementNode) Name ¶
func (n *DropMaterializedViewStatementNode) Name() *PathExpressionNode
func (*DropMaterializedViewStatementNode) SetIsIfExists ¶
func (n *DropMaterializedViewStatementNode) SetIsIfExists(isIfExists bool)
type DropPrimaryKeyActionNode ¶
type DropPrimaryKeyActionNode struct {
*AlterActionBaseNode
}
func (*DropPrimaryKeyActionNode) IsIfExists ¶
func (n *DropPrimaryKeyActionNode) IsIfExists() bool
func (*DropPrimaryKeyActionNode) SetIsIfExists ¶
func (n *DropPrimaryKeyActionNode) SetIsIfExists(isIfNotExists bool)
type DropPrivilegeRestrictionStatementNode ¶
type DropPrivilegeRestrictionStatementNode struct {
*DdlStatementBaseNode
}
func (*DropPrivilegeRestrictionStatementNode) IsIfExists ¶
func (n *DropPrivilegeRestrictionStatementNode) IsIfExists() bool
func (*DropPrivilegeRestrictionStatementNode) NamePath ¶
func (n *DropPrivilegeRestrictionStatementNode) NamePath() *PathExpressionNode
func (*DropPrivilegeRestrictionStatementNode) ObjectType ¶
func (n *DropPrivilegeRestrictionStatementNode) ObjectType() *IdentifierNode
func (*DropPrivilegeRestrictionStatementNode) Privileges ¶
func (n *DropPrivilegeRestrictionStatementNode) Privileges() *PrivilegesNode
func (*DropPrivilegeRestrictionStatementNode) SetIsIfExists ¶
func (n *DropPrivilegeRestrictionStatementNode) SetIsIfExists(isIfExists bool)
type DropRowAccessPolicyStatementNode ¶
type DropRowAccessPolicyStatementNode struct {
*DdlStatementBaseNode
}
func (*DropRowAccessPolicyStatementNode) IsIfExists ¶
func (n *DropRowAccessPolicyStatementNode) IsIfExists() bool
func (*DropRowAccessPolicyStatementNode) Name ¶
func (n *DropRowAccessPolicyStatementNode) Name() *IdentifierNode
func (*DropRowAccessPolicyStatementNode) SetIsIfExists ¶
func (n *DropRowAccessPolicyStatementNode) SetIsIfExists(isIfExists bool)
func (*DropRowAccessPolicyStatementNode) TableName ¶
func (n *DropRowAccessPolicyStatementNode) TableName() *PathExpressionNode
type DropSearchIndexStatementNode ¶
type DropSearchIndexStatementNode struct {
*DdlStatementBaseNode
}
func (*DropSearchIndexStatementNode) IsIfExists ¶
func (n *DropSearchIndexStatementNode) IsIfExists() bool
func (*DropSearchIndexStatementNode) Name ¶
func (n *DropSearchIndexStatementNode) Name() *PathExpressionNode
func (*DropSearchIndexStatementNode) SetIsIfExists ¶
func (n *DropSearchIndexStatementNode) SetIsIfExists(isIfExists bool)
func (*DropSearchIndexStatementNode) TableName ¶
func (n *DropSearchIndexStatementNode) TableName() *PathExpressionNode
type DropSnapshotTableStatementNode ¶
type DropSnapshotTableStatementNode struct {
*DdlStatementBaseNode
}
func (*DropSnapshotTableStatementNode) IsIfExists ¶
func (n *DropSnapshotTableStatementNode) IsIfExists() bool
func (*DropSnapshotTableStatementNode) Name ¶
func (n *DropSnapshotTableStatementNode) Name() *PathExpressionNode
func (*DropSnapshotTableStatementNode) SetIsIfExists ¶
func (n *DropSnapshotTableStatementNode) SetIsIfExists(isIfExists bool)
type DropStatementNode ¶
type DropStatementNode struct {
*DdlStatementBaseNode
}
func (*DropStatementNode) DropMode ¶
func (n *DropStatementNode) DropMode() DropMode
func (*DropStatementNode) IsIfExists ¶
func (n *DropStatementNode) IsIfExists() bool
func (*DropStatementNode) Name ¶
func (n *DropStatementNode) Name() *PathExpressionNode
func (*DropStatementNode) SchemaObjectKind ¶
func (n *DropStatementNode) SchemaObjectKind() SchemaObjectKind
func (*DropStatementNode) SetDropMode ¶
func (n *DropStatementNode) SetDropMode(mode DropMode)
func (*DropStatementNode) SetIsIfExists ¶
func (n *DropStatementNode) SetIsIfExists(isIfExists bool)
func (*DropStatementNode) SetSchemaObjectKind ¶
func (n *DropStatementNode) SetSchemaObjectKind(kind SchemaObjectKind)
type DropTableFunctionStatementNode ¶
type DropTableFunctionStatementNode struct {
*DdlStatementBaseNode
}
func (*DropTableFunctionStatementNode) IsIfExists ¶
func (n *DropTableFunctionStatementNode) IsIfExists() bool
func (*DropTableFunctionStatementNode) Name ¶
func (n *DropTableFunctionStatementNode) Name() *PathExpressionNode
func (*DropTableFunctionStatementNode) SetIsIfExists ¶
func (n *DropTableFunctionStatementNode) SetIsIfExists(isIfExists bool)
type ElseifClauseListNode ¶
type ElseifClauseListNode struct {
*BaseNode
}
func (*ElseifClauseListNode) ElseifClauses ¶
func (n *ElseifClauseListNode) ElseifClauses() []*ElseifClauseNode
type ElseifClauseNode ¶
type ElseifClauseNode struct {
*BaseNode
}
func (*ElseifClauseNode) Body ¶
func (n *ElseifClauseNode) Body() *StatementListNode
func (*ElseifClauseNode) Condition ¶
func (n *ElseifClauseNode) Condition() ExpressionNode
func (*ElseifClauseNode) IfStmt ¶
func (n *ElseifClauseNode) IfStmt() *IfStatementNode
type ExceptionHandlerListNode ¶
type ExceptionHandlerListNode struct {
*BaseNode
}
func (*ExceptionHandlerListNode) ExceptionHandlerList ¶
func (n *ExceptionHandlerListNode) ExceptionHandlerList() []*ExceptionHandlerNode
type ExceptionHandlerNode ¶
type ExceptionHandlerNode struct {
*BaseNode
}
func (*ExceptionHandlerNode) StatementList ¶
func (n *ExceptionHandlerNode) StatementList() *StatementListNode
type ExecuteImmediateStatementNode ¶
type ExecuteImmediateStatementNode struct {
*StatementBaseNode
}
func (*ExecuteImmediateStatementNode) IntoClause ¶
func (n *ExecuteImmediateStatementNode) IntoClause() *ExecuteIntoClauseNode
func (*ExecuteImmediateStatementNode) SQL ¶
func (n *ExecuteImmediateStatementNode) SQL() ExpressionNode
func (*ExecuteImmediateStatementNode) UsingClause ¶
func (n *ExecuteImmediateStatementNode) UsingClause() *ExecuteUsingClauseNode
type ExecuteIntoClauseNode ¶
type ExecuteIntoClauseNode struct {
*BaseNode
}
func (*ExecuteIntoClauseNode) Identifiers ¶
func (n *ExecuteIntoClauseNode) Identifiers() *IdentifierListNode
type ExecuteUsingArgumentNode ¶
type ExecuteUsingArgumentNode struct {
*BaseNode
}
func (*ExecuteUsingArgumentNode) Alias ¶
func (n *ExecuteUsingArgumentNode) Alias() *AliasNode
func (*ExecuteUsingArgumentNode) Expression ¶
func (n *ExecuteUsingArgumentNode) Expression() ExpressionNode
type ExecuteUsingClauseNode ¶
type ExecuteUsingClauseNode struct {
*BaseNode
}
func (*ExecuteUsingClauseNode) Arguments ¶
func (n *ExecuteUsingClauseNode) Arguments() []*ExecuteUsingArgumentNode
type ExplainStatementNode ¶
type ExplainStatementNode struct {
*StatementBaseNode
}
func (*ExplainStatementNode) Statement ¶
func (n *ExplainStatementNode) Statement() StatementNode
type ExportDataStatementNode ¶
type ExportDataStatementNode struct {
*StatementBaseNode
}
func (*ExportDataStatementNode) OptionsList ¶
func (n *ExportDataStatementNode) OptionsList() *OptionsListNode
func (*ExportDataStatementNode) Query ¶
func (n *ExportDataStatementNode) Query() *QueryNode
func (*ExportDataStatementNode) WithConnectionClause ¶
func (n *ExportDataStatementNode) WithConnectionClause() *WithConnectionClauseNode
type ExportModelStatementNode ¶
type ExportModelStatementNode struct {
*StatementBaseNode
}
func (*ExportModelStatementNode) ModelNamePath ¶
func (n *ExportModelStatementNode) ModelNamePath() *PathExpressionNode
func (*ExportModelStatementNode) OptionsList ¶
func (n *ExportModelStatementNode) OptionsList() *OptionsListNode
func (*ExportModelStatementNode) WithConnectionClause ¶
func (n *ExportModelStatementNode) WithConnectionClause() *WithConnectionClauseNode
type ExpressionBaseNode ¶
type ExpressionBaseNode struct {
*BaseNode
}
func (*ExpressionBaseNode) IsAllowedInComparison ¶
func (n *ExpressionBaseNode) IsAllowedInComparison() bool
func (*ExpressionBaseNode) Parenthesized ¶
func (n *ExpressionBaseNode) Parenthesized() bool
func (*ExpressionBaseNode) SetParenthesized ¶
func (n *ExpressionBaseNode) SetParenthesized(parenthesized bool)
type ExpressionNode ¶
type ExpressionNode interface { Node }
type ExpressionSubqueryModifier ¶
type ExpressionSubqueryModifier int
const ( ExpressionSubqueryNone ExpressionSubqueryModifier = iota ExpressionSubqueryArray ExpressionSubqueryExists )
func (ExpressionSubqueryModifier) String ¶
func (m ExpressionSubqueryModifier) String() string
type ExpressionSubqueryNode ¶
type ExpressionSubqueryNode struct {
*ExpressionBaseNode
}
func (*ExpressionSubqueryNode) Hint ¶
func (n *ExpressionSubqueryNode) Hint() *HintNode
func (*ExpressionSubqueryNode) Modifier ¶
func (n *ExpressionSubqueryNode) Modifier() ExpressionSubqueryModifier
func (*ExpressionSubqueryNode) Query ¶
func (n *ExpressionSubqueryNode) Query() *QueryNode
func (*ExpressionSubqueryNode) SetModifier ¶
func (n *ExpressionSubqueryNode) SetModifier(modifier ExpressionSubqueryModifier)
type ExtractExpressionNode ¶
type ExtractExpressionNode struct {
*ExpressionBaseNode
}
func (*ExtractExpressionNode) LhsExpr ¶
func (n *ExtractExpressionNode) LhsExpr() ExpressionNode
func (*ExtractExpressionNode) RhsExpr ¶
func (n *ExtractExpressionNode) RhsExpr() ExpressionNode
func (*ExtractExpressionNode) TimeZoneExpr ¶
func (n *ExtractExpressionNode) TimeZoneExpr() ExpressionNode
type FilterFieldsArgNode ¶
type FilterFieldsArgNode struct {
*BaseNode
}
func (*FilterFieldsArgNode) FilterType ¶
func (n *FilterFieldsArgNode) FilterType() FilterType
func (*FilterFieldsArgNode) PathExpression ¶
func (n *FilterFieldsArgNode) PathExpression() GeneralizedPathExpressionNode
func (*FilterFieldsArgNode) SQLForOperator ¶
func (n *FilterFieldsArgNode) SQLForOperator() string
func (*FilterFieldsArgNode) SetFilterType ¶
func (n *FilterFieldsArgNode) SetFilterType(typ FilterType)
type FilterType ¶
type FilterType int
const ( FilterNotSet FilterType = iota FilterInclude FilterExclude )
func (FilterType) String ¶
func (t FilterType) String() string
type FilterUsingClauseNode ¶
type FilterUsingClauseNode struct {
*AlterActionBaseNode
}
func (*FilterUsingClauseNode) HasFilterKeyword ¶
func (n *FilterUsingClauseNode) HasFilterKeyword() bool
func (*FilterUsingClauseNode) Predicate ¶
func (n *FilterUsingClauseNode) Predicate() ExpressionNode
func (*FilterUsingClauseNode) SetHasFilterKeyword ¶
func (n *FilterUsingClauseNode) SetHasFilterKeyword(keyword bool)
type FloatLiteralNode ¶
type FloatLiteralNode struct {
*LeafBaseNode
}
func (*FloatLiteralNode) SetValue ¶
func (n *FloatLiteralNode) SetValue(v float64)
func (*FloatLiteralNode) Value ¶
func (n *FloatLiteralNode) Value() (float64, error)
type ForInStatementNode ¶
type ForInStatementNode struct {
*LoopStatementNode
}
func (*ForInStatementNode) Query ¶
func (n *ForInStatementNode) Query() *QueryNode
func (*ForInStatementNode) Variable ¶
func (n *ForInStatementNode) Variable() *IdentifierNode
type ForSystemTimeNode ¶
type ForSystemTimeNode struct {
*BaseNode
}
func (*ForSystemTimeNode) Expression ¶
func (n *ForSystemTimeNode) Expression() ExpressionNode
type ForeignKeyAction ¶
type ForeignKeyAction int
const ( ForeignKeyNoAction ForeignKeyAction = iota ForeignKeyRestrictAction ForeignKeyCascadeAction ForeignKeySetNullAction )
func (ForeignKeyAction) String ¶
func (a ForeignKeyAction) String() string
type ForeignKeyActionsNode ¶
type ForeignKeyActionsNode struct {
*BaseNode
}
func (*ForeignKeyActionsNode) DeleteAction ¶
func (n *ForeignKeyActionsNode) DeleteAction() ForeignKeyAction
func (*ForeignKeyActionsNode) SetDeleteAction ¶
func (n *ForeignKeyActionsNode) SetDeleteAction(action ForeignKeyAction)
func (*ForeignKeyActionsNode) SetUpdateAction ¶
func (n *ForeignKeyActionsNode) SetUpdateAction(action ForeignKeyAction)
func (*ForeignKeyActionsNode) UpdateAction ¶
func (n *ForeignKeyActionsNode) UpdateAction() ForeignKeyAction
type ForeignKeyColumnAttributeNode ¶
type ForeignKeyColumnAttributeNode struct {
*ColumnAttributeBaseNode
}
func (*ForeignKeyColumnAttributeNode) ConstraintName ¶
func (n *ForeignKeyColumnAttributeNode) ConstraintName() *IdentifierNode
func (*ForeignKeyColumnAttributeNode) Reference ¶
func (n *ForeignKeyColumnAttributeNode) Reference() *ForeignKeyReferenceNode
type ForeignKeyNode ¶
type ForeignKeyNode struct {
*TableConstraintBaseNode
}
func (*ForeignKeyNode) ColumnList ¶
func (n *ForeignKeyNode) ColumnList() *ColumnListNode
func (*ForeignKeyNode) OptionsList ¶
func (n *ForeignKeyNode) OptionsList() *OptionsListNode
func (*ForeignKeyNode) Reference ¶
func (n *ForeignKeyNode) Reference() *ForeignKeyReferenceNode
type ForeignKeyReferenceMatch ¶
type ForeignKeyReferenceMatch int
const ( ForeignKeyReferenceSimple ForeignKeyReferenceMatch = iota ForeignKeyReferenceFull ForeignKeyReferenceNotDistinct )
func (ForeignKeyReferenceMatch) String ¶
func (m ForeignKeyReferenceMatch) String() string
type ForeignKeyReferenceNode ¶
type ForeignKeyReferenceNode struct {
*BaseNode
}
func (*ForeignKeyReferenceNode) Actions ¶
func (n *ForeignKeyReferenceNode) Actions() *ForeignKeyActionsNode
func (*ForeignKeyReferenceNode) ColumnList ¶
func (n *ForeignKeyReferenceNode) ColumnList() *ColumnListNode
func (*ForeignKeyReferenceNode) Enforced ¶
func (n *ForeignKeyReferenceNode) Enforced() bool
func (*ForeignKeyReferenceNode) Match ¶
func (n *ForeignKeyReferenceNode) Match() ForeignKeyReferenceMatch
func (*ForeignKeyReferenceNode) SetEnforced ¶
func (n *ForeignKeyReferenceNode) SetEnforced(enforced bool)
func (*ForeignKeyReferenceNode) SetMatch ¶
func (n *ForeignKeyReferenceNode) SetMatch(match ForeignKeyReferenceMatch)
func (*ForeignKeyReferenceNode) TableName ¶
func (n *ForeignKeyReferenceNode) TableName() *PathExpressionNode
type FormatClauseNode ¶
type FormatClauseNode struct {
*BaseNode
}
func (*FormatClauseNode) Format ¶
func (n *FormatClauseNode) Format() ExpressionNode
func (*FormatClauseNode) TimeZoneExpr ¶
func (n *FormatClauseNode) TimeZoneExpr() ExpressionNode
type FromClauseNode ¶
type FromClauseNode struct {
*BaseNode
}
func (*FromClauseNode) TableExpression ¶
func (n *FromClauseNode) TableExpression() TableExpressionNode
type FunctionCallNode ¶
type FunctionCallNode struct {
*ExpressionBaseNode
}
func (*FunctionCallNode) Arguments ¶
func (n *FunctionCallNode) Arguments() []ExpressionNode
func (*FunctionCallNode) ClampedBetweenModifier ¶
func (n *FunctionCallNode) ClampedBetweenModifier() *ClampedBetweenModifierNode
func (*FunctionCallNode) Distinct ¶
func (n *FunctionCallNode) Distinct() bool
func (*FunctionCallNode) Function ¶
func (n *FunctionCallNode) Function() *PathExpressionNode
func (*FunctionCallNode) HasModifiers ¶
func (n *FunctionCallNode) HasModifiers() bool
func (*FunctionCallNode) HavingModifier ¶
func (n *FunctionCallNode) HavingModifier() *HavingModifierNode
func (*FunctionCallNode) Hint ¶
func (n *FunctionCallNode) Hint() *HintNode
func (*FunctionCallNode) IsCurrentDateTimeWithoutParentheses ¶
func (n *FunctionCallNode) IsCurrentDateTimeWithoutParentheses() bool
func (*FunctionCallNode) LimitOffset ¶
func (n *FunctionCallNode) LimitOffset() *LimitOffsetNode
func (*FunctionCallNode) NullHandlingModifier ¶
func (n *FunctionCallNode) NullHandlingModifier() NullHandlingModifier
func (*FunctionCallNode) OrderBy ¶
func (n *FunctionCallNode) OrderBy() *OrderByNode
func (*FunctionCallNode) SetDistinct ¶
func (n *FunctionCallNode) SetDistinct(distinct bool)
func (*FunctionCallNode) SetIsCurrentDateTimeWithoutParentheses ¶
func (n *FunctionCallNode) SetIsCurrentDateTimeWithoutParentheses(v bool)
func (*FunctionCallNode) SetNullHandlingModifier ¶
func (n *FunctionCallNode) SetNullHandlingModifier(mod NullHandlingModifier)
func (*FunctionCallNode) WithGroupRows ¶
func (n *FunctionCallNode) WithGroupRows() *WithGroupRowsNode
type FunctionCallWithGroupRowsNode ¶
type FunctionCallWithGroupRowsNode struct {
*ExpressionBaseNode
}
func (*FunctionCallWithGroupRowsNode) Function ¶
func (n *FunctionCallWithGroupRowsNode) Function() *FunctionCallNode
func (*FunctionCallWithGroupRowsNode) Subquery ¶
func (n *FunctionCallWithGroupRowsNode) Subquery() *QueryNode
type FunctionDeclarationNode ¶
type FunctionDeclarationNode struct {
*BaseNode
}
func (*FunctionDeclarationNode) IsTemplated ¶
func (n *FunctionDeclarationNode) IsTemplated() bool
func (*FunctionDeclarationNode) Name ¶
func (n *FunctionDeclarationNode) Name() *PathExpressionNode
func (*FunctionDeclarationNode) Parameters ¶
func (n *FunctionDeclarationNode) Parameters() *FunctionParametersNode
type FunctionParameterNode ¶
type FunctionParameterNode struct {
*BaseNode
}
func (*FunctionParameterNode) Alias ¶
func (n *FunctionParameterNode) Alias() *AliasNode
func (*FunctionParameterNode) DefaultValue ¶
func (n *FunctionParameterNode) DefaultValue() ExpressionNode
func (*FunctionParameterNode) IsNotAggregate ¶
func (n *FunctionParameterNode) IsNotAggregate() bool
func (*FunctionParameterNode) IsTableParameter ¶
func (n *FunctionParameterNode) IsTableParameter() bool
func (*FunctionParameterNode) IsTemplated ¶
func (n *FunctionParameterNode) IsTemplated() bool
func (*FunctionParameterNode) Name ¶
func (n *FunctionParameterNode) Name() *IdentifierNode
func (*FunctionParameterNode) ProcedureParameterMode ¶
func (n *FunctionParameterNode) ProcedureParameterMode() ProcedureParameterMode
func (*FunctionParameterNode) SetIsNotAggregate ¶
func (n *FunctionParameterNode) SetIsNotAggregate(isNotAggregate bool)
func (*FunctionParameterNode) SetProcedureParameterMode ¶
func (n *FunctionParameterNode) SetProcedureParameterMode(mode ProcedureParameterMode)
func (*FunctionParameterNode) TVFSchema ¶
func (n *FunctionParameterNode) TVFSchema() *TVFSchemaNode
func (*FunctionParameterNode) TemplatedParameterType ¶
func (n *FunctionParameterNode) TemplatedParameterType() *TemplatedParameterTypeNode
func (*FunctionParameterNode) Type ¶
func (n *FunctionParameterNode) Type() TypeNode
type FunctionParametersNode ¶
type FunctionParametersNode struct {
*BaseNode
}
func (*FunctionParametersNode) ParameterEntries ¶
func (n *FunctionParametersNode) ParameterEntries() []*FunctionParameterNode
type GeneralizedPathExpressionBaseNode ¶
type GeneralizedPathExpressionBaseNode struct {
*ExpressionBaseNode
}
type GeneralizedPathExpressionNode ¶
type GeneralizedPathExpressionNode interface { ExpressionNode }
type GeneratedColumnInfoNode ¶
type GeneratedColumnInfoNode struct {
*BaseNode
}
func (*GeneratedColumnInfoNode) Expression ¶
func (n *GeneratedColumnInfoNode) Expression() ExpressionNode
func (*GeneratedColumnInfoNode) SetStoredMode ¶
func (n *GeneratedColumnInfoNode) SetStoredMode(mode GeneratedColumnInfoStoredMode)
func (*GeneratedColumnInfoNode) SqlForStoredMode ¶
func (n *GeneratedColumnInfoNode) SqlForStoredMode() string
func (*GeneratedColumnInfoNode) StoredMode ¶
func (n *GeneratedColumnInfoNode) StoredMode() GeneratedColumnInfoStoredMode
type GeneratedColumnInfoStoredMode ¶
type GeneratedColumnInfoStoredMode int
const ( GeneratedColumnInfoNonStored GeneratedColumnInfoStoredMode = iota GeneratedColumnInfoStored GeneratedColumnInfoStoredVolatile )
func (GeneratedColumnInfoStoredMode) String ¶
func (m GeneratedColumnInfoStoredMode) String() string
type GrantStatementNode ¶
type GrantStatementNode struct {
*StatementBaseNode
}
func (*GrantStatementNode) GranteeList ¶
func (n *GrantStatementNode) GranteeList() *GranteeListNode
func (*GrantStatementNode) Privileges ¶
func (n *GrantStatementNode) Privileges() *PrivilegesNode
func (*GrantStatementNode) TargetPath ¶
func (n *GrantStatementNode) TargetPath() *PathExpressionNode
func (*GrantStatementNode) TargetType ¶
func (n *GrantStatementNode) TargetType() *IdentifierNode
type GrantToClauseNode ¶
type GrantToClauseNode struct {
*AlterActionBaseNode
}
func (*GrantToClauseNode) GranteeList ¶
func (n *GrantToClauseNode) GranteeList() *GranteeListNode
func (*GrantToClauseNode) HasGrantKeywordAndParens ¶
func (n *GrantToClauseNode) HasGrantKeywordAndParens() bool
func (*GrantToClauseNode) SetHasGrantKeywordAndParens ¶
func (n *GrantToClauseNode) SetHasGrantKeywordAndParens(v bool)
type GranteeListNode ¶
type GranteeListNode struct {
*BaseNode
}
func (*GranteeListNode) GranteeList ¶
func (n *GranteeListNode) GranteeList() []ExpressionNode
type GroupByNode ¶
type GroupByNode struct {
*BaseNode
}
func (*GroupByNode) GroupingItems ¶
func (n *GroupByNode) GroupingItems() []*GroupingItemNode
func (*GroupByNode) Hint ¶
func (n *GroupByNode) Hint() *HintNode
type GroupingItemNode ¶
type GroupingItemNode struct {
*BaseNode
}
func (*GroupingItemNode) Expression ¶
func (n *GroupingItemNode) Expression() ExpressionNode
func (*GroupingItemNode) Rollup ¶
func (n *GroupingItemNode) Rollup() *RollupNode
type HavingModifierKind ¶
type HavingModifierKind int
const ( HavingModifierNotSet HavingModifierKind = iota HavingModifierMin HavingModifierMax )
type HavingModifierNode ¶
type HavingModifierNode struct {
*BaseNode
}
func (*HavingModifierNode) Expr ¶
func (n *HavingModifierNode) Expr() ExpressionNode
func (*HavingModifierNode) ModifierKind ¶
func (n *HavingModifierNode) ModifierKind() HavingModifierKind
func (*HavingModifierNode) SetModifierKind ¶
func (n *HavingModifierNode) SetModifierKind(kind HavingModifierKind)
type HavingNode ¶
type HavingNode struct {
*BaseNode
}
func (*HavingNode) Expression ¶
func (n *HavingNode) Expression() ExpressionNode
type HiddenColumnAttributeNode ¶
type HiddenColumnAttributeNode struct {
*ColumnAttributeBaseNode
}
type HintEntryNode ¶
type HintEntryNode struct {
*BaseNode
}
func (*HintEntryNode) Name ¶
func (n *HintEntryNode) Name() *IdentifierNode
func (*HintEntryNode) Qualifier ¶
func (n *HintEntryNode) Qualifier() *IdentifierNode
func (*HintEntryNode) Value ¶
func (n *HintEntryNode) Value() ExpressionNode
type HintNode ¶
type HintNode struct {
*BaseNode
}
func (*HintNode) HintEntries ¶
func (n *HintNode) HintEntries() []*HintEntryNode
func (*HintNode) NumShardsHint ¶
func (n *HintNode) NumShardsHint() *IntLiteralNode
type HintedStatementNode ¶
type HintedStatementNode struct {
*StatementBaseNode
}
func (*HintedStatementNode) Hint ¶
func (n *HintedStatementNode) Hint() *HintNode
func (*HintedStatementNode) Statement ¶
func (n *HintedStatementNode) Statement() StatementNode
type IdentifierListNode ¶
type IdentifierListNode struct {
*BaseNode
}
func (*IdentifierListNode) IdentifierList ¶
func (n *IdentifierListNode) IdentifierList() []*IdentifierNode
type IdentifierNode ¶
type IdentifierNode struct {
*ExpressionBaseNode
}
func (*IdentifierNode) Name ¶
func (n *IdentifierNode) Name() string
func (*IdentifierNode) SetName ¶
func (n *IdentifierNode) SetName(name string)
type IfStatementNode ¶
type IfStatementNode struct {
*ScriptStatementNode
}
func (*IfStatementNode) Condition ¶
func (n *IfStatementNode) Condition() ExpressionNode
func (*IfStatementNode) ElseList ¶
func (n *IfStatementNode) ElseList() *StatementListNode
func (*IfStatementNode) ElseifClauses ¶
func (n *IfStatementNode) ElseifClauses() *ElseifClauseListNode
func (*IfStatementNode) ThenList ¶
func (n *IfStatementNode) ThenList() *StatementListNode
type ImportStatementKind ¶
type ImportStatementKind int
const ( ImportModule ImportStatementKind = iota ImportProto )
type ImportStatementNode ¶
type ImportStatementNode struct {
*StatementBaseNode
}
func (*ImportStatementNode) Alias ¶
func (n *ImportStatementNode) Alias() *AliasNode
func (*ImportStatementNode) ImportKind ¶
func (n *ImportStatementNode) ImportKind() ImportStatementKind
func (*ImportStatementNode) IntoAlias ¶
func (n *ImportStatementNode) IntoAlias() *IntoAliasNode
func (*ImportStatementNode) Name ¶
func (n *ImportStatementNode) Name() *PathExpressionNode
func (*ImportStatementNode) OptionsList ¶
func (n *ImportStatementNode) OptionsList() *OptionsListNode
func (*ImportStatementNode) SetImportKind ¶
func (n *ImportStatementNode) SetImportKind(kind ImportStatementKind)
func (*ImportStatementNode) StringValue ¶
func (n *ImportStatementNode) StringValue() *StringLiteralNode
type InExpressionNode ¶
type InExpressionNode struct {
*ExpressionBaseNode
}
func (*InExpressionNode) Hint ¶
func (n *InExpressionNode) Hint() *HintNode
func (*InExpressionNode) InList ¶
func (n *InExpressionNode) InList() *InListNode
func (*InExpressionNode) IsNot ¶
func (n *InExpressionNode) IsNot() bool
func (*InExpressionNode) Lhs ¶
func (n *InExpressionNode) Lhs() ExpressionNode
func (*InExpressionNode) Query ¶
func (n *InExpressionNode) Query() *QueryNode
func (*InExpressionNode) SetIsNot ¶
func (n *InExpressionNode) SetIsNot(isNot bool)
func (*InExpressionNode) UnnestExpr ¶
func (n *InExpressionNode) UnnestExpr() *UnnestExpressionNode
type InListNode ¶
type InListNode struct {
*BaseNode
}
func (*InListNode) List ¶
func (n *InListNode) List() []ExpressionNode
type IndexAllColumnsNode ¶
type IndexAllColumnsNode struct {
*LeafBaseNode
}
type IndexItemListNode ¶
type IndexItemListNode struct {
*BaseNode
}
func (*IndexItemListNode) OrderingExpressions ¶
func (n *IndexItemListNode) OrderingExpressions() []*OrderingExpressionNode
type IndexStoringExpressionListNode ¶
type IndexStoringExpressionListNode struct {
*BaseNode
}
func (*IndexStoringExpressionListNode) Expressions ¶
func (n *IndexStoringExpressionListNode) Expressions() []ExpressionNode
type IndexUnnestExpressionListNode ¶
type IndexUnnestExpressionListNode struct {
*BaseNode
}
func (*IndexUnnestExpressionListNode) UnnestExpressions ¶
func (n *IndexUnnestExpressionListNode) UnnestExpressions() []*UnnestExpressionWithOptAliasAndOffsetNode
type InferredTypeColumnSchemaNode ¶
type InferredTypeColumnSchemaNode struct {
*ColumnSchemaNode
}
type InsertMode ¶
type InsertMode int
const ( InsertDefaultMode InsertMode = iota InsertReplaceMode InsertUpdateMode InsertIgnoreMode )
func (InsertMode) String ¶
func (m InsertMode) String() string
type InsertStatementNode ¶
type InsertStatementNode struct {
*StatementBaseNode
}
func (*InsertStatementNode) AssertRowsModified ¶
func (n *InsertStatementNode) AssertRowsModified() *AssertRowsModifiedNode
func (*InsertStatementNode) ColumnList ¶
func (n *InsertStatementNode) ColumnList() *ColumnListNode
func (*InsertStatementNode) InsertMode ¶
func (n *InsertStatementNode) InsertMode() InsertMode
func (*InsertStatementNode) ParseProgress ¶
func (n *InsertStatementNode) ParseProgress() ParseProgress
func (*InsertStatementNode) Query ¶
func (n *InsertStatementNode) Query() *QueryNode
func (*InsertStatementNode) Returning ¶
func (n *InsertStatementNode) Returning() *ReturningClauseNode
func (*InsertStatementNode) Rows ¶
func (n *InsertStatementNode) Rows() *InsertValuesRowListNode
func (*InsertStatementNode) SQLForInsertMode ¶
func (n *InsertStatementNode) SQLForInsertMode() string
func (*InsertStatementNode) SetInsertMode ¶
func (n *InsertStatementNode) SetInsertMode(mode InsertMode)
func (*InsertStatementNode) SetParseProgress ¶
func (n *InsertStatementNode) SetParseProgress(progress ParseProgress)
func (*InsertStatementNode) TargetPath ¶
func (n *InsertStatementNode) TargetPath() GeneralizedPathExpressionNode
type InsertValuesRowListNode ¶
type InsertValuesRowListNode struct {
*BaseNode
}
func (*InsertValuesRowListNode) Rows ¶
func (n *InsertValuesRowListNode) Rows() []*InsertValuesRowNode
type InsertValuesRowNode ¶
type InsertValuesRowNode struct {
*BaseNode
}
func (*InsertValuesRowNode) Values ¶
func (n *InsertValuesRowNode) Values() []ExpressionNode
type InsertionMode ¶
type InsertionMode int
const ( InsertionModeNotSet InsertionMode = iota InsertionModeAppend InsertionModeOverwrite )
func (InsertionMode) String ¶
func (m InsertionMode) String() string
type IntLiteralNode ¶
type IntLiteralNode struct {
*LeafBaseNode
}
func (*IntLiteralNode) IsHex ¶
func (n *IntLiteralNode) IsHex() bool
func (*IntLiteralNode) SetValue ¶
func (n *IntLiteralNode) SetValue(v int64)
func (*IntLiteralNode) Value ¶
func (n *IntLiteralNode) Value() (int64, error)
type IntervalExprNode ¶
type IntervalExprNode struct {
*ExpressionBaseNode
}
func (*IntervalExprNode) DatePartName ¶
func (n *IntervalExprNode) DatePartName() *IdentifierNode
func (*IntervalExprNode) DatePartNameTo ¶
func (n *IntervalExprNode) DatePartNameTo() *IdentifierNode
func (*IntervalExprNode) InternalValue ¶
func (n *IntervalExprNode) InternalValue() ExpressionNode
type IntoAliasNode ¶
type IntoAliasNode struct {
*BaseNode
}
func (*IntoAliasNode) Identifier ¶
func (n *IntoAliasNode) Identifier() *IdentifierNode
func (*IntoAliasNode) Name ¶
func (n *IntoAliasNode) Name() string
type JSONLiteralNode ¶
type JSONLiteralNode struct {
*LeafBaseNode
}
func (*JSONLiteralNode) SetValue ¶
func (n *JSONLiteralNode) SetValue(v string)
func (*JSONLiteralNode) Value ¶
func (n *JSONLiteralNode) Value() string
type JoinNode ¶
type JoinNode struct {
*TableExpressionBaseNode
}
func (*JoinNode) ContainsCommaJoin ¶
func (*JoinNode) Lhs ¶
func (n *JoinNode) Lhs() TableExpressionNode
func (*JoinNode) OnClause ¶
func (n *JoinNode) OnClause() *OnClauseNode
func (*JoinNode) ParseError ¶
func (n *JoinNode) ParseError() *JoinParseError
func (*JoinNode) Rhs ¶
func (n *JoinNode) Rhs() TableExpressionNode
func (*JoinNode) SQLForJoinHint ¶
func (*JoinNode) SQLForJoinType ¶
func (*JoinNode) SetContainsCommaJoin ¶
func (*JoinNode) SetJoinHint ¶
func (*JoinNode) SetJoinType ¶
func (*JoinNode) SetNatural ¶
func (*JoinNode) SetTransformationNeeded ¶
func (*JoinNode) SetUnmatchedJoinCount ¶
func (*JoinNode) TransformationNeeded ¶
func (*JoinNode) UnmatchedJoinCount ¶
func (*JoinNode) UsingClause ¶
func (n *JoinNode) UsingClause() *UsingClauseNode
type JoinParseError ¶
type JoinParseError struct {
// contains filtered or unexported fields
}
func (*JoinParseError) Error ¶
func (e *JoinParseError) Error() string
func (*JoinParseError) ErrorNode ¶
func (e *JoinParseError) ErrorNode() Node
func (*JoinParseError) Message ¶
func (e *JoinParseError) Message() string
type Kind ¶
type Kind int
const ( Unknown Kind = -1 + iota Fake AbortBatchStatement AddColumnAction AddConstraintAction AddToRestricteeListClause FunctionCallWithGroupRows Alias AlterActionList AlterAllRowAccessPoliciesStatement AlterColumnOptionsAction AlterColumnDropNotNullAction AlterColumnTypeAction AlterColumnSetDefaultAction AlterColumnDropDefaultAction AlterConstraintEnforcementAction AlterConstraintSetOptionsAction AlterDatabaseStatement AlterEntityStatement AlterMaterializedViewStatement AlterPrivilegeRestrictionStatement AlterRowAccessPolicyStatement AlterSchemaStatement AlterTableStatement AlterViewStatement AnalyticFunctionCall AnalyzeStatement AndExpr AnySomeAllOp ArrayColumnSchema ArrayConstructor ArrayElement ArrayType AssertRowsModified AssertStatement AssignmentFromStruct BeginStatement BetweenExpression AuxLoadDataFromFilesOptionsList AuxLoadDataStatement BignumericLiteral BinaryExpression BitwiseShiftExpression BeginEndBlock BooleanLiteral BreakStatement BytesLiteral CallStatement CaseStatement CaseNoValueExpression CaseValueExpression CastExpression CheckConstraint ClampedBetweenModifier CloneDataSource CloneDataSourceList CloneDataStatement ClusterBy Collate ColumnAttributeList ColumnDefinition ColumnList ColumnPosition CommitStatement ConnectionClause ContinueStatement CopyDataSource CreateConstantStatement CreateDatabaseStatement CreateExternalTableStatement CreateFunctionStatement CreateIndexStatement CreateModelStatement CreateProcedureStatement CreatePrivilegeRestrictionStatement CreateRowAccessPolicyStatement CreateSchemaStatement CreateSnapshotTableStatement CreateTableFunctionStatement CreateTableStatement CreateEntityStatement CreateViewStatement CreateMaterializedViewStatement DateOrTimeLiteral DefaultLiteral DefineTableStatement DeleteStatement DescribeStatement DescriptorColumn DescriptorColumnList Descriptor DotGeneralizedField DotIdentifier DotStar DotStarWithModifiers DropAllRowAccessPoliciesStatement DropColumnAction DropConstraintAction DropEntityStatement DropFunctionStatement DropPrimaryKeyAction DropPrivilegeRestrictionStatement DropRowAccessPolicyStatement DropSearchIndexStatement DropStatement DropTableFunctionStatement DropMaterializedViewStatement DropSnapshotTableStatement ElseifClause ElseifClauseList ExceptionHandler ExceptionHandlerList ExecuteImmediateStatement ExecuteIntoClause ExecuteUsingArgument ExecuteUsingClause ExplainStatement ExportDataStatement ExportModelStatement ExpressionSubquery ExtractExpression FilterFieldsArg FilterFieldsExpression FilterUsingClause FloatLiteral ForInStatement ForeignKey ForeignKeyActions ForeignKeyColumnAttribute ForeignKeyReference FormatClause ForSystemTime FromClause FunctionCall FunctionDeclaration FunctionParameter FunctionParameters GeneratedColumnInfo GranteeList GrantStatement GrantToClause RestrictToClause GroupBy GroupingItem Having HavingModifier HiddenColumnAttribute Hint HintedStatement HintEntry Identifier IdentifierList IfStatement ImportStatement InExpression InList IndexAllColumns IndexItemList IndexStoringExpressionList IndexUnnestExpressionList InferredTypeColumnSchema InsertStatement InsertValuesRow InsertValuesRowList IntervalExpr IntoAlias IntLiteral Join JoinLiteral Label Lambda LikeExpression LimitOffset MaxLiteral MergeAction MergeStatement MergeWhenClause MergeWhenClauseList ModelClause ModuleStatement NamedArgument NewConstructor NewConstructorArg NotNullColumnAttribute NullLiteral NullOrder NumericLiteral OnClause OnOrUsingClauseList OptionsEntry OptionsList OrderBy OrderingExpression OrExpr ParameterAssignment ParameterExpr ParenthesizedJoin PartitionBy PathExpression PathExpressionList PivotClause UnpivotClause UnpivotInItemLabel UnpivotInItem UnpivotInItemList PivotExpression PivotExpressionList PivotValue PivotValueList PrimaryKey PrimaryKeyColumnAttribute Privilege Privileges Qualify Query QueryStatement RaiseStatement RemoveFromRestricteeListClause RenameColumnAction RenameToClause RenameStatement RepeatStatement RepeatableClause ReplaceFieldsArg ReplaceFieldsExpression ReturnStatement ReturningClause RevokeFromClause RevokeStatement RollbackStatement Rollup RunBatchStatement SampleClause SampleSize SampleSuffix Script Select SelectAs SelectColumn SelectList SetOperation SetOptionsAction SetAsAction SetCollateClause SetTransactionStatement SingleAssignment ShowStatement SimpleColumnSchema SimpleType SqlFunctionBody Star StarExceptList StarModifiers StarReplaceItem StarWithModifiers StarBatchStatement StatementList StringLiteral StructColumnField StructColumnSchema StructConstructorArg StructConstructorWithKeyword StructConstructorWithParens StructField StructType SystemVariableAssignment SystemVariableExpr TableAndColumnInfo TableAndColumnInfoList TableClause TableElementList TablePathExpression TableSubquery TemplatedParameterType TransactionIsolationLevel TransactionModeList TransactionReadWriteMode TransformClause TrucateStatement Tvf TvfArgument TvfSchema TvfSchemaColumn TypeParameterList UnaryExpression UnnestExpression UnnestExpressionWithOptAliasAndOffset UntilClause UpdateItem UpdateItemList UpdateSetValue UpdateStatement UsingClause VariableDeclaration WhenThenClause WhenThenClauseList WhereClause WhileStatement WindowClause WindowDefinition WindowFrame WindowFrameExpr WindowSpecification WithClause WithClauseEntry WithConnectionClause WithGroupRows WithOffset WithPartitionColumnsClause WithWeight )
type LabelNode ¶
type LabelNode struct {
*BaseNode
}
func (*LabelNode) Name ¶
func (n *LabelNode) Name() *IdentifierNode
type LambdaNode ¶
type LambdaNode struct {
*ExpressionBaseNode
}
func (*LambdaNode) ArgumentList ¶
func (n *LambdaNode) ArgumentList() ExpressionNode
func (*LambdaNode) Body ¶
func (n *LambdaNode) Body() ExpressionNode
type LeafBaseNode ¶
type LeafBaseNode struct {
*ExpressionBaseNode
}
func (*LeafBaseNode) Image ¶
func (n *LeafBaseNode) Image() string
func (*LeafBaseNode) SetImage ¶
func (n *LeafBaseNode) SetImage(image string)
type LeafNode ¶
type LeafNode interface { ExpressionNode }
type LikeExpressionNode ¶
type LikeExpressionNode struct {
*ExpressionBaseNode
}
func (*LikeExpressionNode) Hint ¶
func (n *LikeExpressionNode) Hint() *HintNode
func (*LikeExpressionNode) InList ¶
func (n *LikeExpressionNode) InList() *InListNode
func (*LikeExpressionNode) IsNot ¶
func (n *LikeExpressionNode) IsNot() bool
func (*LikeExpressionNode) Lhs ¶
func (n *LikeExpressionNode) Lhs() ExpressionNode
func (*LikeExpressionNode) Op ¶
func (n *LikeExpressionNode) Op() *AnySomeAllOpNode
func (*LikeExpressionNode) Query ¶
func (n *LikeExpressionNode) Query() *QueryNode
func (*LikeExpressionNode) SetIsNot ¶
func (n *LikeExpressionNode) SetIsNot(isNot bool)
func (*LikeExpressionNode) UnnestExpr ¶
func (n *LikeExpressionNode) UnnestExpr() *UnnestExpressionNode
type LimitOffsetNode ¶
type LimitOffsetNode struct {
*BaseNode
}
func (*LimitOffsetNode) Limit ¶
func (n *LimitOffsetNode) Limit() ExpressionNode
func (*LimitOffsetNode) Offset ¶
func (n *LimitOffsetNode) Offset() ExpressionNode
type LoopStatementNode ¶
type LoopStatementNode struct {
*ScriptStatementNode
}
func (*LoopStatementNode) Body ¶
func (n *LoopStatementNode) Body() *StatementListNode
func (*LoopStatementNode) IsLoopStatement ¶
func (n *LoopStatementNode) IsLoopStatement() bool
func (*LoopStatementNode) Label ¶
func (n *LoopStatementNode) Label() *LabelNode
type MaxLiteralNode ¶
type MaxLiteralNode struct {
*LeafBaseNode
}
func (*MaxLiteralNode) SetValue ¶
func (n *MaxLiteralNode) SetValue(v string)
func (*MaxLiteralNode) Value ¶
func (n *MaxLiteralNode) Value() string
type MergeActionNode ¶
type MergeActionNode struct {
*BaseNode
}
func (*MergeActionNode) ActionType ¶
func (n *MergeActionNode) ActionType() MergeActionType
func (*MergeActionNode) InsertColumnList ¶
func (n *MergeActionNode) InsertColumnList() *ColumnListNode
func (*MergeActionNode) InsertRow ¶
func (n *MergeActionNode) InsertRow() *InsertValuesRowNode
func (*MergeActionNode) SetActionType ¶
func (n *MergeActionNode) SetActionType(typ MergeActionType)
func (*MergeActionNode) UpdateItemList ¶
func (n *MergeActionNode) UpdateItemList() *UpdateItemListNode
type MergeActionType ¶
type MergeActionType int
const ( MergeActionNotSet MergeActionType = iota MergeActionInsert MergeActionUpdate MergeActionDelete )
type MergeMatchType ¶
type MergeMatchType int
const ( MergeMatchNotSet MergeMatchType = iota MergeMatched MergeNotMatchedBySource MergeNotMatchedByTarget )
type MergeStatementNode ¶
type MergeStatementNode struct {
*StatementBaseNode
}
func (*MergeStatementNode) Alias ¶
func (n *MergeStatementNode) Alias() *AliasNode
func (*MergeStatementNode) MergeCondition ¶
func (n *MergeStatementNode) MergeCondition() ExpressionNode
func (*MergeStatementNode) TableExpression ¶
func (n *MergeStatementNode) TableExpression() TableExpressionNode
func (*MergeStatementNode) TargetPath ¶
func (n *MergeStatementNode) TargetPath() *PathExpressionNode
func (*MergeStatementNode) WhenClauses ¶
func (n *MergeStatementNode) WhenClauses() *MergeWhenClauseListNode
type MergeWhenClauseListNode ¶
type MergeWhenClauseListNode struct {
*BaseNode
}
func (*MergeWhenClauseListNode) ClauseList ¶
func (n *MergeWhenClauseListNode) ClauseList() []*MergeWhenClauseNode
type MergeWhenClauseNode ¶
type MergeWhenClauseNode struct {
*BaseNode
}
func (*MergeWhenClauseNode) Action ¶
func (n *MergeWhenClauseNode) Action() *MergeActionNode
func (*MergeWhenClauseNode) MatchType ¶
func (n *MergeWhenClauseNode) MatchType() MergeMatchType
func (*MergeWhenClauseNode) SQLForMatchType ¶
func (n *MergeWhenClauseNode) SQLForMatchType() string
func (*MergeWhenClauseNode) SearchCondition ¶
func (n *MergeWhenClauseNode) SearchCondition() ExpressionNode
func (*MergeWhenClauseNode) SetMatchType ¶
func (n *MergeWhenClauseNode) SetMatchType(matchType MergeMatchType)
type ModelClauseNode ¶
type ModelClauseNode struct {
*BaseNode
}
func (*ModelClauseNode) ModelPath ¶
func (n *ModelClauseNode) ModelPath() *PathExpressionNode
type ModuleStatementNode ¶
type ModuleStatementNode struct {
*StatementBaseNode
}
func (*ModuleStatementNode) Name ¶
func (n *ModuleStatementNode) Name() *PathExpressionNode
func (*ModuleStatementNode) OptionsList ¶
func (n *ModuleStatementNode) OptionsList() *OptionsListNode
type NamedArgumentNode ¶
type NamedArgumentNode struct {
*ExpressionBaseNode
}
func (*NamedArgumentNode) Expr ¶
func (n *NamedArgumentNode) Expr() ExpressionNode
func (*NamedArgumentNode) Name ¶
func (n *NamedArgumentNode) Name() *IdentifierNode
type NewConstructorArgNode ¶
type NewConstructorArgNode struct {
*BaseNode
}
func (*NewConstructorArgNode) Expression ¶
func (n *NewConstructorArgNode) Expression() ExpressionNode
func (*NewConstructorArgNode) OptionalIdentifier ¶
func (n *NewConstructorArgNode) OptionalIdentifier() *IdentifierNode
func (*NewConstructorArgNode) OptionalPathExpression ¶
func (n *NewConstructorArgNode) OptionalPathExpression() *PathExpressionNode
type NewConstructorNode ¶
type NewConstructorNode struct {
*ExpressionBaseNode
}
func (*NewConstructorNode) Arguments ¶
func (n *NewConstructorNode) Arguments() []*NewConstructorArgNode
func (*NewConstructorNode) TypeName ¶
func (n *NewConstructorNode) TypeName() *SimpleTypeNode
type Node ¶
type Node interface { ID() int Kind() Kind NumChildren() int SingleNodeDebugString() string Child(int) Node MutableChild(int) Node SetParent(Node) Parent() Node AddChild(Node) AddChildFront(Node) FindChildIndex(Kind) int DebugString(int) string MoveStartLocation(int) MoveStartLocationBack(int) SetStartLocationToEndLocation() MoveEndLocationBack(int) SetStartLocation(*types.ParseLocationPoint) SetEndLocation(*types.ParseLocationPoint) IsTableExpression() bool IsQueryExpression() bool IsExpression() bool IsType() bool IsLeaf() bool IsStatement() bool IsScriptStatement() bool IsLoopStatement() bool IsSqlStatement() bool IsDdlStatement() bool IsCreateStatement() bool IsAlterStatement() bool ParseLocationRange() *types.ParseLocationRange LocationString() string // contains filtered or unexported methods }
type NotNullColumnAttributeNode ¶
type NotNullColumnAttributeNode struct {
*ColumnAttributeBaseNode
}
type NullHandlingModifier ¶
type NullHandlingModifier int
const ( DefaultNullHandling NullHandlingModifier = iota IgnoreNulls RespectNulls )
func (NullHandlingModifier) String ¶
func (m NullHandlingModifier) String() string
type NullLiteralNode ¶
type NullLiteralNode struct {
*LeafBaseNode
}
type NullOrderNode ¶
type NullOrderNode struct {
*BaseNode
}
func (*NullOrderNode) NullsFirst ¶
func (n *NullOrderNode) NullsFirst() bool
func (*NullOrderNode) SetNullsFirst ¶
func (n *NullOrderNode) SetNullsFirst(nullsFirst bool)
type NumericLiteralNode ¶
type NumericLiteralNode struct {
*LeafBaseNode
}
func (*NumericLiteralNode) SetValue ¶
func (n *NumericLiteralNode) SetValue(v string)
func (*NumericLiteralNode) Value ¶
func (n *NumericLiteralNode) Value() string
type OnClauseNode ¶
type OnClauseNode struct {
*BaseNode
}
func (*OnClauseNode) Expression ¶
func (n *OnClauseNode) Expression() ExpressionNode
type OnOrUsingClauseListNode ¶
type OnOrUsingClauseListNode struct {
*BaseNode
}
func (*OnOrUsingClauseListNode) OnOrUsingClauseList ¶
func (n *OnOrUsingClauseListNode) OnOrUsingClauseList() []Node
type OptionsEntryNode ¶
type OptionsEntryNode struct {
*BaseNode
}
func (*OptionsEntryNode) Name ¶
func (n *OptionsEntryNode) Name() *IdentifierNode
func (*OptionsEntryNode) Value ¶
func (n *OptionsEntryNode) Value() ExpressionNode
type OptionsListNode ¶
type OptionsListNode struct {
*BaseNode
}
func (*OptionsListNode) OptionsEntries ¶
func (n *OptionsListNode) OptionsEntries() []*OptionsEntryNode
type OrExprNode ¶
type OrExprNode struct {
*ExpressionBaseNode
}
func (*OrExprNode) Disjuncts ¶
func (n *OrExprNode) Disjuncts() []ExpressionNode
type OrderByNode ¶
type OrderByNode struct {
*BaseNode
}
func (*OrderByNode) Hint ¶
func (n *OrderByNode) Hint() *HintNode
func (*OrderByNode) OrderingExpressions ¶
func (n *OrderByNode) OrderingExpressions() []*OrderingExpressionNode
type OrderingExpressionNode ¶
type OrderingExpressionNode struct {
*BaseNode
}
func (*OrderingExpressionNode) Collate ¶
func (n *OrderingExpressionNode) Collate() *CollateNode
func (*OrderingExpressionNode) Expression ¶
func (n *OrderingExpressionNode) Expression() ExpressionNode
func (*OrderingExpressionNode) NullOrder ¶
func (n *OrderingExpressionNode) NullOrder() *NullOrderNode
func (*OrderingExpressionNode) OrderingSpec ¶
func (n *OrderingExpressionNode) OrderingSpec() OrderingSpec
func (*OrderingExpressionNode) SetOrderingSpec ¶
func (n *OrderingExpressionNode) SetOrderingSpec(spec OrderingSpec)
type OrderingSpec ¶
type OrderingSpec int
const ( NotSetSpec OrderingSpec = iota AscSpec DescSpec UnspecifiedSpec )
func (OrderingSpec) String ¶
func (s OrderingSpec) String() string
type ParameterAssignmentNode ¶
type ParameterAssignmentNode struct {
*StatementBaseNode
}
func (*ParameterAssignmentNode) Expression ¶
func (n *ParameterAssignmentNode) Expression() ExpressionNode
func (*ParameterAssignmentNode) Parameter ¶
func (n *ParameterAssignmentNode) Parameter() *ParameterExprNode
type ParameterExprBaseNode ¶
type ParameterExprBaseNode struct {
*ExpressionBaseNode
}
type ParameterExprNode ¶
type ParameterExprNode struct {
*ParameterExprBaseNode
}
func (*ParameterExprNode) Name ¶
func (n *ParameterExprNode) Name() *IdentifierNode
func (*ParameterExprNode) Position ¶
func (n *ParameterExprNode) Position() int
func (*ParameterExprNode) SetPosition ¶
func (n *ParameterExprNode) SetPosition(pos int)
type ParenthesizedJoinNode ¶
type ParenthesizedJoinNode struct {
*TableExpressionBaseNode
}
func (*ParenthesizedJoinNode) Join ¶
func (n *ParenthesizedJoinNode) Join() *JoinNode
func (*ParenthesizedJoinNode) SampleClause ¶
func (n *ParenthesizedJoinNode) SampleClause() *SampleClauseNode
type ParseProgress ¶
type ParseProgress int
const ( ParseProgressInitial ParseProgress = iota ParseProgressSeenOrIgnoreReplaceUpdate ParseProgressSeenTargetPath ParseProgressSeenColumnList ParseProgressSeenValuesList )
type PartitionByNode ¶
type PartitionByNode struct {
*BaseNode
}
func (*PartitionByNode) Hint ¶
func (n *PartitionByNode) Hint() *HintNode
func (*PartitionByNode) PartitioningExpressions ¶
func (n *PartitionByNode) PartitioningExpressions() []ExpressionNode
type PathExpressionListNode ¶
type PathExpressionListNode struct {
*BaseNode
}
func (*PathExpressionListNode) PathExpressionList ¶
func (n *PathExpressionListNode) PathExpressionList() []*PathExpressionNode
type PathExpressionNode ¶
type PathExpressionNode struct {
*GeneralizedPathExpressionBaseNode
}
PathExpressionNode is used for dotted identifier paths only, not dotting into arbitrary expressions (see DotIdentifierNode).
func (*PathExpressionNode) Names ¶
func (n *PathExpressionNode) Names() []*IdentifierNode
func (*PathExpressionNode) ToIdentifierPathString ¶
func (n *PathExpressionNode) ToIdentifierPathString(maxPrefixSize uint32) string
ToIdentifierPath String return this PathExpression as a dotted SQL identifier string, with quoting if necessary. If maxPrefixSize is non-zero, include at most that many identifiers from the prefix of <path>.
type PivotClauseNode ¶
type PivotClauseNode struct {
*BaseNode
}
func (*PivotClauseNode) ForExpression ¶
func (n *PivotClauseNode) ForExpression() ExpressionNode
func (*PivotClauseNode) OutputAlias ¶
func (n *PivotClauseNode) OutputAlias() *AliasNode
func (*PivotClauseNode) PivotExpressions ¶
func (n *PivotClauseNode) PivotExpressions() *PivotExpressionListNode
func (*PivotClauseNode) PivotValues ¶
func (n *PivotClauseNode) PivotValues() *PivotValueListNode
type PivotExpressionListNode ¶
type PivotExpressionListNode struct {
*BaseNode
}
func (*PivotExpressionListNode) Expressions ¶
func (n *PivotExpressionListNode) Expressions() []*PivotExpressionNode
type PivotExpressionNode ¶
type PivotExpressionNode struct {
*BaseNode
}
func (*PivotExpressionNode) Alias ¶
func (n *PivotExpressionNode) Alias() *AliasNode
func (*PivotExpressionNode) Expression ¶
func (n *PivotExpressionNode) Expression() ExpressionNode
type PivotValueListNode ¶
type PivotValueListNode struct {
*BaseNode
}
func (*PivotValueListNode) Values ¶
func (n *PivotValueListNode) Values() []*PivotValueNode
type PivotValueNode ¶
type PivotValueNode struct {
*BaseNode
}
func (*PivotValueNode) Alias ¶
func (n *PivotValueNode) Alias() *AliasNode
func (*PivotValueNode) Value ¶
func (n *PivotValueNode) Value() ExpressionNode
type PrimaryKeyColumnAttributeNode ¶
type PrimaryKeyColumnAttributeNode struct {
*ColumnAttributeBaseNode
}
func (*PrimaryKeyColumnAttributeNode) Enforced ¶
func (n *PrimaryKeyColumnAttributeNode) Enforced() bool
func (*PrimaryKeyColumnAttributeNode) SetEnforced ¶
func (n *PrimaryKeyColumnAttributeNode) SetEnforced(enforced bool)
type PrimaryKeyNode ¶
type PrimaryKeyNode struct {
*TableConstraintBaseNode
}
func (*PrimaryKeyNode) ColumnList ¶
func (n *PrimaryKeyNode) ColumnList() *ColumnListNode
func (*PrimaryKeyNode) Enforced ¶
func (n *PrimaryKeyNode) Enforced() bool
func (*PrimaryKeyNode) OptionsList ¶
func (n *PrimaryKeyNode) OptionsList() *OptionsListNode
func (*PrimaryKeyNode) SetEnforced ¶
func (n *PrimaryKeyNode) SetEnforced(enforced bool)
type PrivilegeNode ¶
type PrivilegeNode struct {
*BaseNode
}
func (*PrivilegeNode) Paths ¶
func (n *PrivilegeNode) Paths() *PathExpressionListNode
func (*PrivilegeNode) PrivilegeAction ¶
func (n *PrivilegeNode) PrivilegeAction() *IdentifierNode
type PrivilegesNode ¶
type PrivilegesNode struct {
*BaseNode
}
func (*PrivilegesNode) IsAllPrivileges ¶
func (n *PrivilegesNode) IsAllPrivileges() bool
func (*PrivilegesNode) Privileges ¶
func (n *PrivilegesNode) Privileges() []*PrivilegeNode
type ProcedureParameterMode ¶
type ProcedureParameterMode int
const ( NotSetProcedureParameter ProcedureParameterMode = iota InProcedureParameter OutProcedureParameter InOutProcedureParameter )
func (ProcedureParameterMode) String ¶
func (m ProcedureParameterMode) String() string
type QualifyNode ¶
type QualifyNode struct {
*BaseNode
}
func (*QualifyNode) Expression ¶
func (n *QualifyNode) Expression() ExpressionNode
type QueryExpressionBaseNode ¶
type QueryExpressionBaseNode struct {
*BaseNode
}
func (*QueryExpressionBaseNode) Parenthesized ¶
func (n *QueryExpressionBaseNode) Parenthesized() bool
func (*QueryExpressionBaseNode) SetParenthesized ¶
func (n *QueryExpressionBaseNode) SetParenthesized(parenthesized bool)
type QueryExpressionNode ¶
type QueryNode ¶
type QueryNode struct {
*QueryExpressionBaseNode
}
func (*QueryNode) IsPivotInput ¶
func (*QueryNode) LimitOffset ¶
func (n *QueryNode) LimitOffset() *LimitOffsetNode
func (*QueryNode) OrderBy ¶
func (n *QueryNode) OrderBy() *OrderByNode
func (*QueryNode) QueryExpr ¶
func (n *QueryNode) QueryExpr() QueryExpressionNode
func (*QueryNode) SetIsNested ¶
func (*QueryNode) SetIsPivotInput ¶
func (*QueryNode) WithClause ¶
func (n *QueryNode) WithClause() *WithClauseNode
type QueryStatementNode ¶
type QueryStatementNode struct {
*StatementBaseNode
}
func (*QueryStatementNode) Query ¶
func (n *QueryStatementNode) Query() *QueryNode
type RaiseStatementNode ¶
type RaiseStatementNode struct {
*ScriptStatementNode
}
func (*RaiseStatementNode) IsRethrow ¶
func (n *RaiseStatementNode) IsRethrow() bool
func (*RaiseStatementNode) Message ¶
func (n *RaiseStatementNode) Message() ExpressionNode
type RemoveFromRestricteeListClauseNode ¶
type RemoveFromRestricteeListClauseNode struct {
*AlterActionBaseNode
}
func (*RemoveFromRestricteeListClauseNode) IsIfExists ¶
func (n *RemoveFromRestricteeListClauseNode) IsIfExists() bool
func (*RemoveFromRestricteeListClauseNode) RestricteeList ¶
func (n *RemoveFromRestricteeListClauseNode) RestricteeList() *GranteeListNode
func (*RemoveFromRestricteeListClauseNode) SetIsIfExists ¶
func (n *RemoveFromRestricteeListClauseNode) SetIsIfExists(isIfNotExists bool)
type RenameColumnActionNode ¶
type RenameColumnActionNode struct {
*AlterActionBaseNode
}
func (*RenameColumnActionNode) ColumnName ¶
func (n *RenameColumnActionNode) ColumnName() *IdentifierNode
func (*RenameColumnActionNode) IsIfExists ¶
func (n *RenameColumnActionNode) IsIfExists() bool
func (*RenameColumnActionNode) NewColumnName ¶
func (n *RenameColumnActionNode) NewColumnName() *IdentifierNode
func (*RenameColumnActionNode) SetIsIfExists ¶
func (n *RenameColumnActionNode) SetIsIfExists(isIfNotExists bool)
type RenameStatementNode ¶
type RenameStatementNode struct {
*StatementBaseNode
}
func (*RenameStatementNode) Identifier ¶
func (n *RenameStatementNode) Identifier() *IdentifierNode
func (*RenameStatementNode) NewName ¶
func (n *RenameStatementNode) NewName() *PathExpressionNode
func (*RenameStatementNode) OldName ¶
func (n *RenameStatementNode) OldName() *PathExpressionNode
type RenameToClauseNode ¶
type RenameToClauseNode struct {
*AlterActionBaseNode
}
func (*RenameToClauseNode) NewName ¶
func (n *RenameToClauseNode) NewName() *PathExpressionNode
type RepeatStatementNode ¶
type RepeatStatementNode struct {
*LoopStatementNode
}
func (*RepeatStatementNode) UntilClause ¶
func (n *RepeatStatementNode) UntilClause() *UntilClauseNode
type RepeatableClauseNode ¶
type RepeatableClauseNode struct {
*BaseNode
}
func (*RepeatableClauseNode) Argument ¶
func (n *RepeatableClauseNode) Argument() ExpressionNode
type ReplaceFieldsArgNode ¶
type ReplaceFieldsArgNode struct {
*BaseNode
}
func (*ReplaceFieldsArgNode) Expression ¶
func (n *ReplaceFieldsArgNode) Expression() ExpressionNode
func (*ReplaceFieldsArgNode) PathExpression ¶
func (n *ReplaceFieldsArgNode) PathExpression() GeneralizedPathExpressionNode
type ReplaceFieldsExpressionNode ¶
type ReplaceFieldsExpressionNode struct {
*ExpressionBaseNode
}
func (*ReplaceFieldsExpressionNode) Arguments ¶
func (n *ReplaceFieldsExpressionNode) Arguments() []*ReplaceFieldsArgNode
func (*ReplaceFieldsExpressionNode) Expr ¶
func (n *ReplaceFieldsExpressionNode) Expr() ExpressionNode
type RestrictToClauseNode ¶
type RestrictToClauseNode struct {
*AlterActionBaseNode
}
func (*RestrictToClauseNode) RestricteeList ¶
func (n *RestrictToClauseNode) RestricteeList() *GranteeListNode
type ReturnStatementNode ¶
type ReturnStatementNode struct {
*ScriptStatementNode
}
type ReturningClauseNode ¶
type ReturningClauseNode struct {
*BaseNode
}
func (*ReturningClauseNode) ActionAlias ¶
func (n *ReturningClauseNode) ActionAlias() *AliasNode
func (*ReturningClauseNode) SelectList ¶
func (n *ReturningClauseNode) SelectList() *SelectListNode
type RevokeFromClauseNode ¶
type RevokeFromClauseNode struct {
*AlterActionBaseNode
}
func (*RevokeFromClauseNode) IsRevokeFromAll ¶
func (n *RevokeFromClauseNode) IsRevokeFromAll() bool
func (*RevokeFromClauseNode) RevokeFromList ¶
func (n *RevokeFromClauseNode) RevokeFromList() *GranteeListNode
func (*RevokeFromClauseNode) SetIsRevokeFromAll ¶
func (n *RevokeFromClauseNode) SetIsRevokeFromAll(v bool)
type RevokeStatementNode ¶
type RevokeStatementNode struct {
*StatementBaseNode
}
func (*RevokeStatementNode) GranteeList ¶
func (n *RevokeStatementNode) GranteeList() *GranteeListNode
func (*RevokeStatementNode) Privileges ¶
func (n *RevokeStatementNode) Privileges() *PrivilegesNode
func (*RevokeStatementNode) TargetPath ¶
func (n *RevokeStatementNode) TargetPath() *PathExpressionNode
func (*RevokeStatementNode) TargetType ¶
func (n *RevokeStatementNode) TargetType() *IdentifierNode
type RollbackStatementNode ¶
type RollbackStatementNode struct {
*StatementBaseNode
}
type RollupNode ¶
type RollupNode struct {
*BaseNode
}
func (*RollupNode) Expressions ¶
func (n *RollupNode) Expressions() []ExpressionNode
type RunBatchStatementNode ¶
type RunBatchStatementNode struct {
*StatementBaseNode
}
type SampleClauseNode ¶
type SampleClauseNode struct {
*BaseNode
}
func (*SampleClauseNode) SampleMethod ¶
func (n *SampleClauseNode) SampleMethod() *IdentifierNode
func (*SampleClauseNode) SampleSize ¶
func (n *SampleClauseNode) SampleSize() *SampleSizeNode
func (*SampleClauseNode) SampleSuffix ¶
func (n *SampleClauseNode) SampleSuffix() *SampleSuffixNode
type SampleSizeNode ¶
type SampleSizeNode struct {
*BaseNode
}
func (*SampleSizeNode) PartitionBy ¶
func (n *SampleSizeNode) PartitionBy() *PartitionByNode
func (*SampleSizeNode) SQLForUnit ¶
func (n *SampleSizeNode) SQLForUnit() string
func (*SampleSizeNode) SetUnit ¶
func (n *SampleSizeNode) SetUnit(unit SampleSizeUnit)
func (*SampleSizeNode) Size ¶
func (n *SampleSizeNode) Size() ExpressionNode
func (*SampleSizeNode) Unit ¶
func (n *SampleSizeNode) Unit() SampleSizeUnit
type SampleSizeUnit ¶
type SampleSizeUnit int
const ( SampleSizeNotSet SampleSizeUnit = iota SampleSizeRows SampleSizePercent )
func (SampleSizeUnit) String ¶
func (u SampleSizeUnit) String() string
type SampleSuffixNode ¶
type SampleSuffixNode struct {
*BaseNode
}
func (*SampleSuffixNode) Repeat ¶
func (n *SampleSuffixNode) Repeat() *RepeatableClauseNode
func (*SampleSuffixNode) Weight ¶
func (n *SampleSuffixNode) Weight() *WithWeightNode
type SchemaObjectKind ¶
type SchemaObjectKind int
const ( UnknownSchemaObject SchemaObjectKind = iota InvalidSchemaObjectKind AggregateFunctionKind ConstantKind DatabaseKind ExternalTableKind FunctionKind IndexKind MaterializedViewKind ModelKind ProcedureKind SchemaKind TableKind TableFunctionKind ViewKind SnapshotTableKind )
type ScriptBaseNode ¶
type ScriptBaseNode struct {
*BaseNode
}
func (*ScriptBaseNode) StatementList ¶
func (n *ScriptBaseNode) StatementList() []StatementNode
func (*ScriptBaseNode) StatementListNode ¶
func (n *ScriptBaseNode) StatementListNode() *StatementListNode
type ScriptNode ¶
type ScriptNode interface { Node }
type ScriptStatementNode ¶
type ScriptStatementNode struct {
*StatementBaseNode
}
type SelectAsNode ¶
type SelectAsNode struct {
*BaseNode
}
func (*SelectAsNode) AsMode ¶
func (n *SelectAsNode) AsMode() AsMode
func (*SelectAsNode) IsSelectAsStruct ¶
func (n *SelectAsNode) IsSelectAsStruct() bool
func (*SelectAsNode) IsSelectAsValue ¶
func (n *SelectAsNode) IsSelectAsValue() bool
func (*SelectAsNode) SetAsMode ¶
func (n *SelectAsNode) SetAsMode(mode AsMode)
func (*SelectAsNode) TypeName ¶
func (n *SelectAsNode) TypeName() *PathExpressionNode
type SelectColumnNode ¶
type SelectColumnNode struct {
*BaseNode
}
func (*SelectColumnNode) Alias ¶
func (n *SelectColumnNode) Alias() *AliasNode
func (*SelectColumnNode) Expression ¶
func (n *SelectColumnNode) Expression() ExpressionNode
type SelectListNode ¶
type SelectListNode struct {
*BaseNode
}
func (*SelectListNode) Columns ¶
func (n *SelectListNode) Columns() []*SelectColumnNode
type SelectNode ¶
type SelectNode struct {
*QueryExpressionBaseNode
}
func (*SelectNode) AnonymizationOptions ¶
func (n *SelectNode) AnonymizationOptions() *OptionsListNode
func (*SelectNode) Distinct ¶
func (n *SelectNode) Distinct() bool
func (*SelectNode) FromClause ¶
func (n *SelectNode) FromClause() *FromClauseNode
func (*SelectNode) GroupBy ¶
func (n *SelectNode) GroupBy() *GroupByNode
func (*SelectNode) Having ¶
func (n *SelectNode) Having() *HavingNode
func (*SelectNode) Hint ¶
func (n *SelectNode) Hint() *HintNode
func (*SelectNode) Qualify ¶
func (n *SelectNode) Qualify() *QualifyNode
func (*SelectNode) SelectAs ¶
func (n *SelectNode) SelectAs() *SelectAsNode
func (*SelectNode) SelectList ¶
func (n *SelectNode) SelectList() *SelectListNode
func (*SelectNode) SetDistinct ¶
func (n *SelectNode) SetDistinct(distinct bool)
func (*SelectNode) WhereClause ¶
func (n *SelectNode) WhereClause() *WhereClauseNode
func (*SelectNode) WindowClause ¶
func (n *SelectNode) WindowClause() *WindowClauseNode
type SetAsActionNode ¶
type SetAsActionNode struct {
*AlterActionBaseNode
}
func (*SetAsActionNode) JSONBody ¶
func (n *SetAsActionNode) JSONBody() *JSONLiteralNode
func (*SetAsActionNode) TextBody ¶
func (n *SetAsActionNode) TextBody() *StringLiteralNode
type SetCollateClauseNode ¶
type SetCollateClauseNode struct {
*AlterActionBaseNode
}
func (*SetCollateClauseNode) Collate ¶
func (n *SetCollateClauseNode) Collate() *CollateNode
type SetOperationNode ¶
type SetOperationNode struct {
*QueryExpressionBaseNode
}
func (*SetOperationNode) Distinct ¶
func (n *SetOperationNode) Distinct() bool
func (*SetOperationNode) Hint ¶
func (n *SetOperationNode) Hint() *HintNode
func (*SetOperationNode) Inputs ¶
func (n *SetOperationNode) Inputs() []QueryExpressionNode
func (*SetOperationNode) OpType ¶
func (n *SetOperationNode) OpType() SetOperationType
func (*SetOperationNode) SQLForOperation ¶
func (n *SetOperationNode) SQLForOperation() string
func (*SetOperationNode) SetDistinct ¶
func (n *SetOperationNode) SetDistinct(distinct bool)
func (*SetOperationNode) SetOpType ¶
func (n *SetOperationNode) SetOpType(opType SetOperationType)
type SetOperationType ¶
type SetOperationType int
const ( NotSetOperation SetOperationType = iota UnionSetOperation ExceptSetOperation IntersectSetOperation )
type SetOptionsActionNode ¶
type SetOptionsActionNode struct {
*AlterActionBaseNode
}
func (*SetOptionsActionNode) OptionsList ¶
func (n *SetOptionsActionNode) OptionsList() *OptionsListNode
type SetTransactionStatementNode ¶
type SetTransactionStatementNode struct {
*StatementBaseNode
}
func (*SetTransactionStatementNode) ModeList ¶
func (n *SetTransactionStatementNode) ModeList() *TransactionModeListNode
type ShowStatementNode ¶
type ShowStatementNode struct {
*StatementBaseNode
}
func (*ShowStatementNode) Identifier ¶
func (n *ShowStatementNode) Identifier() *IdentifierNode
func (*ShowStatementNode) OptionalLikeString ¶
func (n *ShowStatementNode) OptionalLikeString() *StringLiteralNode
func (*ShowStatementNode) OptionalName ¶
func (n *ShowStatementNode) OptionalName() *PathExpressionNode
type SimpleColumnSchemaNode ¶
type SimpleColumnSchemaNode struct {
*ColumnSchemaNode
}
func (*SimpleColumnSchemaNode) TypeName ¶
func (n *SimpleColumnSchemaNode) TypeName() *PathExpressionNode
type SimpleTypeNode ¶
type SimpleTypeNode struct {
*TypeBaseNode
}
func (*SimpleTypeNode) TypeName ¶
func (n *SimpleTypeNode) TypeName() *PathExpressionNode
type SingleAssignmentNode ¶
type SingleAssignmentNode struct {
*ScriptStatementNode
}
func (*SingleAssignmentNode) Expression ¶
func (n *SingleAssignmentNode) Expression() ExpressionNode
func (*SingleAssignmentNode) Variable ¶
func (n *SingleAssignmentNode) Variable() *IdentifierNode
type SqlFunctionBodyNode ¶
type SqlFunctionBodyNode struct {
*BaseNode
}
func (*SqlFunctionBodyNode) Expression ¶
func (n *SqlFunctionBodyNode) Expression() ExpressionNode
type SqlSecurity ¶
type SqlSecurity int
const ( SqlSecurityUnspecified SqlSecurity = iota SqlSecurityDefiner SqlSecurityInvoker )
func (SqlSecurity) String ¶
func (s SqlSecurity) String() string
type StarExceptListNode ¶
type StarExceptListNode struct {
*BaseNode
}
func (*StarExceptListNode) Identifiers ¶
func (n *StarExceptListNode) Identifiers() []*IdentifierNode
type StarModifiersNode ¶
type StarModifiersNode struct {
*BaseNode
}
func (*StarModifiersNode) ExceptList ¶
func (n *StarModifiersNode) ExceptList() *StarExceptListNode
func (*StarModifiersNode) ReplaceItems ¶
func (n *StarModifiersNode) ReplaceItems() []*StarReplaceItemNode
type StarNode ¶
type StarNode struct {
*LeafBaseNode
}
type StarReplaceItemNode ¶
type StarReplaceItemNode struct {
*BaseNode
}
func (*StarReplaceItemNode) Alias ¶
func (n *StarReplaceItemNode) Alias() *IdentifierNode
func (*StarReplaceItemNode) Expression ¶
func (n *StarReplaceItemNode) Expression() ExpressionNode
type StarWithModifiersNode ¶
type StarWithModifiersNode struct {
*ExpressionBaseNode
}
func (*StarWithModifiersNode) Modifiers ¶
func (n *StarWithModifiersNode) Modifiers() *StarModifiersNode
type StartBatchStatementNode ¶
type StartBatchStatementNode struct {
*StatementBaseNode
}
func (*StartBatchStatementNode) BatchType ¶
func (n *StartBatchStatementNode) BatchType() *IdentifierNode
type StatementBaseNode ¶
type StatementBaseNode struct {
*BaseNode
}
type StatementListNode ¶
type StatementListNode struct {
*BaseNode
}
func (*StatementListNode) SetVariableDeclarationsAllowed ¶
func (n *StatementListNode) SetVariableDeclarationsAllowed(allowed bool)
func (*StatementListNode) StatementList ¶
func (n *StatementListNode) StatementList() []StatementNode
func (*StatementListNode) VariableDeclarationsAllowed ¶
func (n *StatementListNode) VariableDeclarationsAllowed() bool
type StatementNode ¶
type StatementNode interface { Node }
type StringLiteralNode ¶
type StringLiteralNode struct {
*LeafBaseNode
}
func (*StringLiteralNode) SetValue ¶
func (n *StringLiteralNode) SetValue(value string)
func (*StringLiteralNode) Value ¶
func (n *StringLiteralNode) Value() string
type StructColumnFieldNode ¶
type StructColumnFieldNode struct {
*BaseNode
}
func (*StructColumnFieldNode) Name ¶
func (n *StructColumnFieldNode) Name() *IdentifierNode
func (*StructColumnFieldNode) Schema ¶
func (n *StructColumnFieldNode) Schema() *ColumnSchemaNode
type StructColumnSchemaNode ¶
type StructColumnSchemaNode struct {
*ColumnSchemaNode
}
func (*StructColumnSchemaNode) StructFields ¶
func (n *StructColumnSchemaNode) StructFields() []*StructColumnFieldNode
type StructConstructorArgNode ¶
type StructConstructorArgNode struct {
*BaseNode
}
func (*StructConstructorArgNode) Alias ¶
func (n *StructConstructorArgNode) Alias() *AliasNode
func (*StructConstructorArgNode) Expression ¶
func (n *StructConstructorArgNode) Expression() ExpressionNode
type StructConstructorWithKeywordNode ¶
type StructConstructorWithKeywordNode struct {
*ExpressionBaseNode
}
func (*StructConstructorWithKeywordNode) Fields ¶
func (n *StructConstructorWithKeywordNode) Fields() []*StructConstructorArgNode
func (*StructConstructorWithKeywordNode) StructType ¶
func (n *StructConstructorWithKeywordNode) StructType() *StructTypeNode
type StructConstructorWithParensNode ¶
type StructConstructorWithParensNode struct {
*ExpressionBaseNode
}
func (*StructConstructorWithParensNode) FieldExpressions ¶
func (n *StructConstructorWithParensNode) FieldExpressions() []ExpressionNode
type StructFieldNode ¶
type StructFieldNode struct {
*BaseNode
}
func (*StructFieldNode) Name ¶
func (n *StructFieldNode) Name() *IdentifierNode
func (*StructFieldNode) Type ¶
func (n *StructFieldNode) Type() TypeNode
type StructTypeNode ¶
type StructTypeNode struct {
*TypeBaseNode
}
func (*StructTypeNode) StructFields ¶
func (n *StructTypeNode) StructFields() []*StructFieldNode
type SystemVariableAssignmentNode ¶
type SystemVariableAssignmentNode struct {
*StatementBaseNode
}
func (*SystemVariableAssignmentNode) Expression ¶
func (n *SystemVariableAssignmentNode) Expression() ExpressionNode
func (*SystemVariableAssignmentNode) SystemVariable ¶
func (n *SystemVariableAssignmentNode) SystemVariable() *SystemVariableExprNode
type SystemVariableExprNode ¶
type SystemVariableExprNode struct {
*ParameterExprBaseNode
}
func (*SystemVariableExprNode) Path ¶
func (n *SystemVariableExprNode) Path() *PathExpressionNode
type TVFArgumentNode ¶
type TVFArgumentNode struct {
*BaseNode
}
func (*TVFArgumentNode) ConnectionClause ¶
func (n *TVFArgumentNode) ConnectionClause() *ConnectionClauseNode
func (*TVFArgumentNode) Descriptor ¶
func (n *TVFArgumentNode) Descriptor() *DescriptorNode
func (*TVFArgumentNode) Expr ¶
func (n *TVFArgumentNode) Expr() ExpressionNode
func (*TVFArgumentNode) ModelClause ¶
func (n *TVFArgumentNode) ModelClause() *ModelClauseNode
func (*TVFArgumentNode) TableClause ¶
func (n *TVFArgumentNode) TableClause() *TableClauseNode
type TVFNode ¶
type TVFNode struct {
*TableExpressionBaseNode
}
func (*TVFNode) ArgumentEntries ¶
func (n *TVFNode) ArgumentEntries() []*TVFArgumentNode
func (*TVFNode) Name ¶
func (n *TVFNode) Name() *PathExpressionNode
func (*TVFNode) PivotClause ¶
func (n *TVFNode) PivotClause() *PivotClauseNode
func (*TVFNode) SampleClause ¶
func (n *TVFNode) SampleClause() *SampleClauseNode
func (*TVFNode) UnpivotClause ¶
func (n *TVFNode) UnpivotClause() *UnpivotClauseNode
type TVFSchemaColumnNode ¶
type TVFSchemaColumnNode struct {
*BaseNode
}
func (*TVFSchemaColumnNode) Name ¶
func (n *TVFSchemaColumnNode) Name() *IdentifierNode
func (*TVFSchemaColumnNode) Type ¶
func (n *TVFSchemaColumnNode) Type() TypeNode
type TVFSchemaNode ¶
type TVFSchemaNode struct {
*BaseNode
}
func (*TVFSchemaNode) Columns ¶
func (n *TVFSchemaNode) Columns() []*TVFSchemaColumnNode
type TableAndColumnInfoListNode ¶
type TableAndColumnInfoListNode struct {
*BaseNode
}
func (*TableAndColumnInfoListNode) TableAndColumnInfoEntries ¶
func (n *TableAndColumnInfoListNode) TableAndColumnInfoEntries() []*TableAndColumnInfoNode
type TableAndColumnInfoNode ¶
type TableAndColumnInfoNode struct {
*BaseNode
}
func (*TableAndColumnInfoNode) ColumnList ¶
func (n *TableAndColumnInfoNode) ColumnList() *ColumnListNode
func (*TableAndColumnInfoNode) TableName ¶
func (n *TableAndColumnInfoNode) TableName() *PathExpressionNode
type TableClauseNode ¶
type TableClauseNode struct {
*BaseNode
}
func (*TableClauseNode) TVF ¶
func (n *TableClauseNode) TVF() *TVFNode
func (*TableClauseNode) TablePath ¶
func (n *TableClauseNode) TablePath() *PathExpressionNode
type TableConstraintBaseNode ¶
type TableConstraintBaseNode struct {
*TableElementBaseNode
}
func (*TableConstraintBaseNode) ConstraintName ¶
func (n *TableConstraintBaseNode) ConstraintName() *IdentifierNode
type TableConstraintNode ¶
type TableConstraintNode interface { TableElementNode }
type TableDataSourceNode ¶
type TableDataSourceNode struct {
*TableExpressionBaseNode
}
func (*TableDataSourceNode) ForSystemTime ¶
func (n *TableDataSourceNode) ForSystemTime() *ForSystemTimeNode
func (*TableDataSourceNode) PathExpr ¶
func (n *TableDataSourceNode) PathExpr() *PathExpressionNode
func (*TableDataSourceNode) WhereClause ¶
func (n *TableDataSourceNode) WhereClause() *WhereClauseNode
type TableElementBaseNode ¶
type TableElementBaseNode struct {
*BaseNode
}
type TableElementListNode ¶
type TableElementListNode struct {
*BaseNode
}
func (*TableElementListNode) Elements ¶
func (n *TableElementListNode) Elements() []TableElementNode
type TableElementNode ¶
type TableElementNode interface { Node }
type TableExpressionBaseNode ¶
type TableExpressionBaseNode struct {
*BaseNode
}
type TableExpressionNode ¶
type TableExpressionNode interface { Node }
type TablePathExpressionNode ¶
type TablePathExpressionNode struct {
*TableExpressionBaseNode
}
func (*TablePathExpressionNode) Alias ¶
func (n *TablePathExpressionNode) Alias() *AliasNode
func (*TablePathExpressionNode) ForSystemTime ¶
func (n *TablePathExpressionNode) ForSystemTime() *ForSystemTimeNode
func (*TablePathExpressionNode) Hint ¶
func (n *TablePathExpressionNode) Hint() *HintNode
func (*TablePathExpressionNode) PathExpr ¶
func (n *TablePathExpressionNode) PathExpr() *PathExpressionNode
func (*TablePathExpressionNode) PivotClause ¶
func (n *TablePathExpressionNode) PivotClause() *PivotClauseNode
func (*TablePathExpressionNode) SampleClause ¶
func (n *TablePathExpressionNode) SampleClause() *SampleClauseNode
func (*TablePathExpressionNode) UnnestExpr ¶
func (n *TablePathExpressionNode) UnnestExpr() *UnnestExpressionNode
func (*TablePathExpressionNode) UnpivotClause ¶
func (n *TablePathExpressionNode) UnpivotClause() *UnpivotClauseNode
func (*TablePathExpressionNode) WithOffset ¶
func (n *TablePathExpressionNode) WithOffset() *WithOffsetNode
type TableSubqueryNode ¶
type TableSubqueryNode struct {
*TableExpressionBaseNode
}
func (*TableSubqueryNode) Alias ¶
func (n *TableSubqueryNode) Alias() *AliasNode
func (*TableSubqueryNode) PivotClause ¶
func (n *TableSubqueryNode) PivotClause() *PivotClauseNode
func (*TableSubqueryNode) SampleClause ¶
func (n *TableSubqueryNode) SampleClause() *SampleClauseNode
func (*TableSubqueryNode) Subquery ¶
func (n *TableSubqueryNode) Subquery() *QueryNode
func (*TableSubqueryNode) UnpivotClause ¶
func (n *TableSubqueryNode) UnpivotClause() *UnpivotClauseNode
type TemplatedParameterTypeNode ¶
type TemplatedParameterTypeNode struct {
*BaseNode
}
func (*TemplatedParameterTypeNode) SetKind ¶
func (n *TemplatedParameterTypeNode) SetKind(kind TemplatedTypeKind)
func (*TemplatedParameterTypeNode) TemplatedKind ¶
func (n *TemplatedParameterTypeNode) TemplatedKind() TemplatedTypeKind
type TemplatedTypeKind ¶
type TemplatedTypeKind int
const ( TemplatedUninitialized TemplatedTypeKind = iota TemplatedAnyType TemplatedAnyProto TemplatedAnyEnum TemplatedAnyStruct TemplatedAnyArray TemplatedAnyTable )
func (TemplatedTypeKind) String ¶
func (k TemplatedTypeKind) String() string
type TransactionIsolationLevelNode ¶
type TransactionIsolationLevelNode struct {
*TransactionModeBaseNode
}
func (*TransactionIsolationLevelNode) Identifier1 ¶
func (n *TransactionIsolationLevelNode) Identifier1() *IdentifierNode
func (*TransactionIsolationLevelNode) Identifier2 ¶
func (n *TransactionIsolationLevelNode) Identifier2() *IdentifierNode
Identifier2 second identifier can be non-null only if first identifier is non-null.
type TransactionModeBaseNode ¶
type TransactionModeBaseNode struct {
*BaseNode
}
type TransactionModeListNode ¶
type TransactionModeListNode struct {
*BaseNode
}
func (*TransactionModeListNode) Elements ¶
func (n *TransactionModeListNode) Elements() []TransactionModeNode
type TransactionModeNode ¶
type TransactionModeNode interface { Node }
type TransactionReadWriteModeNode ¶
type TransactionReadWriteModeNode struct {
*TransactionModeBaseNode
}
func (*TransactionReadWriteModeNode) Mode ¶
func (n *TransactionReadWriteModeNode) Mode() TransactionReadWriteModeType
func (*TransactionReadWriteModeNode) SetMode ¶
func (n *TransactionReadWriteModeNode) SetMode(modeType TransactionReadWriteModeType)
type TransactionReadWriteModeType ¶
type TransactionReadWriteModeType int
const ( InvalidTransactionMode TransactionReadWriteModeType = iota ReadOnlyTransactionMode ReadWriteTransactionMode )
func (TransactionReadWriteModeType) String ¶
func (m TransactionReadWriteModeType) String() string
type TransformClauseNode ¶
type TransformClauseNode struct {
*BaseNode
}
func (*TransformClauseNode) SelectList ¶
func (n *TransformClauseNode) SelectList() *SelectListNode
type TrucateStatementNode ¶
type TrucateStatementNode struct {
*StatementBaseNode
}
func (*TrucateStatementNode) TargetPath ¶
func (n *TrucateStatementNode) TargetPath() *PathExpressionNode
func (*TrucateStatementNode) Where ¶
func (n *TrucateStatementNode) Where() ExpressionNode
type TypeBaseNode ¶
type TypeBaseNode struct {
*BaseNode
}
func (*TypeBaseNode) Collate ¶
func (n *TypeBaseNode) Collate() *CollateNode
func (*TypeBaseNode) TypeParameters ¶
func (n *TypeBaseNode) TypeParameters() *TypeParameterListNode
type TypeParameterListNode ¶
type TypeParameterListNode struct {
*BaseNode
}
func (*TypeParameterListNode) Parameters ¶
func (n *TypeParameterListNode) Parameters() []LeafNode
type UnaryExpressionNode ¶
type UnaryExpressionNode struct {
*ExpressionBaseNode
}
func (*UnaryExpressionNode) Op ¶
func (n *UnaryExpressionNode) Op() UnaryExpressionOp
func (*UnaryExpressionNode) Operand ¶
func (n *UnaryExpressionNode) Operand() ExpressionNode
func (*UnaryExpressionNode) SQLForOperator ¶
func (n *UnaryExpressionNode) SQLForOperator() string
func (*UnaryExpressionNode) SetOp ¶
func (n *UnaryExpressionNode) SetOp(op UnaryExpressionOp)
type UnaryExpressionOp ¶
type UnaryExpressionOp int
const ( NotSetUnaryOp UnaryExpressionOp = iota NotUnaryOp BitwiseNotUnaryOp MinusUnaryOp PlusUnaryOp IsUnknownUnaryOp IsNotUnknownUnaryOp )
func (UnaryExpressionOp) String ¶
func (o UnaryExpressionOp) String() string
type UnnestExpressionNode ¶
type UnnestExpressionNode struct {
*BaseNode
}
func (*UnnestExpressionNode) Expression ¶
func (n *UnnestExpressionNode) Expression() ExpressionNode
type UnnestExpressionWithOptAliasAndOffsetNode ¶
type UnnestExpressionWithOptAliasAndOffsetNode struct {
*BaseNode
}
func (*UnnestExpressionWithOptAliasAndOffsetNode) OptionalAlias ¶
func (n *UnnestExpressionWithOptAliasAndOffsetNode) OptionalAlias() *AliasNode
func (*UnnestExpressionWithOptAliasAndOffsetNode) OptionalWithOffset ¶
func (n *UnnestExpressionWithOptAliasAndOffsetNode) OptionalWithOffset() *WithOffsetNode
func (*UnnestExpressionWithOptAliasAndOffsetNode) UnnestExpression ¶
func (n *UnnestExpressionWithOptAliasAndOffsetNode) UnnestExpression() *UnnestExpressionNode
type UnpivotClauseNode ¶
type UnpivotClauseNode struct {
*BaseNode
}
func (*UnpivotClauseNode) NullFilter ¶
func (n *UnpivotClauseNode) NullFilter() UnpivotNullFilter
func (*UnpivotClauseNode) OutputAlias ¶
func (n *UnpivotClauseNode) OutputAlias() *AliasNode
func (*UnpivotClauseNode) SetNullFilter ¶
func (n *UnpivotClauseNode) SetNullFilter(filter UnpivotNullFilter)
func (*UnpivotClauseNode) UnpivotInItems ¶
func (n *UnpivotClauseNode) UnpivotInItems() *UnpivotInItemListNode
func (*UnpivotClauseNode) UnpivotOutputNameColumn ¶
func (n *UnpivotClauseNode) UnpivotOutputNameColumn() *PathExpressionNode
func (*UnpivotClauseNode) UnpivotOutputValueColumns ¶
func (n *UnpivotClauseNode) UnpivotOutputValueColumns() *PathExpressionListNode
type UnpivotInItemLabelNode ¶
type UnpivotInItemLabelNode struct {
*BaseNode
}
func (*UnpivotInItemLabelNode) Label ¶
func (n *UnpivotInItemLabelNode) Label() LeafNode
type UnpivotInItemListNode ¶
type UnpivotInItemListNode struct {
*BaseNode
}
func (*UnpivotInItemListNode) InItems ¶
func (n *UnpivotInItemListNode) InItems() []*UnpivotInItemNode
type UnpivotInItemNode ¶
type UnpivotInItemNode struct {
*BaseNode
}
func (*UnpivotInItemNode) Alias ¶
func (n *UnpivotInItemNode) Alias() *UnpivotInItemLabelNode
func (*UnpivotInItemNode) UnpivotColumns ¶
func (n *UnpivotInItemNode) UnpivotColumns() *PathExpressionListNode
type UnpivotNullFilter ¶
type UnpivotNullFilter int
const ( UnpivotUnspecified UnpivotNullFilter = iota UnpivotInclude UnpivotExclude )
func (UnpivotNullFilter) String ¶
func (f UnpivotNullFilter) String() string
type UntilClauseNode ¶
type UntilClauseNode struct {
*BaseNode
}
func (*UntilClauseNode) Condition ¶
func (n *UntilClauseNode) Condition() ExpressionNode
func (*UntilClauseNode) RepeatStmt ¶
func (n *UntilClauseNode) RepeatStmt() *RepeatStatementNode
type UpdateItemListNode ¶
type UpdateItemListNode struct {
*BaseNode
}
func (*UpdateItemListNode) UpdateItems ¶
func (n *UpdateItemListNode) UpdateItems() []*UpdateItemNode
type UpdateItemNode ¶
type UpdateItemNode struct {
*BaseNode
}
func (*UpdateItemNode) DeleteStatement ¶
func (n *UpdateItemNode) DeleteStatement() *DeleteStatementNode
func (*UpdateItemNode) InsertStatement ¶
func (n *UpdateItemNode) InsertStatement() *InsertStatementNode
func (*UpdateItemNode) SetValue ¶
func (n *UpdateItemNode) SetValue() *UpdateSetValueNode
func (*UpdateItemNode) UpdateStatement ¶
func (n *UpdateItemNode) UpdateStatement() *UpdateStatementNode
type UpdateSetValueNode ¶
type UpdateSetValueNode struct {
*BaseNode
}
func (*UpdateSetValueNode) Path ¶
func (n *UpdateSetValueNode) Path() GeneralizedPathExpressionNode
func (*UpdateSetValueNode) Value ¶
func (n *UpdateSetValueNode) Value() ExpressionNode
type UpdateStatementNode ¶
type UpdateStatementNode struct {
*StatementBaseNode
}
func (*UpdateStatementNode) Alias ¶
func (n *UpdateStatementNode) Alias() *AliasNode
func (*UpdateStatementNode) AssertRowsModified ¶
func (n *UpdateStatementNode) AssertRowsModified() *AssertRowsModifiedNode
func (*UpdateStatementNode) FromClause ¶
func (n *UpdateStatementNode) FromClause() *FromClauseNode
func (*UpdateStatementNode) Offset ¶
func (n *UpdateStatementNode) Offset() *WithOffsetNode
func (*UpdateStatementNode) Returning ¶
func (n *UpdateStatementNode) Returning() *ReturningClauseNode
func (*UpdateStatementNode) TargetPath ¶
func (n *UpdateStatementNode) TargetPath() GeneralizedPathExpressionNode
func (*UpdateStatementNode) UpdateItemList ¶
func (n *UpdateStatementNode) UpdateItemList() *UpdateItemListNode
func (*UpdateStatementNode) Where ¶
func (n *UpdateStatementNode) Where() ExpressionNode
type UsingClauseNode ¶
type UsingClauseNode struct {
*BaseNode
}
func (*UsingClauseNode) Keys ¶
func (n *UsingClauseNode) Keys() []*IdentifierNode
type VariableDeclarationNode ¶
type VariableDeclarationNode struct {
*ScriptStatementNode
}
func (*VariableDeclarationNode) DefaultValue ¶
func (n *VariableDeclarationNode) DefaultValue() ExpressionNode
func (*VariableDeclarationNode) Type ¶
func (n *VariableDeclarationNode) Type() TypeNode
func (*VariableDeclarationNode) VariableList ¶
func (n *VariableDeclarationNode) VariableList() *IdentifierListNode
type WhenThenClauseListNode ¶
type WhenThenClauseListNode struct {
*BaseNode
}
func (*WhenThenClauseListNode) WhenThenClauses ¶
func (n *WhenThenClauseListNode) WhenThenClauses() []*WhenThenClauseNode
type WhenThenClauseNode ¶
type WhenThenClauseNode struct {
*BaseNode
}
func (*WhenThenClauseNode) Body ¶
func (n *WhenThenClauseNode) Body() *StatementListNode
func (*WhenThenClauseNode) CaseStmt ¶
func (n *WhenThenClauseNode) CaseStmt() *CaseStatementNode
func (*WhenThenClauseNode) Condition ¶
func (n *WhenThenClauseNode) Condition() ExpressionNode
type WhereClauseNode ¶
type WhereClauseNode struct {
*BaseNode
}
func (*WhereClauseNode) Expression ¶
func (n *WhereClauseNode) Expression() ExpressionNode
type WhileStatementNode ¶
type WhileStatementNode struct {
*LoopStatementNode
}
func (*WhileStatementNode) Condition ¶
func (n *WhileStatementNode) Condition() ExpressionNode
type WindowClauseNode ¶
type WindowClauseNode struct {
*BaseNode
}
func (*WindowClauseNode) Windows ¶
func (n *WindowClauseNode) Windows() []*WindowDefinitionNode
type WindowDefinitionNode ¶
type WindowDefinitionNode struct {
*BaseNode
}
func (*WindowDefinitionNode) Name ¶
func (n *WindowDefinitionNode) Name() *IdentifierNode
func (*WindowDefinitionNode) WindowSpec ¶
func (n *WindowDefinitionNode) WindowSpec() *WindowSpecificationNode
type WindowFrameBoundaryType ¶
type WindowFrameBoundaryType int
const ( UnboundedPrecedingType WindowFrameBoundaryType = iota OffsetPrecedingType CurrentRowType OffsetFollowingType UnboundedFollowingType )
func (WindowFrameBoundaryType) String ¶
func (t WindowFrameBoundaryType) String() string
type WindowFrameExprNode ¶
type WindowFrameExprNode struct {
*BaseNode
}
func (*WindowFrameExprNode) BoundaryType ¶
func (n *WindowFrameExprNode) BoundaryType() WindowFrameBoundaryType
func (*WindowFrameExprNode) Expression ¶
func (n *WindowFrameExprNode) Expression() ExpressionNode
func (*WindowFrameExprNode) SetBoundaryType ¶
func (n *WindowFrameExprNode) SetBoundaryType(boundaryType WindowFrameBoundaryType)
type WindowFrameNode ¶
type WindowFrameNode struct {
*BaseNode
}
func (*WindowFrameNode) EndExpr ¶
func (n *WindowFrameNode) EndExpr() *WindowFrameExprNode
func (*WindowFrameNode) FrameUnit ¶
func (n *WindowFrameNode) FrameUnit() WindowFrameUnit
func (*WindowFrameNode) FrameUnitString ¶
func (n *WindowFrameNode) FrameUnitString() string
func (*WindowFrameNode) SetUnit ¶
func (n *WindowFrameNode) SetUnit(frameUnit WindowFrameUnit)
func (*WindowFrameNode) StartExpr ¶
func (n *WindowFrameNode) StartExpr() *WindowFrameExprNode
type WindowFrameUnit ¶
type WindowFrameUnit int
const ( WindowFrameRows WindowFrameUnit = iota WindowFrameRange )
func (WindowFrameUnit) String ¶
func (u WindowFrameUnit) String() string
type WindowSpecificationNode ¶
type WindowSpecificationNode struct {
*BaseNode
}
func (*WindowSpecificationNode) BaseWindowName ¶
func (n *WindowSpecificationNode) BaseWindowName() *IdentifierNode
func (*WindowSpecificationNode) OrderBy ¶
func (n *WindowSpecificationNode) OrderBy() *OrderByNode
func (*WindowSpecificationNode) PartitionBy ¶
func (n *WindowSpecificationNode) PartitionBy() *PartitionByNode
func (*WindowSpecificationNode) WindowFrame ¶
func (n *WindowSpecificationNode) WindowFrame() *WindowFrameNode
type WithClauseEntryNode ¶
type WithClauseEntryNode struct {
*BaseNode
}
func (*WithClauseEntryNode) Alias ¶
func (n *WithClauseEntryNode) Alias() *IdentifierNode
func (*WithClauseEntryNode) Query ¶
func (n *WithClauseEntryNode) Query() *QueryNode
type WithClauseNode ¶
type WithClauseNode struct {
*BaseNode
}
func (*WithClauseNode) Recursive ¶
func (n *WithClauseNode) Recursive() bool
func (*WithClauseNode) SetRecursive ¶
func (n *WithClauseNode) SetRecursive(recursive bool)
func (*WithClauseNode) With ¶
func (n *WithClauseNode) With() []*WithClauseEntryNode
type WithConnectionClauseNode ¶
type WithConnectionClauseNode struct {
*BaseNode
}
func (*WithConnectionClauseNode) ConnectionClause ¶
func (n *WithConnectionClauseNode) ConnectionClause() *ConnectionClauseNode
type WithGroupRowsNode ¶
type WithGroupRowsNode struct {
*BaseNode
}
func (*WithGroupRowsNode) Subquery ¶
func (n *WithGroupRowsNode) Subquery() *QueryNode
type WithOffsetNode ¶
type WithOffsetNode struct {
*BaseNode
}
func (*WithOffsetNode) Alias ¶
func (n *WithOffsetNode) Alias() *AliasNode
type WithPartitionColumnsClauseNode ¶
type WithPartitionColumnsClauseNode struct {
*BaseNode
}
func (*WithPartitionColumnsClauseNode) TableElementList ¶
func (n *WithPartitionColumnsClauseNode) TableElementList() *TableElementListNode
type WithWeightNode ¶
type WithWeightNode struct {
*BaseNode
}
func (*WithWeightNode) Alias ¶
func (n *WithWeightNode) Alias() *AliasNode
Click to show internal directories.
Click to hide internal directories.