Packages

class AstBuilder extends SqlBaseParserBaseVisitor[AnyRef] with SQLConfHelper with Logging

The AstBuilder converts an ANTLR4 ParseTree into a catalyst Expression, LogicalPlan or TableIdentifier.

Linear Supertypes
Logging, SQLConfHelper, SqlBaseParserBaseVisitor[AnyRef], SqlBaseParserVisitor[AnyRef], AbstractParseTreeVisitor[AnyRef], ParseTreeVisitor[AnyRef], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AstBuilder
  2. Logging
  3. SQLConfHelper
  4. SqlBaseParserBaseVisitor
  5. SqlBaseParserVisitor
  6. AbstractParseTreeVisitor
  7. ParseTreeVisitor
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new AstBuilder()

Type Members

  1. type InsertDirParams = (Boolean, CatalogStorageFormat, Option[String])

    Parameters used for writing query to a directory: (isLocal, CatalogStorageFormat, provider).

  2. type InsertTableParams = (UnresolvedRelation, Seq[String], Map[String, Option[String]], Boolean)

    Parameters used for writing query to a table: (UnresolvedRelation, tableColumnList, partitionKeys, ifPartitionNotExists).

  3. type ScriptIOFormat = (Seq[(String, String)], Option[String], Seq[(String, String)], Option[String])
  4. type TableClauses = (Seq[Transform], Seq[StructField], Option[BucketSpec], Map[String, String], Map[String, String], Option[String], Option[String], Option[SerdeInfo])

    Type to keep track of table clauses: - partition transforms - partition columns - bucketSpec - properties - options - location - comment - serde

    Type to keep track of table clauses: - partition transforms - partition columns - bucketSpec - properties - options - location - comment - serde

    Note: Partition transforms are based on existing table schema definition. It can be simple column names, or functions like year(date_col). Partition columns are column names with data types like i INT, which should be appended to the existing table schema.

  5. type TableHeader = (Seq[String], Boolean, Boolean, Boolean)

    Type to keep track of a table header: (identifier, isTemporary, ifNotExists, isExternal).

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def aggregateResult(arg0: AnyRef, arg1: AnyRef): AnyRef
    Attributes
    protected[tree]
    Definition Classes
    AbstractParseTreeVisitor
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def cleanTableOptions(ctx: ParserRuleContext, options: Map[String, String], location: Option[String]): (Map[String, String], Option[String])
  7. def cleanTableProperties(ctx: ParserRuleContext, properties: Map[String, String]): Map[String, String]
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. def conf: SQLConf

    The active config object within the current scope.

    The active config object within the current scope. See SQLConf.get for more information.

    Definition Classes
    SQLConfHelper
  10. def createSchema(ctx: CreateOrReplaceTableColTypeListContext): StructType

    Create top level table schema.

    Create top level table schema.

    Attributes
    protected
  11. def createSchema(ctx: ColTypeListContext): StructType

    Create top level table schema.

    Create top level table schema.

    Attributes
    protected
  12. def createStructType(ctx: ComplexColTypeListContext): StructType

    Create a StructType from a sequence of StructFields.

    Create a StructType from a sequence of StructFields.

    Attributes
    protected
  13. def defaultResult(): AnyRef
    Attributes
    protected[tree]
    Definition Classes
    AbstractParseTreeVisitor
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. def expression(ctx: ParserRuleContext): Expression

    Create an expression from the given context.

    Create an expression from the given context. This method just passes the context on to the visitor and only takes care of typing (We assume that the visitor returns an Expression here).

    Attributes
    protected
  17. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def getFunctionMultiparts(ctx: FunctionNameContext): Seq[String]
    Attributes
    protected
  20. def getRowFormatDelimited(ctx: RowFormatDelimitedContext): ScriptIOFormat
    Attributes
    protected
  21. def getSerdeInfo(rowFormatCtx: Seq[RowFormatContext], createFileFormatCtx: Seq[CreateFileFormatContext], ctx: ParserRuleContext): Option[SerdeInfo]
    Attributes
    protected
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  24. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  27. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  28. def logDebug(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  29. def logDebug(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  30. def logError(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  31. def logError(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  32. def logInfo(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  33. def logInfo(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  34. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  35. def logTrace(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  36. def logTrace(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  37. def logWarning(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  38. def logWarning(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  39. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  40. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  41. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  42. def parseIntervalLiteral(ctx: IntervalContext): CalendarInterval

    Create a CalendarInterval object

    Create a CalendarInterval object

    Attributes
    protected
  43. def plan(tree: ParserRuleContext): LogicalPlan
    Attributes
    protected
  44. def shouldVisitNextChild(arg0: RuleNode, arg1: AnyRef): Boolean
    Attributes
    protected[tree]
    Definition Classes
    AbstractParseTreeVisitor
  45. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  46. def toString(): String
    Definition Classes
    AnyRef → Any
  47. def typedVisit[T](ctx: ParseTree): T
    Attributes
    protected
  48. def validateRowFormatFileFormat(rowFormatCtx: Seq[RowFormatContext], createFileFormatCtx: Seq[CreateFileFormatContext], parentCtx: ParserRuleContext): Unit
    Attributes
    protected
  49. def validateRowFormatFileFormat(rowFormatCtx: RowFormatContext, createFileFormatCtx: CreateFileFormatContext, parentCtx: ParserRuleContext): Unit

    Throw a ParseException if the user specified incompatible SerDes through ROW FORMAT and STORED AS.

    Throw a ParseException if the user specified incompatible SerDes through ROW FORMAT and STORED AS.

    The following are allowed. Anything else is not: ROW FORMAT SERDE ... STORED AS [SEQUENCEFILE | RCFILE | TEXTFILE] ROW FORMAT DELIMITED ... STORED AS TEXTFILE ROW FORMAT ... STORED AS INPUTFORMAT ... OUTPUTFORMAT ...

    Attributes
    protected
  50. def visit(arg0: ParseTree): AnyRef
    Definition Classes
    AbstractParseTreeVisitor → ParseTreeVisitor
  51. def visitAddTableColumns(ctx: AddTableColumnsContext): LogicalPlan

    Parse a AlterTableAddColumns command.

    Parse a AlterTableAddColumns command.

    For example:

    ALTER TABLE table1
    ADD COLUMNS (col_name data_type [COMMENT col_comment], ...);
    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  52. def visitAddTablePartition(ctx: AddTablePartitionContext): LogicalPlan

    Create an AddPartitions.

    Create an AddPartitions.

    For example:

    ALTER TABLE multi_part_name ADD [IF NOT EXISTS] PARTITION spec [LOCATION 'loc1']
    ALTER VIEW multi_part_name ADD [IF NOT EXISTS] PARTITION spec

    ALTER VIEW ... ADD PARTITION ... is not supported because the concept of partitioning is associated with physical tables

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  53. def visitAggregationClause(ctx: AggregationClauseContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#aggregationClause.

    Visit a parse tree produced by SqlBaseParser#aggregationClause.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  54. def visitAliasedQuery(ctx: AliasedQueryContext): LogicalPlan

    Create an alias (SubqueryAlias) for a sub-query.

    Create an alias (SubqueryAlias) for a sub-query. This is practically the same as visitAliasedRelation and visitNamedExpression, ANTLR4 however requires us to use 3 different hooks. We could add alias names for output columns, for example:

    SELECT col1, col2 FROM testData AS t(col1, col2)
    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  55. def visitAliasedRelation(ctx: AliasedRelationContext): LogicalPlan

    Create an alias (SubqueryAlias) for a join relation.

    Create an alias (SubqueryAlias) for a join relation. This is practically the same as visitAliasedQuery and visitNamedExpression, ANTLR4 however requires us to use 3 different hooks. We could add alias names for output columns, for example:

    SELECT a, b, c, d FROM (src1 s1 INNER JOIN src2 s2 ON s1.id = s2.id) dst(a, b, c, d)
    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  56. def visitAlterColumnAction(ctx: AlterColumnActionContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#alterColumnAction.

    Visit a parse tree produced by SqlBaseParser#alterColumnAction.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  57. def visitAlterTableAlterColumn(ctx: AlterTableAlterColumnContext): LogicalPlan

    Parse a AlterTableAlterColumn command to alter a column's property.

    Parse a AlterTableAlterColumn command to alter a column's property.

    For example:

    ALTER TABLE table1 ALTER COLUMN a.b.c TYPE bigint
    ALTER TABLE table1 ALTER COLUMN a.b.c SET NOT NULL
    ALTER TABLE table1 ALTER COLUMN a.b.c DROP NOT NULL
    ALTER TABLE table1 ALTER COLUMN a.b.c COMMENT 'new comment'
    ALTER TABLE table1 ALTER COLUMN a.b.c FIRST
    ALTER TABLE table1 ALTER COLUMN a.b.c AFTER x
    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  58. def visitAlterViewQuery(ctx: AlterViewQueryContext): LogicalPlan

    Alter the query of a view.

    Alter the query of a view. This creates a AlterViewAs

    For example:

    ALTER VIEW multi_part_name AS SELECT ...;
    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  59. def visitAnalyze(ctx: AnalyzeContext): LogicalPlan

    Create an AnalyzeTable, or an AnalyzeColumn.

    Create an AnalyzeTable, or an AnalyzeColumn. Example SQL for analyzing a table or a set of partitions :

    ANALYZE TABLE multi_part_name [PARTITION (partcol1[=val1], partcol2[=val2], ...)]
    COMPUTE STATISTICS [NOSCAN];

    Example SQL for analyzing columns :

    ANALYZE TABLE multi_part_name COMPUTE STATISTICS FOR COLUMNS column1, column2;

    Example SQL for analyzing all columns of a table:

    ANALYZE TABLE multi_part_name COMPUTE STATISTICS FOR ALL COLUMNS;
    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  60. def visitAnalyzeTables(ctx: AnalyzeTablesContext): LogicalPlan

    Create an AnalyzeTables.

    Create an AnalyzeTables. Example SQL for analyzing all tables in default database:

    ANALYZE TABLES IN default COMPUTE STATISTICS;
    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  61. def visitAnsiNonReserved(ctx: AnsiNonReservedContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#ansiNonReserved.

    Visit a parse tree produced by SqlBaseParser#ansiNonReserved.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  62. def visitAny_value(ctx: Any_valueContext): Expression

    Create an AnyValue expression.

    Create an AnyValue expression.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  63. def visitApplyTransform(ctx: ApplyTransformContext): AnyRef

    Visit a parse tree produced by the applyTransform labeled alternative in SqlBaseParser#transform.

    Visit a parse tree produced by the applyTransform labeled alternative in SqlBaseParser#transform.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  64. def visitArithmeticBinary(ctx: ArithmeticBinaryContext): Expression

    Create a binary arithmetic expression.

    Create a binary arithmetic expression. The following arithmetic operators are supported: - Multiplication: '*' - Division: '/' - Hive Long Division: 'DIV' - Modulo: '%' - Addition: '+' - Subtraction: '-' - Binary AND: '&' - Binary XOR - Binary OR: '|'

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  65. def visitArithmeticOperator(ctx: ArithmeticOperatorContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#arithmeticOperator.

    Visit a parse tree produced by SqlBaseParser#arithmeticOperator.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  66. def visitArithmeticUnary(ctx: ArithmeticUnaryContext): Expression

    Create a unary arithmetic expression.

    Create a unary arithmetic expression. The following arithmetic operators are supported: - Plus: '+' - Minus: '-' - Bitwise Not: '~'

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  67. def visitAssignment(ctx: AssignmentContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#assignment.

    Visit a parse tree produced by SqlBaseParser#assignment.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  68. def visitAssignmentList(ctx: AssignmentListContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#assignmentList.

    Visit a parse tree produced by SqlBaseParser#assignmentList.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  69. def visitBackQuotedIdentifier(ctx: BackQuotedIdentifierContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#backQuotedIdentifier.

    Visit a parse tree produced by SqlBaseParser#backQuotedIdentifier.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  70. def visitBigDecimalLiteral(ctx: BigDecimalLiteralContext): Literal

    Create a BigDecimal Literal expression.

    Create a BigDecimal Literal expression.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  71. def visitBigIntLiteral(ctx: BigIntLiteralContext): Literal

    Create a Long Literal expression.

    Create a Long Literal expression.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  72. def visitBooleanLiteral(ctx: BooleanLiteralContext): Literal

    Create a Boolean literal expression.

    Create a Boolean literal expression.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  73. def visitBooleanValue(ctx: BooleanValueContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#booleanValue.

    Visit a parse tree produced by SqlBaseParser#booleanValue.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  74. def visitBucketSpec(ctx: BucketSpecContext): BucketSpec

    Create a BucketSpec.

    Create a BucketSpec.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  75. def visitCacheTable(ctx: CacheTableContext): LogicalPlan

    Create a CacheTable or CacheTableAsSelect.

    Create a CacheTable or CacheTableAsSelect.

    For example:

    CACHE [LAZY] TABLE multi_part_name
    [OPTIONS tablePropertyList] [[AS] query]
    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  76. def visitCast(ctx: CastContext): Expression

    Create a Cast expression.

    Create a Cast expression.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  77. def visitChildren(node: RuleNode): AnyRef

    Override the default behavior for all visit methods.

    Override the default behavior for all visit methods. This will only return a non-null result when the context has only one child. This is done because there is no generic method to combine the results of the context children. In all other cases null is returned.

    Definition Classes
    AstBuilder → AbstractParseTreeVisitor → ParseTreeVisitor
  78. def visitClearCache(ctx: ClearCacheContext): AnyRef

    Visit a parse tree produced by the clearCache labeled alternative in SqlBaseParser#statement.

    Visit a parse tree produced by the clearCache labeled alternative in SqlBaseParser#statement.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  79. def visitColDefinitionOption(ctx: ColDefinitionOptionContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#colDefinitionOption.

    Visit a parse tree produced by SqlBaseParser#colDefinitionOption.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  80. def visitColPosition(ctx: ColPositionContext): ColumnPosition

    Visit a parse tree produced by SqlBaseParser#colPosition.

    Visit a parse tree produced by SqlBaseParser#colPosition.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  81. def visitColType(ctx: ColTypeContext): StructField

    Create a top level StructField from a column definition.

    Create a top level StructField from a column definition.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  82. def visitColTypeList(ctx: ColTypeListContext): Seq[StructField]

    Create a StructType from a number of column definitions.

    Create a StructType from a number of column definitions.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  83. def visitColumnReference(ctx: ColumnReferenceContext): Expression

    Create an UnresolvedAttribute expression or a UnresolvedRegex if it is a regex quoted in

    Create an UnresolvedAttribute expression or a UnresolvedRegex if it is a regex quoted in

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  84. def visitComment(ctx: CommentContext): String

    Visit a parse tree produced by SqlBaseParser#comment.

    Visit a parse tree produced by SqlBaseParser#comment.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  85. def visitCommentNamespace(ctx: CommentNamespaceContext): LogicalPlan

    Visit a parse tree produced by the commentNamespace labeled alternative in SqlBaseParser#statement.

    Visit a parse tree produced by the commentNamespace labeled alternative in SqlBaseParser#statement.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  86. def visitCommentSpec(ctx: CommentSpecContext): String

    Create a comment string.

    Create a comment string.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  87. def visitCommentSpecList(ctx: List[CommentSpecContext]): Option[String]

    Create an optional comment string.

    Create an optional comment string.

    Attributes
    protected
  88. def visitCommentTable(ctx: CommentTableContext): LogicalPlan

    Visit a parse tree produced by the commentTable labeled alternative in SqlBaseParser#statement.

    Visit a parse tree produced by the commentTable labeled alternative in SqlBaseParser#statement.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  89. def visitCommonSelectQueryClausePlan(relation: LogicalPlan, expressions: Seq[Expression], lateralView: List[LateralViewContext], whereClause: WhereClauseContext, aggregationClause: AggregationClauseContext, havingClause: HavingClauseContext, windowClause: WindowClauseContext, isDistinct: Boolean): LogicalPlan
  90. def visitComparison(ctx: ComparisonContext): Expression

    Create a comparison expression.

    Create a comparison expression. This compares two expressions. The following comparison operators are supported: - Equal: '=' or '==' - Null-safe Equal: '<=>' - Not Equal: '<>' or '!=' - Less than: '<' - Less than or Equal: '<=' - Greater than: '>' - Greater than or Equal: '>='

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  91. def visitComparisonOperator(ctx: ComparisonOperatorContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#comparisonOperator.

    Visit a parse tree produced by SqlBaseParser#comparisonOperator.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  92. def visitComplexColType(ctx: ComplexColTypeContext): StructField

    Create a StructField from a column definition.

    Create a StructField from a column definition.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  93. def visitComplexColTypeList(ctx: ComplexColTypeListContext): Seq[StructField]

    Create a StructType from a number of column definitions.

    Create a StructType from a number of column definitions.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  94. def visitComplexDataType(ctx: ComplexDataTypeContext): DataType

    Create a complex DataType.

    Create a complex DataType. Arrays, Maps and Structures are supported.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  95. def visitConfigKey(ctx: ConfigKeyContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#configKey.

    Visit a parse tree produced by SqlBaseParser#configKey.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  96. def visitConfigValue(ctx: ConfigValueContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#configValue.

    Visit a parse tree produced by SqlBaseParser#configValue.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  97. def visitConstantDefault(ctx: ConstantDefaultContext): AnyRef

    Visit a parse tree produced by the constantDefault labeled alternative in SqlBaseParser#primaryExpression.

    Visit a parse tree produced by the constantDefault labeled alternative in SqlBaseParser#primaryExpression.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  98. def visitConstantList(ctx: ConstantListContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#constantList.

    Visit a parse tree produced by SqlBaseParser#constantList.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  99. def visitCreateFileFormat(ctx: CreateFileFormatContext): SerdeInfo

    Create a SerdeInfo for creating tables.

    Create a SerdeInfo for creating tables.

    Format: STORED AS (name | INPUTFORMAT input_format OUTPUTFORMAT output_format)

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  100. def visitCreateFunction(ctx: CreateFunctionContext): AnyRef

    Visit a parse tree produced by the createFunction labeled alternative in SqlBaseParser#statement.

    Visit a parse tree produced by the createFunction labeled alternative in SqlBaseParser#statement.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  101. def visitCreateIndex(ctx: CreateIndexContext): LogicalPlan

    Create an index, returning a CreateIndex logical plan.

    Create an index, returning a CreateIndex logical plan. For example:

    CREATE INDEX index_name ON [TABLE] table_name [USING index_type] (column_index_property_list)
      [OPTIONS indexPropertyList]
      column_index_property_list: column_name [OPTIONS(indexPropertyList)]  [ ,  . . . ]
      indexPropertyList: index_property_name [= index_property_value] [ ,  . . . ]
    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  102. def visitCreateNamespace(ctx: CreateNamespaceContext): LogicalPlan

    Create a CreateNamespace command.

    Create a CreateNamespace command.

    For example:

    CREATE NAMESPACE [IF NOT EXISTS] ns1.ns2.ns3
      create_namespace_clauses;
    
    create_namespace_clauses (order insensitive):
      [COMMENT namespace_comment]
      [LOCATION path]
      [WITH PROPERTIES (key1=val1, key2=val2, ...)]
    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  103. def visitCreateOrReplaceTableColType(ctx: CreateOrReplaceTableColTypeContext): StructField

    Create a top level StructField from a CREATE TABLE column definition.

    Create a top level StructField from a CREATE TABLE column definition.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  104. def visitCreateOrReplaceTableColTypeList(ctx: CreateOrReplaceTableColTypeListContext): Seq[StructField]

    Create a StructType from a number of CREATE TABLE column definitions.

    Create a StructType from a number of CREATE TABLE column definitions.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  105. def visitCreateTable(ctx: CreateTableContext): LogicalPlan

    Create a table, returning a CreateTable or CreateTableAsSelect logical plan.

    Create a table, returning a CreateTable or CreateTableAsSelect logical plan.

    Expected format:

    CREATE [TEMPORARY] TABLE [IF NOT EXISTS] [db_name.]table_name
    [USING table_provider]
    create_table_clauses
    [[AS] select_statement];
    
    create_table_clauses (order insensitive):
      [PARTITIONED BY (partition_fields)]
      [OPTIONS table_property_list]
      [ROW FORMAT row_format]
      [STORED AS file_format]
      [CLUSTERED BY (col_name, col_name, ...)
        [SORTED BY (col_name [ASC|DESC], ...)]
        INTO num_buckets BUCKETS
      ]
      [LOCATION path]
      [COMMENT table_comment]
      [TBLPROPERTIES (property_name=property_value, ...)]
    
    partition_fields:
      col_name, transform(col_name), transform(constant, col_name), ... |
      col_name data_type [NOT NULL] [COMMENT col_comment], ...
    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  106. def visitCreateTableClauses(ctx: CreateTableClausesContext): TableClauses

    Visit a parse tree produced by SqlBaseParser#createTableClauses.

    Visit a parse tree produced by SqlBaseParser#createTableClauses.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  107. def visitCreateTableHeader(ctx: CreateTableHeaderContext): TableHeader

    Validate a create table statement and return the TableIdentifier.

    Validate a create table statement and return the TableIdentifier.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  108. def visitCreateTableLike(ctx: CreateTableLikeContext): AnyRef

    Visit a parse tree produced by the createTableLike labeled alternative in SqlBaseParser#statement.

    Visit a parse tree produced by the createTableLike labeled alternative in SqlBaseParser#statement.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  109. def visitCreateTempViewUsing(ctx: CreateTempViewUsingContext): AnyRef

    Visit a parse tree produced by the createTempViewUsing labeled alternative in SqlBaseParser#statement.

    Visit a parse tree produced by the createTempViewUsing labeled alternative in SqlBaseParser#statement.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  110. def visitCreateView(ctx: CreateViewContext): AnyRef

    Visit a parse tree produced by the createView labeled alternative in SqlBaseParser#statement.

    Visit a parse tree produced by the createView labeled alternative in SqlBaseParser#statement.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  111. def visitCtes(ctx: CtesContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#ctes.

    Visit a parse tree produced by SqlBaseParser#ctes.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  112. def visitCurrentLike(ctx: CurrentLikeContext): Expression

    Visit a parse tree produced by the currentLike labeled alternative in SqlBaseParser#primaryExpression.

    Visit a parse tree produced by the currentLike labeled alternative in SqlBaseParser#primaryExpression.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  113. def visitDatetimeUnit(ctx: DatetimeUnitContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#datetimeUnit.

    Visit a parse tree produced by SqlBaseParser#datetimeUnit.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  114. def visitDayTimeIntervalDataType(ctx: DayTimeIntervalDataTypeContext): DataType

    Visit a parse tree produced by the dayTimeIntervalDataType labeled alternative in SqlBaseParser#dataType.

    Visit a parse tree produced by the dayTimeIntervalDataType labeled alternative in SqlBaseParser#dataType.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  115. def visitDecimalLiteral(ctx: DecimalLiteralContext): Literal

    Create a decimal literal for a regular decimal number.

    Create a decimal literal for a regular decimal number.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  116. def visitDefaultExpression(ctx: DefaultExpressionContext): String

    Create a default string.

    Create a default string.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  117. def visitDeleteFromTable(ctx: DeleteFromTableContext): LogicalPlan

    Visit a parse tree produced by the deleteFromTable labeled alternative in SqlBaseParser#dmlStatementNoWith.

    Visit a parse tree produced by the deleteFromTable labeled alternative in SqlBaseParser#dmlStatementNoWith.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  118. def visitDereference(ctx: DereferenceContext): Expression

    Create a dereference expression.

    Create a dereference expression. The return type depends on the type of the parent. If the parent is an UnresolvedAttribute, it can be a UnresolvedAttribute or a UnresolvedRegex for regex quoted in ; if the parent is some other expression, it can be UnresolvedExtractValue.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  119. def visitDescribeColName(ctx: DescribeColNameContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#describeColName.

    Visit a parse tree produced by SqlBaseParser#describeColName.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  120. def visitDescribeFuncName(ctx: DescribeFuncNameContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#describeFuncName.

    Visit a parse tree produced by SqlBaseParser#describeFuncName.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  121. def visitDescribeFunction(ctx: DescribeFunctionContext): LogicalPlan

    Create a plan for a DESCRIBE FUNCTION statement.

    Create a plan for a DESCRIBE FUNCTION statement.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  122. def visitDescribeNamespace(ctx: DescribeNamespaceContext): LogicalPlan

    Create a DescribeNamespace.

    Create a DescribeNamespace.

    For example:

    DESCRIBE (DATABASE|SCHEMA|NAMESPACE) [EXTENDED] database;
    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  123. def visitDescribeQuery(ctx: DescribeQueryContext): AnyRef

    Visit a parse tree produced by the describeQuery labeled alternative in SqlBaseParser#statement.

    Visit a parse tree produced by the describeQuery labeled alternative in SqlBaseParser#statement.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  124. def visitDescribeRelation(ctx: DescribeRelationContext): LogicalPlan

    Create a DescribeColumn or DescribeRelation commands.

    Create a DescribeColumn or DescribeRelation commands.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  125. def visitDmlStatement(ctx: DmlStatementContext): AnyRef

    Visit a parse tree produced by the dmlStatement labeled alternative in SqlBaseParser#statement.

    Visit a parse tree produced by the dmlStatement labeled alternative in SqlBaseParser#statement.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  126. def visitDoubleLiteral(ctx: DoubleLiteralContext): Literal

    Create a Double Literal expression.

    Create a Double Literal expression.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  127. def visitDropFunction(ctx: DropFunctionContext): AnyRef

    Visit a parse tree produced by the dropFunction labeled alternative in SqlBaseParser#statement.

    Visit a parse tree produced by the dropFunction labeled alternative in SqlBaseParser#statement.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  128. def visitDropIndex(ctx: DropIndexContext): LogicalPlan

    Drop an index, returning a DropIndex logical plan.

    Drop an index, returning a DropIndex logical plan. For example:

    DROP INDEX [IF EXISTS] index_name ON [TABLE] table_name
    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  129. def visitDropNamespace(ctx: DropNamespaceContext): LogicalPlan

    Create a DropNamespace command.

    Create a DropNamespace command.

    For example:

    DROP (DATABASE|SCHEMA|NAMESPACE) [IF EXISTS] ns1.ns2 [RESTRICT|CASCADE];
    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  130. def visitDropTable(ctx: DropTableContext): LogicalPlan

    Create a DropTable command.

    Create a DropTable command.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  131. def visitDropTableColumns(ctx: DropTableColumnsContext): LogicalPlan

    Parse a AlterTableDropColumns command.

    Parse a AlterTableDropColumns command.

    For example:

    ALTER TABLE table1 DROP COLUMN a.b.c
    ALTER TABLE table1 DROP COLUMNS a.b.c, x, y
    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  132. def visitDropTablePartitions(ctx: DropTablePartitionsContext): LogicalPlan

    Create an DropPartitions

    Create an DropPartitions

    For example:

    ALTER TABLE multi_part_name DROP [IF EXISTS] PARTITION spec1[, PARTITION spec2, ...]
      [PURGE];
    ALTER VIEW view DROP [IF EXISTS] PARTITION spec1[, PARTITION spec2, ...];

    ALTER VIEW ... DROP PARTITION ... is not supported because the concept of partitioning is associated with physical tables

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  133. def visitDropView(ctx: DropViewContext): AnyRef

    Create a DropView command.

    Create a DropView command.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  134. def visitErrorCapturingIdentifier(ctx: ErrorCapturingIdentifierContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#errorCapturingIdentifier.

    Visit a parse tree produced by SqlBaseParser#errorCapturingIdentifier.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  135. def visitErrorCapturingMultiUnitsInterval(ctx: ErrorCapturingMultiUnitsIntervalContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#errorCapturingMultiUnitsInterval.

    Visit a parse tree produced by SqlBaseParser#errorCapturingMultiUnitsInterval.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  136. def visitErrorCapturingUnitToUnitInterval(ctx: ErrorCapturingUnitToUnitIntervalContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#errorCapturingUnitToUnitInterval.

    Visit a parse tree produced by SqlBaseParser#errorCapturingUnitToUnitInterval.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  137. def visitErrorIdent(ctx: ErrorIdentContext): AnyRef

    Visit a parse tree produced by the errorIdent labeled alternative in SqlBaseParser#errorCapturingIdentifierExtra.

    Visit a parse tree produced by the errorIdent labeled alternative in SqlBaseParser#errorCapturingIdentifierExtra.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  138. def visitErrorNode(arg0: ErrorNode): AnyRef
    Definition Classes
    AbstractParseTreeVisitor → ParseTreeVisitor
  139. def visitExists(ctx: ExistsContext): Expression

    Create a filtering correlated sub-query (EXISTS).

    Create a filtering correlated sub-query (EXISTS).

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  140. def visitExplain(ctx: ExplainContext): AnyRef

    Visit a parse tree produced by the explain labeled alternative in SqlBaseParser#statement.

    Visit a parse tree produced by the explain labeled alternative in SqlBaseParser#statement.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  141. def visitExponentLiteral(ctx: ExponentLiteralContext): Literal

    Create a double literal for number with an exponent, e.g.

    Create a double literal for number with an exponent, e.g. 1E-30

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  142. def visitExpression(ctx: ExpressionContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#expression.

    Visit a parse tree produced by SqlBaseParser#expression.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  143. def visitExpressionSeq(ctx: ExpressionSeqContext): Seq[Expression]

    Visit a parse tree produced by SqlBaseParser#expressionSeq.

    Visit a parse tree produced by SqlBaseParser#expressionSeq.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  144. def visitExtract(ctx: ExtractContext): Expression

    Create a Extract expression.

    Create a Extract expression.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  145. def visitFailNativeCommand(ctx: FailNativeCommandContext): AnyRef

    Visit a parse tree produced by the failNativeCommand labeled alternative in SqlBaseParser#statement.

    Visit a parse tree produced by the failNativeCommand labeled alternative in SqlBaseParser#statement.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  146. def visitFirst(ctx: FirstContext): Expression

    Create a First expression.

    Create a First expression.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  147. def visitFloatLiteral(ctx: FloatLiteralContext): Literal

    Create a Float Literal expression.

    Create a Float Literal expression.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  148. def visitFrameBound(ctx: FrameBoundContext): Expression

    Create or resolve a frame boundary expressions.

    Create or resolve a frame boundary expressions.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  149. def visitFromClause(ctx: FromClauseContext): LogicalPlan

    Create a logical plan for a given 'FROM' clause.

    Create a logical plan for a given 'FROM' clause. Note that we support multiple (comma separated) relations here, these get converted into a single plan by condition-less inner join.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  150. def visitFromStatement(ctx: FromStatementContext): LogicalPlan

    Visit a parse tree produced by SqlBaseParser#fromStatement.

    Visit a parse tree produced by SqlBaseParser#fromStatement.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  151. def visitFromStatementBody(ctx: FromStatementBodyContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#fromStatementBody.

    Visit a parse tree produced by SqlBaseParser#fromStatementBody.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  152. def visitFromStmt(ctx: FromStmtContext): AnyRef

    Visit a parse tree produced by the fromStmt labeled alternative in SqlBaseParser#queryPrimary.

    Visit a parse tree produced by the fromStmt labeled alternative in SqlBaseParser#queryPrimary.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  153. def visitFunctionCall(ctx: FunctionCallContext): Expression

    Create a (windowed) Function expression.

    Create a (windowed) Function expression.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  154. def visitFunctionIdentifier(ctx: FunctionIdentifierContext): FunctionIdentifier

    Create a FunctionIdentifier from a 'functionName' or 'databaseName'.'functionName' pattern.

    Create a FunctionIdentifier from a 'functionName' or 'databaseName'.'functionName' pattern.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  155. def visitFunctionName(ctx: QualifiedNameContext): FunctionIdentifier

    Create a function database (optional) and name pair.

    Create a function database (optional) and name pair.

    Attributes
    protected
  156. def visitFunctionName(ctx: FunctionNameContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#functionName.

    Visit a parse tree produced by SqlBaseParser#functionName.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  157. def visitFunctionTable(ctx: FunctionTableContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#functionTable.

    Visit a parse tree produced by SqlBaseParser#functionTable.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  158. def visitGenerationExpression(ctx: GenerationExpressionContext): String

    Create a generation expression string.

    Create a generation expression string.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  159. def visitGenericFileFormat(ctx: GenericFileFormatContext): AnyRef

    Visit a parse tree produced by the genericFileFormat labeled alternative in SqlBaseParser#fileFormat.

    Visit a parse tree produced by the genericFileFormat labeled alternative in SqlBaseParser#fileFormat.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  160. def visitGroupByClause(ctx: GroupByClauseContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#groupByClause.

    Visit a parse tree produced by SqlBaseParser#groupByClause.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  161. def visitGroupingAnalytics(groupingAnalytics: GroupingAnalyticsContext): BaseGroupingSets

    Visit a parse tree produced by SqlBaseParser#groupingAnalytics.

    Visit a parse tree produced by SqlBaseParser#groupingAnalytics.

    The default implementation returns the result of calling #visitChildren on ctx.

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  162. def visitGroupingElement(ctx: GroupingElementContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#groupingElement.

    Visit a parse tree produced by SqlBaseParser#groupingElement.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  163. def visitGroupingSet(ctx: GroupingSetContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#groupingSet.

    Visit a parse tree produced by SqlBaseParser#groupingSet.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  164. def visitHavingClause(ctx: HavingClauseContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#havingClause.

    Visit a parse tree produced by SqlBaseParser#havingClause.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  165. def visitHint(ctx: HintContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#hint.

    Visit a parse tree produced by SqlBaseParser#hint.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  166. def visitHintStatement(ctx: HintStatementContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#hintStatement.

    Visit a parse tree produced by SqlBaseParser#hintStatement.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  167. def visitHiveChangeColumn(ctx: HiveChangeColumnContext): LogicalPlan

    Parse a AlterTableAlterColumn command.

    Parse a AlterTableAlterColumn command. This is Hive SQL syntax.

    For example:

    ALTER TABLE table [PARTITION partition_spec]
    CHANGE [COLUMN] column_old_name column_new_name column_dataType [COMMENT column_comment]
    [FIRST | AFTER column_name];
    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  168. def visitHiveReplaceColumns(ctx: HiveReplaceColumnsContext): LogicalPlan

    Visit a parse tree produced by the hiveReplaceColumns labeled alternative in SqlBaseParser#statement.

    Visit a parse tree produced by the hiveReplaceColumns labeled alternative in SqlBaseParser#statement.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  169. def visitIdentifier(ctx: IdentifierContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#identifier.

    Visit a parse tree produced by SqlBaseParser#identifier.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  170. def visitIdentifierComment(ctx: IdentifierCommentContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#identifierComment.

    Visit a parse tree produced by SqlBaseParser#identifierComment.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  171. def visitIdentifierCommentList(ctx: IdentifierCommentListContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#identifierCommentList.

    Visit a parse tree produced by SqlBaseParser#identifierCommentList.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  172. def visitIdentifierList(ctx: IdentifierListContext): Seq[String]

    Create a Sequence of Strings for a parenthesis enclosed alias list.

    Create a Sequence of Strings for a parenthesis enclosed alias list.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  173. def visitIdentifierSeq(ctx: IdentifierSeqContext): Seq[String]

    Create a Sequence of Strings for an identifier list.

    Create a Sequence of Strings for an identifier list.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  174. def visitIdentityTransform(ctx: IdentityTransformContext): AnyRef

    Visit a parse tree produced by the identityTransform labeled alternative in SqlBaseParser#transform.

    Visit a parse tree produced by the identityTransform labeled alternative in SqlBaseParser#transform.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  175. def visitInlineTable(ctx: InlineTableContext): LogicalPlan

    Create an inline table (a virtual table in Hive parlance).

    Create an inline table (a virtual table in Hive parlance).

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  176. def visitInlineTableDefault1(ctx: InlineTableDefault1Context): AnyRef

    Visit a parse tree produced by the inlineTableDefault1 labeled alternative in SqlBaseParser#queryPrimary.

    Visit a parse tree produced by the inlineTableDefault1 labeled alternative in SqlBaseParser#queryPrimary.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  177. def visitInlineTableDefault2(ctx: InlineTableDefault2Context): AnyRef

    Visit a parse tree produced by the inlineTableDefault2 labeled alternative in SqlBaseParser#relationPrimary.

    Visit a parse tree produced by the inlineTableDefault2 labeled alternative in SqlBaseParser#relationPrimary.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  178. def visitInsertIntoReplaceWhere(ctx: InsertIntoReplaceWhereContext): AnyRef

    Visit a parse tree produced by the insertIntoReplaceWhere labeled alternative in SqlBaseParser#insertInto.

    Visit a parse tree produced by the insertIntoReplaceWhere labeled alternative in SqlBaseParser#insertInto.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  179. def visitInsertIntoTable(ctx: InsertIntoTableContext): InsertTableParams

    Add an INSERT INTO TABLE operation to the logical plan.

    Add an INSERT INTO TABLE operation to the logical plan.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  180. def visitInsertOverwriteDir(ctx: InsertOverwriteDirContext): InsertDirParams

    Write to a directory, returning a InsertIntoDir logical plan.

    Write to a directory, returning a InsertIntoDir logical plan.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  181. def visitInsertOverwriteHiveDir(ctx: InsertOverwriteHiveDirContext): InsertDirParams

    Write to a directory, returning a InsertIntoDir logical plan.

    Write to a directory, returning a InsertIntoDir logical plan.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  182. def visitInsertOverwriteTable(ctx: InsertOverwriteTableContext): InsertTableParams

    Add an INSERT OVERWRITE TABLE operation to the logical plan.

    Add an INSERT OVERWRITE TABLE operation to the logical plan.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  183. def visitIntegerLiteral(ctx: IntegerLiteralContext): Literal

    Create an integral literal expression.

    Create an integral literal expression. The code selects the most narrow integral type possible, either a BigDecimal, a Long or an Integer is returned.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  184. def visitInterval(ctx: IntervalContext): Literal

    Create a CalendarInterval or ANSI interval literal expression.

    Create a CalendarInterval or ANSI interval literal expression. Two syntaxes are supported: - multiple unit value pairs, for instance: interval 2 months 2 days. - from-to unit, for instance: interval '1-2' year to month.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  185. def visitIntervalLiteral(ctx: IntervalLiteralContext): AnyRef

    Visit a parse tree produced by the intervalLiteral labeled alternative in SqlBaseParser#constant.

    Visit a parse tree produced by the intervalLiteral labeled alternative in SqlBaseParser#constant.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  186. def visitIntervalValue(ctx: IntervalValueContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#intervalValue.

    Visit a parse tree produced by SqlBaseParser#intervalValue.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  187. def visitJoinCriteria(ctx: JoinCriteriaContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#joinCriteria.

    Visit a parse tree produced by SqlBaseParser#joinCriteria.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  188. def visitJoinRelation(ctx: JoinRelationContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#joinRelation.

    Visit a parse tree produced by SqlBaseParser#joinRelation.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  189. def visitJoinType(ctx: JoinTypeContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#joinType.

    Visit a parse tree produced by SqlBaseParser#joinType.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  190. def visitLambda(ctx: LambdaContext): Expression

    Create an LambdaFunction.

    Create an LambdaFunction.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  191. def visitLast(ctx: LastContext): Expression

    Create a Last expression.

    Create a Last expression.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  192. def visitLateralView(ctx: LateralViewContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#lateralView.

    Visit a parse tree produced by SqlBaseParser#lateralView.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  193. def visitLegacyDecimalLiteral(ctx: LegacyDecimalLiteralContext): Literal

    Create a decimal literal for a regular decimal number or a scientific decimal number.

    Create a decimal literal for a regular decimal number or a scientific decimal number.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  194. def visitLoadData(ctx: LoadDataContext): LogicalPlan

    Create a LoadData.

    Create a LoadData.

    For example:

    LOAD DATA [LOCAL] INPATH 'filepath' [OVERWRITE] INTO TABLE multi_part_name
    [PARTITION (partcol1=val1, partcol2=val2 ...)]
    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  195. def visitLocationSpec(ctx: LocationSpecContext): String

    Create a location string.

    Create a location string.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  196. def visitLocationSpecList(ctx: List[LocationSpecContext]): Option[String]

    Create an optional location string.

    Create an optional location string.

    Attributes
    protected
  197. def visitLogicalBinary(ctx: LogicalBinaryContext): Expression

    Combine a number of boolean expressions into a balanced expression tree.

    Combine a number of boolean expressions into a balanced expression tree. These expressions are either combined by a logical And or a logical Or.

    A balanced binary tree is created because regular left recursive trees cause considerable performance degradations and can cause stack overflows.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  198. def visitLogicalNot(ctx: LogicalNotContext): Expression

    Invert a boolean expression.

    Invert a boolean expression.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  199. def visitManageResource(ctx: ManageResourceContext): AnyRef

    Visit a parse tree produced by the manageResource labeled alternative in SqlBaseParser#statement.

    Visit a parse tree produced by the manageResource labeled alternative in SqlBaseParser#statement.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  200. def visitMatchedAction(ctx: MatchedActionContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#matchedAction.

    Visit a parse tree produced by SqlBaseParser#matchedAction.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  201. def visitMatchedClause(ctx: MatchedClauseContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#matchedClause.

    Visit a parse tree produced by SqlBaseParser#matchedClause.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  202. def visitMergeIntoTable(ctx: MergeIntoTableContext): LogicalPlan

    Visit a parse tree produced by the mergeIntoTable labeled alternative in SqlBaseParser#dmlStatementNoWith.

    Visit a parse tree produced by the mergeIntoTable labeled alternative in SqlBaseParser#dmlStatementNoWith.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  203. def visitMultiInsertQuery(ctx: MultiInsertQueryContext): LogicalPlan

    Create a logical plan which allows for multiple inserts using one 'from' statement.

    Create a logical plan which allows for multiple inserts using one 'from' statement. These queries have the following SQL form:

    [WITH cte...]?
    FROM src
    [INSERT INTO tbl1 SELECT *]+

    For example:

    FROM db.tbl1 A
    INSERT INTO dbo.tbl1 SELECT * WHERE A.value = 10 LIMIT 5
    INSERT INTO dbo.tbl2 SELECT * WHERE A.value = 12

    This (Hive) feature cannot be combined with set-operators.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  204. def visitMultiInsertQueryBody(ctx: MultiInsertQueryBodyContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#multiInsertQueryBody.

    Visit a parse tree produced by SqlBaseParser#multiInsertQueryBody.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  205. def visitMultiUnitsInterval(ctx: MultiUnitsIntervalContext): CalendarInterval

    Creates a CalendarInterval with multiple unit value pairs, e.g.

    Creates a CalendarInterval with multiple unit value pairs, e.g. 1 YEAR 2 DAYS.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  206. def visitMultipartIdentifier(ctx: MultipartIdentifierContext): Seq[String]

    Create a multi-part identifier.

    Create a multi-part identifier.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  207. def visitMultipartIdentifierList(ctx: MultipartIdentifierListContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#multipartIdentifierList.

    Visit a parse tree produced by SqlBaseParser#multipartIdentifierList.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  208. def visitMultipartIdentifierProperty(ctx: MultipartIdentifierPropertyContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#multipartIdentifierProperty.

    Visit a parse tree produced by SqlBaseParser#multipartIdentifierProperty.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  209. def visitMultipartIdentifierPropertyList(ctx: MultipartIdentifierPropertyListContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#multipartIdentifierPropertyList.

    Visit a parse tree produced by SqlBaseParser#multipartIdentifierPropertyList.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  210. def visitNamedExpression(ctx: NamedExpressionContext): Expression

    Create an aliased expression if an alias is specified.

    Create an aliased expression if an alias is specified. Both single and multi-aliases are supported.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  211. def visitNamedExpressionSeq(ctx: NamedExpressionSeqContext): Seq[Expression]

    Visit a parse tree produced by SqlBaseParser#namedExpressionSeq.

    Visit a parse tree produced by SqlBaseParser#namedExpressionSeq.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  212. def visitNamedQuery(ctx: NamedQueryContext): SubqueryAlias

    Create a named logical plan.

    Create a named logical plan.

    This is only used for Common Table Expressions.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  213. def visitNamedWindow(ctx: NamedWindowContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#namedWindow.

    Visit a parse tree produced by SqlBaseParser#namedWindow.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  214. def visitNamespace(ctx: NamespaceContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#namespace.

    Visit a parse tree produced by SqlBaseParser#namespace.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  215. def visitNamespaces(ctx: NamespacesContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#namespaces.

    Visit a parse tree produced by SqlBaseParser#namespaces.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  216. def visitNestedConstantList(ctx: NestedConstantListContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#nestedConstantList.

    Visit a parse tree produced by SqlBaseParser#nestedConstantList.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  217. def visitNonOptionalPartitionSpec(ctx: PartitionSpecContext): Map[String, String]

    Create a partition specification map without optional values.

    Create a partition specification map without optional values.

    Attributes
    protected
  218. def visitNonReserved(ctx: NonReservedContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#nonReserved.

    Visit a parse tree produced by SqlBaseParser#nonReserved.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  219. def visitNotMatchedAction(ctx: NotMatchedActionContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#notMatchedAction.

    Visit a parse tree produced by SqlBaseParser#notMatchedAction.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  220. def visitNotMatchedBySourceAction(ctx: NotMatchedBySourceActionContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#notMatchedBySourceAction.

    Visit a parse tree produced by SqlBaseParser#notMatchedBySourceAction.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  221. def visitNotMatchedBySourceClause(ctx: NotMatchedBySourceClauseContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#notMatchedBySourceClause.

    Visit a parse tree produced by SqlBaseParser#notMatchedBySourceClause.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  222. def visitNotMatchedClause(ctx: NotMatchedClauseContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#notMatchedClause.

    Visit a parse tree produced by SqlBaseParser#notMatchedClause.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  223. def visitNullLiteral(ctx: NullLiteralContext): Literal

    Create a NULL literal expression.

    Create a NULL literal expression.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  224. def visitNumericLiteral(ctx: NumericLiteralContext): AnyRef

    Visit a parse tree produced by the numericLiteral labeled alternative in SqlBaseParser#constant.

    Visit a parse tree produced by the numericLiteral labeled alternative in SqlBaseParser#constant.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  225. def visitOrderedIdentifier(ctx: OrderedIdentifierContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#orderedIdentifier.

    Visit a parse tree produced by SqlBaseParser#orderedIdentifier.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  226. def visitOrderedIdentifierList(ctx: OrderedIdentifierListContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#orderedIdentifierList.

    Visit a parse tree produced by SqlBaseParser#orderedIdentifierList.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  227. def visitOverlay(ctx: OverlayContext): Expression

    Create a Overlay expression.

    Create a Overlay expression.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  228. def visitParameterLiteral(ctx: ParameterLiteralContext): Expression

    Create a named parameter which represents a literal with a non-bound value and unknown type.

    Create a named parameter which represents a literal with a non-bound value and unknown type.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  229. def visitParenthesizedExpression(ctx: ParenthesizedExpressionContext): Expression

    Create an expression for an expression between parentheses.

    Create an expression for an expression between parentheses. This is need because the ANTLR visitor cannot automatically convert the nested context into an expression.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  230. def visitPartitionColumn(ctx: PartitionColumnContext): AnyRef

    Visit a parse tree produced by the partitionColumn labeled alternative in SqlBaseParser#partitionField.

    Visit a parse tree produced by the partitionColumn labeled alternative in SqlBaseParser#partitionField.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  231. def visitPartitionFieldList(ctx: PartitionFieldListContext): (Seq[Transform], Seq[StructField])

    Parse a list of transforms or columns.

    Parse a list of transforms or columns.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  232. def visitPartitionSpec(ctx: PartitionSpecContext): Map[String, Option[String]]

    Create a partition specification map.

    Create a partition specification map.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  233. def visitPartitionSpecLocation(ctx: PartitionSpecLocationContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#partitionSpecLocation.

    Visit a parse tree produced by SqlBaseParser#partitionSpecLocation.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  234. def visitPartitionTransform(ctx: PartitionTransformContext): Transform

    Visit a parse tree produced by the partitionTransform labeled alternative in SqlBaseParser#partitionField.

    Visit a parse tree produced by the partitionTransform labeled alternative in SqlBaseParser#partitionField.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  235. def visitPartitionVal(ctx: PartitionValContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#partitionVal.

    Visit a parse tree produced by SqlBaseParser#partitionVal.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  236. def visitPercentile(ctx: PercentileContext): Expression

    Create a Percentile expression.

    Create a Percentile expression.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  237. def visitPivotClause(ctx: PivotClauseContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#pivotClause.

    Visit a parse tree produced by SqlBaseParser#pivotClause.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  238. def visitPivotColumn(ctx: PivotColumnContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#pivotColumn.

    Visit a parse tree produced by SqlBaseParser#pivotColumn.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  239. def visitPivotValue(ctx: PivotValueContext): Expression

    Create a Pivot column value with or without an alias.

    Create a Pivot column value with or without an alias.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  240. def visitPosition(ctx: PositionContext): Expression

    Create a Position expression.

    Create a Position expression.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  241. def visitPredicate(ctx: PredicateContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#predicate.

    Visit a parse tree produced by SqlBaseParser#predicate.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  242. def visitPredicateOperator(ctx: PredicateOperatorContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#predicateOperator.

    Visit a parse tree produced by SqlBaseParser#predicateOperator.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  243. def visitPredicated(ctx: PredicatedContext): Expression

    Create a predicated expression.

    Create a predicated expression. A predicated expression is a normal expression with a predicate attached to it, for example:

    a + 1 IS NULL
    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  244. def visitPrimitiveDataType(ctx: PrimitiveDataTypeContext): DataType

    Resolve/create a primitive type.

    Resolve/create a primitive type.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  245. def visitProperty(ctx: PropertyContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#property.

    Visit a parse tree produced by SqlBaseParser#property.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  246. def visitPropertyKey(key: PropertyKeyContext): String

    A property key can either be String or a collection of dot separated elements.

    A property key can either be String or a collection of dot separated elements. This function extracts the property key based on whether its a string literal or a property identifier.

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  247. def visitPropertyKeyValues(ctx: PropertyListContext): Map[String, String]

    Parse a key-value map from a PropertyListContext, assuming all values are specified.

  248. def visitPropertyKeys(ctx: PropertyListContext): Seq[String]

    Parse a list of keys from a PropertyListContext, assuming no values are specified.

  249. def visitPropertyList(ctx: PropertyListContext): Map[String, String]

    Convert a property list into a key-value map.

    Convert a property list into a key-value map. This should be called through visitPropertyKeyValues or visitPropertyKeys.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  250. def visitPropertyValue(value: PropertyValueContext): String

    A property value can be String, Integer, Boolean or Decimal.

    A property value can be String, Integer, Boolean or Decimal. This function extracts the property value based on whether its a string, integer, boolean or decimal literal.

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  251. def visitQualifiedColTypeWithPosition(ctx: QualifiedColTypeWithPositionContext): QualifiedColType

    Parse new column info from ADD COLUMN into a QualifiedColType.

    Parse new column info from ADD COLUMN into a QualifiedColType.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  252. def visitQualifiedColTypeWithPositionList(ctx: QualifiedColTypeWithPositionListContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#qualifiedColTypeWithPositionList.

    Visit a parse tree produced by SqlBaseParser#qualifiedColTypeWithPositionList.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  253. def visitQualifiedName(ctx: QualifiedNameContext): Seq[String]

    Parse a qualified name to a multipart name.

    Parse a qualified name to a multipart name.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  254. def visitQualifiedNameList(ctx: QualifiedNameListContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#qualifiedNameList.

    Visit a parse tree produced by SqlBaseParser#qualifiedNameList.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  255. def visitQuery(ctx: SqlBaseParser.QueryContext): LogicalPlan

    Create a top-level plan with Common Table Expressions.

    Create a top-level plan with Common Table Expressions.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  256. def visitQueryOrganization(ctx: QueryOrganizationContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#queryOrganization.

    Visit a parse tree produced by SqlBaseParser#queryOrganization.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  257. def visitQueryPrimaryDefault(ctx: QueryPrimaryDefaultContext): AnyRef

    Visit a parse tree produced by the queryPrimaryDefault labeled alternative in SqlBaseParser#queryPrimary.

    Visit a parse tree produced by the queryPrimaryDefault labeled alternative in SqlBaseParser#queryPrimary.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  258. def visitQueryTermDefault(ctx: QueryTermDefaultContext): AnyRef

    Visit a parse tree produced by the queryTermDefault labeled alternative in SqlBaseParser#queryTerm.

    Visit a parse tree produced by the queryTermDefault labeled alternative in SqlBaseParser#queryTerm.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  259. def visitQuotedIdentifier(ctx: QuotedIdentifierContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#quotedIdentifier.

    Visit a parse tree produced by SqlBaseParser#quotedIdentifier.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  260. def visitQuotedIdentifierAlternative(ctx: QuotedIdentifierAlternativeContext): AnyRef

    Visit a parse tree produced by the quotedIdentifierAlternative labeled alternative in SqlBaseParser#strictIdentifier.

    Visit a parse tree produced by the quotedIdentifierAlternative labeled alternative in SqlBaseParser#strictIdentifier.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  261. def visitRealIdent(ctx: RealIdentContext): AnyRef

    Visit a parse tree produced by the realIdent labeled alternative in SqlBaseParser#errorCapturingIdentifierExtra.

    Visit a parse tree produced by the realIdent labeled alternative in SqlBaseParser#errorCapturingIdentifierExtra.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  262. def visitRecoverPartitions(ctx: RecoverPartitionsContext): LogicalPlan

    Create an RecoverPartitions

    Create an RecoverPartitions

    For example:

    ALTER TABLE multi_part_name RECOVER PARTITIONS;
    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  263. def visitRefreshFunction(ctx: RefreshFunctionContext): LogicalPlan

    Visit a parse tree produced by the refreshFunction labeled alternative in SqlBaseParser#statement.

    Visit a parse tree produced by the refreshFunction labeled alternative in SqlBaseParser#statement.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  264. def visitRefreshResource(ctx: RefreshResourceContext): AnyRef

    Visit a parse tree produced by the refreshResource labeled alternative in SqlBaseParser#statement.

    Visit a parse tree produced by the refreshResource labeled alternative in SqlBaseParser#statement.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  265. def visitRefreshTable(ctx: RefreshTableContext): LogicalPlan

    Create a RefreshTable.

    Create a RefreshTable.

    For example:

    REFRESH TABLE multi_part_name
    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  266. def visitRegularQuerySpecification(ctx: RegularQuerySpecificationContext): LogicalPlan

    Visit a parse tree produced by the regularQuerySpecification labeled alternative in SqlBaseParser#querySpecification.

    Visit a parse tree produced by the regularQuerySpecification labeled alternative in SqlBaseParser#querySpecification.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  267. def visitRelation(ctx: RelationContext): LogicalPlan

    Create a single relation referenced in a FROM clause.

    Create a single relation referenced in a FROM clause. This method is used when a part of the join condition is nested, for example:

    select * from t1 join (t2 cross join t3) on col1 = col2
    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  268. def visitRelationExtension(ctx: RelationExtensionContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#relationExtension.

    Visit a parse tree produced by SqlBaseParser#relationExtension.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  269. def visitRenameTable(ctx: RenameTableContext): LogicalPlan

    Create a RenameTable command.

    Create a RenameTable command.

    For example:

    ALTER TABLE multi_part_name1 RENAME TO multi_part_name2;
    ALTER VIEW multi_part_name1 RENAME TO multi_part_name2;
    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  270. def visitRenameTableColumn(ctx: RenameTableColumnContext): LogicalPlan

    Parse a AlterTableRenameColumn command.

    Parse a AlterTableRenameColumn command.

    For example:

    ALTER TABLE table1 RENAME COLUMN a.b.c TO x
    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  271. def visitRenameTablePartition(ctx: RenameTablePartitionContext): LogicalPlan

    Create an RenamePartitions

    Create an RenamePartitions

    For example:

    ALTER TABLE multi_part_name PARTITION spec1 RENAME TO PARTITION spec2;
    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  272. def visitRepairTable(ctx: RepairTableContext): LogicalPlan

    Create a RepairTable.

    Create a RepairTable.

    For example:

    [MSCK] REPAIR TABLE multi_part_name [{ADD|DROP|SYNC} PARTITIONS]
    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  273. def visitReplaceTable(ctx: ReplaceTableContext): LogicalPlan

    Replace a table, returning a ReplaceTable or ReplaceTableAsSelect logical plan.

    Replace a table, returning a ReplaceTable or ReplaceTableAsSelect logical plan.

    Expected format:

    [CREATE OR] REPLACE TABLE [db_name.]table_name
    [USING table_provider]
    replace_table_clauses
    [[AS] select_statement];
    
    replace_table_clauses (order insensitive):
      [OPTIONS table_property_list]
      [PARTITIONED BY (partition_fields)]
      [CLUSTERED BY (col_name, col_name, ...)
        [SORTED BY (col_name [ASC|DESC], ...)]
        INTO num_buckets BUCKETS
      ]
      [LOCATION path]
      [COMMENT table_comment]
      [TBLPROPERTIES (property_name=property_value, ...)]
    
    partition_fields:
      col_name, transform(col_name), transform(constant, col_name), ... |
      col_name data_type [NOT NULL] [COMMENT col_comment], ...
    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  274. def visitReplaceTableHeader(ctx: ReplaceTableHeaderContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#replaceTableHeader.

    Visit a parse tree produced by SqlBaseParser#replaceTableHeader.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  275. def visitResetConfiguration(ctx: ResetConfigurationContext): AnyRef

    Visit a parse tree produced by the resetConfiguration labeled alternative in SqlBaseParser#statement.

    Visit a parse tree produced by the resetConfiguration labeled alternative in SqlBaseParser#statement.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  276. def visitResetQuotedConfiguration(ctx: ResetQuotedConfigurationContext): AnyRef

    Visit a parse tree produced by the resetQuotedConfiguration labeled alternative in SqlBaseParser#statement.

    Visit a parse tree produced by the resetQuotedConfiguration labeled alternative in SqlBaseParser#statement.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  277. def visitResource(ctx: ResourceContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#resource.

    Visit a parse tree produced by SqlBaseParser#resource.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  278. def visitRowConstructor(ctx: RowConstructorContext): Expression

    Create a CreateStruct expression.

    Create a CreateStruct expression.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  279. def visitRowFormat(ctx: RowFormatContext): SerdeInfo

    Create a SerdeInfo used for creating tables.

    Create a SerdeInfo used for creating tables.

    Example format:

    SERDE serde_name [WITH SERDEPROPERTIES (k1=v1, k2=v2, ...)]

    OR

    DELIMITED [FIELDS TERMINATED BY char [ESCAPED BY char]]
    [COLLECTION ITEMS TERMINATED BY char]
    [MAP KEYS TERMINATED BY char]
    [LINES TERMINATED BY char]
    [NULL DEFINED AS char]
  280. def visitRowFormatDelimited(ctx: RowFormatDelimitedContext): SerdeInfo

    Create a delimited row format properties object.

    Create a delimited row format properties object.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  281. def visitRowFormatSerde(ctx: RowFormatSerdeContext): SerdeInfo

    Create SERDE row format name and properties pair.

    Create SERDE row format name and properties pair.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  282. def visitSample(ctx: SampleContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#sample.

    Visit a parse tree produced by SqlBaseParser#sample.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  283. def visitSampleByBucket(ctx: SampleByBucketContext): AnyRef

    Visit a parse tree produced by the sampleByBucket labeled alternative in SqlBaseParser#sampleMethod.

    Visit a parse tree produced by the sampleByBucket labeled alternative in SqlBaseParser#sampleMethod.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  284. def visitSampleByBytes(ctx: SampleByBytesContext): AnyRef

    Visit a parse tree produced by the sampleByBytes labeled alternative in SqlBaseParser#sampleMethod.

    Visit a parse tree produced by the sampleByBytes labeled alternative in SqlBaseParser#sampleMethod.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  285. def visitSampleByPercentile(ctx: SampleByPercentileContext): AnyRef

    Visit a parse tree produced by the sampleByPercentile labeled alternative in SqlBaseParser#sampleMethod.

    Visit a parse tree produced by the sampleByPercentile labeled alternative in SqlBaseParser#sampleMethod.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  286. def visitSampleByRows(ctx: SampleByRowsContext): AnyRef

    Visit a parse tree produced by the sampleByRows labeled alternative in SqlBaseParser#sampleMethod.

    Visit a parse tree produced by the sampleByRows labeled alternative in SqlBaseParser#sampleMethod.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  287. def visitSearchedCase(ctx: SearchedCaseContext): Expression

    Create a condition based CaseWhen expression.

    Create a condition based CaseWhen expression. This has the following SQL syntax:

    CASE
     WHEN [predicate] THEN [expression]
     ...
     ELSE [expression]
    END
    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  288. def visitSelectClause(ctx: SelectClauseContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#selectClause.

    Visit a parse tree produced by SqlBaseParser#selectClause.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  289. def visitSetCatalog(ctx: SetCatalogContext): AnyRef

    Visit a parse tree produced by the setCatalog labeled alternative in SqlBaseParser#statement.

    Visit a parse tree produced by the setCatalog labeled alternative in SqlBaseParser#statement.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  290. def visitSetClause(ctx: SetClauseContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#setClause.

    Visit a parse tree produced by SqlBaseParser#setClause.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  291. def visitSetConfiguration(ctx: SetConfigurationContext): AnyRef

    Visit a parse tree produced by the setConfiguration labeled alternative in SqlBaseParser#statement.

    Visit a parse tree produced by the setConfiguration labeled alternative in SqlBaseParser#statement.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  292. def visitSetNamespaceLocation(ctx: SetNamespaceLocationContext): LogicalPlan

    Create an SetNamespaceLocation logical plan.

    Create an SetNamespaceLocation logical plan.

    For example:

    ALTER (DATABASE|SCHEMA|NAMESPACE) namespace SET LOCATION path;
    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  293. def visitSetNamespaceProperties(ctx: SetNamespacePropertiesContext): LogicalPlan

    Create an SetNamespaceProperties logical plan.

    Create an SetNamespaceProperties logical plan.

    For example:

    ALTER (DATABASE|SCHEMA|NAMESPACE) database
    SET (DBPROPERTIES|PROPERTIES) (property_name=property_value, ...);
    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  294. def visitSetOperation(ctx: SetOperationContext): LogicalPlan

    Connect two queries by a Set operator.

    Connect two queries by a Set operator.

    Supported Set operators are: - UNION [ DISTINCT | ALL ] - EXCEPT [ DISTINCT | ALL ] - MINUS [ DISTINCT | ALL ] - INTERSECT [DISTINCT | ALL]

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  295. def visitSetQuantifier(ctx: SetQuantifierContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#setQuantifier.

    Visit a parse tree produced by SqlBaseParser#setQuantifier.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  296. def visitSetQuotedConfiguration(ctx: SetQuotedConfigurationContext): AnyRef

    Visit a parse tree produced by the setQuotedConfiguration labeled alternative in SqlBaseParser#statement.

    Visit a parse tree produced by the setQuotedConfiguration labeled alternative in SqlBaseParser#statement.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  297. def visitSetTableLocation(ctx: SetTableLocationContext): LogicalPlan

    Create an SetTableLocation command.

    Create an SetTableLocation command.

    For example:

    ALTER TABLE table_name [PARTITION partition_spec] SET LOCATION "loc";
    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  298. def visitSetTableProperties(ctx: SetTablePropertiesContext): LogicalPlan

    Parse SetViewProperties or SetTableProperties commands.

    Parse SetViewProperties or SetTableProperties commands.

    For example:

    ALTER TABLE table SET TBLPROPERTIES ('table_property' = 'property_value');
    ALTER VIEW view SET TBLPROPERTIES ('table_property' = 'property_value');
    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  299. def visitSetTableSerDe(ctx: SetTableSerDeContext): LogicalPlan

    Create an SetTableSerDeProperties

    Create an SetTableSerDeProperties

    For example:

    ALTER TABLE multi_part_name [PARTITION spec] SET SERDE serde_name
      [WITH SERDEPROPERTIES props];
    ALTER TABLE multi_part_name [PARTITION spec] SET SERDEPROPERTIES serde_properties;
    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  300. def visitSetTimeZone(ctx: SetTimeZoneContext): AnyRef

    Visit a parse tree produced by the setTimeZone labeled alternative in SqlBaseParser#statement.

    Visit a parse tree produced by the setTimeZone labeled alternative in SqlBaseParser#statement.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  301. def visitShowCatalogs(ctx: ShowCatalogsContext): AnyRef

    Visit a parse tree produced by the showCatalogs labeled alternative in SqlBaseParser#statement.

    Visit a parse tree produced by the showCatalogs labeled alternative in SqlBaseParser#statement.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  302. def visitShowColumns(ctx: ShowColumnsContext): LogicalPlan

    A command for users to list the column names for a table.

    A command for users to list the column names for a table. This function creates a ShowColumns logical plan.

    The syntax of using this command in SQL is:

    SHOW COLUMNS (FROM | IN) tableName=multipartIdentifier
         ((FROM | IN) namespace=multipartIdentifier)?
    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  303. def visitShowCreateTable(ctx: ShowCreateTableContext): LogicalPlan

    Creates a ShowCreateTable

    Creates a ShowCreateTable

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  304. def visitShowCurrentNamespace(ctx: ShowCurrentNamespaceContext): AnyRef

    Visit a parse tree produced by the showCurrentNamespace labeled alternative in SqlBaseParser#statement.

    Visit a parse tree produced by the showCurrentNamespace labeled alternative in SqlBaseParser#statement.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  305. def visitShowFunctions(ctx: ShowFunctionsContext): LogicalPlan

    Create a plan for a SHOW FUNCTIONS command.

    Create a plan for a SHOW FUNCTIONS command.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  306. def visitShowNamespaces(ctx: ShowNamespacesContext): LogicalPlan

    Create a ShowNamespaces command.

    Create a ShowNamespaces command.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  307. def visitShowPartitions(ctx: ShowPartitionsContext): LogicalPlan

    A command for users to list the partition names of a table.

    A command for users to list the partition names of a table. If partition spec is specified, partitions that match the spec are returned. Otherwise an empty result set is returned.

    This function creates a ShowPartitionsStatement logical plan

    The syntax of using this command in SQL is:

    SHOW PARTITIONS multi_part_name [partition_spec];
    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  308. def visitShowTableExtended(ctx: ShowTableExtendedContext): LogicalPlan

    Create a ShowTableExtended command.

    Create a ShowTableExtended command.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  309. def visitShowTables(ctx: ShowTablesContext): LogicalPlan

    Create a ShowTables command.

    Create a ShowTables command.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  310. def visitShowTblProperties(ctx: ShowTblPropertiesContext): LogicalPlan

    A command for users to list the properties for a table.

    A command for users to list the properties for a table. If propertyKey is specified, the value for the propertyKey is returned. If propertyKey is not specified, all the keys and their corresponding values are returned. The syntax of using this command in SQL is:

    SHOW TBLPROPERTIES multi_part_name[('propertyKey')];
    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  311. def visitShowViews(ctx: ShowViewsContext): LogicalPlan

    Create a ShowViews command.

    Create a ShowViews command.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  312. def visitSimpleCase(ctx: SimpleCaseContext): Expression

    Create a value based CaseWhen expression.

    Create a value based CaseWhen expression. This has the following SQL form:

    CASE [expression]
     WHEN [value] THEN [expression]
     ...
     ELSE [expression]
    END
    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  313. def visitSingleDataType(ctx: SingleDataTypeContext): DataType

    Visit a parse tree produced by SqlBaseParser#singleDataType.

    Visit a parse tree produced by SqlBaseParser#singleDataType.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  314. def visitSingleExpression(ctx: SingleExpressionContext): Expression

    Visit a parse tree produced by SqlBaseParser#singleExpression.

    Visit a parse tree produced by SqlBaseParser#singleExpression.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  315. def visitSingleFunctionIdentifier(ctx: SingleFunctionIdentifierContext): FunctionIdentifier

    Visit a parse tree produced by SqlBaseParser#singleFunctionIdentifier.

    Visit a parse tree produced by SqlBaseParser#singleFunctionIdentifier.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  316. def visitSingleInsertQuery(ctx: SingleInsertQueryContext): LogicalPlan

    Create a logical plan for a regular (single-insert) query.

    Create a logical plan for a regular (single-insert) query.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  317. def visitSingleMultipartIdentifier(ctx: SingleMultipartIdentifierContext): Seq[String]

    Visit a parse tree produced by SqlBaseParser#singleMultipartIdentifier.

    Visit a parse tree produced by SqlBaseParser#singleMultipartIdentifier.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  318. def visitSingleStatement(ctx: SingleStatementContext): LogicalPlan

    Visit a parse tree produced by SqlBaseParser#singleStatement.

    Visit a parse tree produced by SqlBaseParser#singleStatement.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  319. def visitSingleTableIdentifier(ctx: SingleTableIdentifierContext): TableIdentifier

    Visit a parse tree produced by SqlBaseParser#singleTableIdentifier.

    Visit a parse tree produced by SqlBaseParser#singleTableIdentifier.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  320. def visitSingleTableSchema(ctx: SingleTableSchemaContext): StructType

    Visit a parse tree produced by SqlBaseParser#singleTableSchema.

    Visit a parse tree produced by SqlBaseParser#singleTableSchema.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  321. def visitSkewSpec(ctx: SkewSpecContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#skewSpec.

    Visit a parse tree produced by SqlBaseParser#skewSpec.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  322. def visitSmallIntLiteral(ctx: SmallIntLiteralContext): Literal

    Create a Short Literal expression.

    Create a Short Literal expression.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  323. def visitSortItem(ctx: SortItemContext): SortOrder

    Create a SortOrder expression.

    Create a SortOrder expression.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  324. def visitStar(ctx: StarContext): Expression

    Create a star (i.e.

    Create a star (i.e. all) expression; this selects all elements (in the specified object). Both un-targeted (global) and targeted aliases are supported.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  325. def visitStatementDefault(ctx: StatementDefaultContext): AnyRef

    Visit a parse tree produced by the statementDefault labeled alternative in SqlBaseParser#statement.

    Visit a parse tree produced by the statementDefault labeled alternative in SqlBaseParser#statement.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  326. def visitStorageHandler(ctx: StorageHandlerContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#storageHandler.

    Visit a parse tree produced by SqlBaseParser#storageHandler.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  327. def visitStrictNonReserved(ctx: StrictNonReservedContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#strictNonReserved.

    Visit a parse tree produced by SqlBaseParser#strictNonReserved.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  328. def visitStringConstant(ctx: ConstantContext, legacyNullAsString: Boolean = false, keepPartitionSpecAsString: Boolean = false): String

    Convert a constant of any type into a string.

    Convert a constant of any type into a string. This is typically used in DDL commands, and its main purpose is to prevent slight differences due to back to back conversions i.e.: String -> Literal -> String.

    Attributes
    protected
  329. def visitStringLit(ctx: StringLitContext): Token

    Visit a parse tree produced by SqlBaseParser#stringLit.

    Visit a parse tree produced by SqlBaseParser#stringLit.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  330. def visitStringLiteral(ctx: StringLiteralContext): Literal

    Create a String literal expression.

    Create a String literal expression.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  331. def visitStruct(ctx: StructContext): Expression

    Create a CreateStruct expression.

    Create a CreateStruct expression.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  332. def visitSubquery(ctx: SubqueryContext): LogicalPlan

    Create a logical plan for a sub-query.

    Create a logical plan for a sub-query.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  333. def visitSubqueryExpression(ctx: SubqueryExpressionContext): Expression

    Create a ScalarSubquery expression.

    Create a ScalarSubquery expression.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  334. def visitSubscript(ctx: SubscriptContext): Expression

    Create an UnresolvedExtractValue expression, this is used for subscript access to an array.

    Create an UnresolvedExtractValue expression, this is used for subscript access to an array.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  335. def visitSubstring(ctx: SubstringContext): Expression

    Create a Substring/Substr expression.

    Create a Substring/Substr expression.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  336. def visitTable(ctx: TableContext): LogicalPlan

    Create an un-aliased table reference.

    Create an un-aliased table reference. This is typically used for top-level table references, for example:

    INSERT INTO db.tbl2
    TABLE db.tbl1
    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  337. def visitTableAlias(ctx: TableAliasContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#tableAlias.

    Visit a parse tree produced by SqlBaseParser#tableAlias.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  338. def visitTableFileFormat(ctx: TableFileFormatContext): AnyRef

    Visit a parse tree produced by the tableFileFormat labeled alternative in SqlBaseParser#fileFormat.

    Visit a parse tree produced by the tableFileFormat labeled alternative in SqlBaseParser#fileFormat.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  339. def visitTableIdentifier(ctx: TableIdentifierContext): TableIdentifier

    Create a TableIdentifier from a 'tableName' or 'databaseName'.'tableName' pattern.

    Create a TableIdentifier from a 'tableName' or 'databaseName'.'tableName' pattern.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  340. def visitTableName(ctx: TableNameContext): LogicalPlan

    Create an aliased table reference.

    Create an aliased table reference. This is typically used in FROM clauses.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  341. def visitTableProvider(ctx: TableProviderContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#tableProvider.

    Visit a parse tree produced by SqlBaseParser#tableProvider.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  342. def visitTableValuedFunction(ctx: TableValuedFunctionContext): LogicalPlan

    Create a table-valued function call with arguments, e.g.

    Create a table-valued function call with arguments, e.g. range(1000)

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  343. def visitTemporalClause(ctx: TemporalClauseContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#temporalClause.

    Visit a parse tree produced by SqlBaseParser#temporalClause.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  344. def visitTerminal(arg0: TerminalNode): AnyRef
    Definition Classes
    AbstractParseTreeVisitor → ParseTreeVisitor
  345. def visitTimestampadd(ctx: TimestampaddContext): Expression

    Create a TimestampAdd expression.

    Create a TimestampAdd expression.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  346. def visitTimestampdiff(ctx: TimestampdiffContext): Expression

    Create a TimestampDiff expression.

    Create a TimestampDiff expression.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  347. def visitTimezone(ctx: TimezoneContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#timezone.

    Visit a parse tree produced by SqlBaseParser#timezone.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  348. def visitTinyIntLiteral(ctx: TinyIntLiteralContext): Literal

    Create a Byte Literal expression.

    Create a Byte Literal expression.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  349. def visitTransformArgument(ctx: TransformArgumentContext): Expression

    Parse an argument to a transform.

    Parse an argument to a transform. An argument may be a field reference (qualified name) or a value literal.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  350. def visitTransformClause(ctx: TransformClauseContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#transformClause.

    Visit a parse tree produced by SqlBaseParser#transformClause.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  351. def visitTransformQuerySpecification(ctx: TransformQuerySpecificationContext): LogicalPlan

    Visit a parse tree produced by the transformQuerySpecification labeled alternative in SqlBaseParser#querySpecification.

    Visit a parse tree produced by the transformQuerySpecification labeled alternative in SqlBaseParser#querySpecification.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  352. def visitTrim(ctx: TrimContext): Expression

    Create a Trim expression.

    Create a Trim expression.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  353. def visitTruncateTable(ctx: TruncateTableContext): LogicalPlan

    Create a TruncateTable command.

    Create a TruncateTable command.

    For example:

    TRUNCATE TABLE multi_part_name [PARTITION (partcol1=val1, partcol2=val2 ...)]
    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  354. def visitTypeConstructor(ctx: TypeConstructorContext): Literal

    Create a typed Literal expression.

    Create a typed Literal expression. A typed literal has the following SQL syntax:

    [TYPE] '[VALUE]'

    Currently Date, Timestamp, Interval and Binary typed literals are supported.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  355. def visitUncacheTable(ctx: UncacheTableContext): LogicalPlan

    Create an UncacheTable logical plan.

    Create an UncacheTable logical plan.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  356. def visitUnitInMultiUnits(ctx: UnitInMultiUnitsContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#unitInMultiUnits.

    Visit a parse tree produced by SqlBaseParser#unitInMultiUnits.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  357. def visitUnitInUnitToUnit(ctx: UnitInUnitToUnitContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#unitInUnitToUnit.

    Visit a parse tree produced by SqlBaseParser#unitInUnitToUnit.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  358. def visitUnitToUnitInterval(ctx: UnitToUnitIntervalContext): CalendarInterval

    Creates a CalendarInterval with from-to unit, e.g.

    Creates a CalendarInterval with from-to unit, e.g. '2-1' YEAR TO MONTH.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  359. def visitUnpivotAlias(ctx: UnpivotAliasContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#unpivotAlias.

    Visit a parse tree produced by SqlBaseParser#unpivotAlias.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  360. def visitUnpivotClause(ctx: UnpivotClauseContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#unpivotClause.

    Visit a parse tree produced by SqlBaseParser#unpivotClause.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  361. def visitUnpivotColumn(ctx: UnpivotColumnContext): NamedExpression

    Create an Unpivot column.

    Create an Unpivot column.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  362. def visitUnpivotColumnAndAlias(ctx: UnpivotColumnAndAliasContext): (NamedExpression, Option[String])

    Create an Unpivot column.

    Create an Unpivot column.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  363. def visitUnpivotColumnSet(ctx: UnpivotColumnSetContext): (Seq[NamedExpression], Option[String])

    Create an Unpivot struct column with or without an alias.

    Create an Unpivot struct column with or without an alias. Each struct field is renamed to the respective value column name.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  364. def visitUnpivotMultiValueColumnClause(ctx: UnpivotMultiValueColumnClauseContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#unpivotMultiValueColumnClause.

    Visit a parse tree produced by SqlBaseParser#unpivotMultiValueColumnClause.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  365. def visitUnpivotNameColumn(ctx: UnpivotNameColumnContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#unpivotNameColumn.

    Visit a parse tree produced by SqlBaseParser#unpivotNameColumn.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  366. def visitUnpivotNullClause(ctx: UnpivotNullClauseContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#unpivotNullClause.

    Visit a parse tree produced by SqlBaseParser#unpivotNullClause.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  367. def visitUnpivotOperator(ctx: UnpivotOperatorContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#unpivotOperator.

    Visit a parse tree produced by SqlBaseParser#unpivotOperator.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  368. def visitUnpivotSingleValueColumnClause(ctx: UnpivotSingleValueColumnClauseContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#unpivotSingleValueColumnClause.

    Visit a parse tree produced by SqlBaseParser#unpivotSingleValueColumnClause.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  369. def visitUnpivotValueColumn(ctx: UnpivotValueColumnContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#unpivotValueColumn.

    Visit a parse tree produced by SqlBaseParser#unpivotValueColumn.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  370. def visitUnquotedIdentifier(ctx: UnquotedIdentifierContext): AnyRef

    Visit a parse tree produced by the unquotedIdentifier labeled alternative in SqlBaseParser#strictIdentifier.

    Visit a parse tree produced by the unquotedIdentifier labeled alternative in SqlBaseParser#strictIdentifier.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  371. def visitUnsetTableProperties(ctx: UnsetTablePropertiesContext): LogicalPlan

    Parse UnsetViewProperties or UnsetTableProperties commands.

    Parse UnsetViewProperties or UnsetTableProperties commands.

    For example:

    ALTER TABLE table UNSET TBLPROPERTIES [IF EXISTS] ('comment', 'key');
    ALTER VIEW view UNSET TBLPROPERTIES [IF EXISTS] ('comment', 'key');
    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  372. def visitUnsupportedHiveNativeCommands(ctx: UnsupportedHiveNativeCommandsContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#unsupportedHiveNativeCommands.

    Visit a parse tree produced by SqlBaseParser#unsupportedHiveNativeCommands.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  373. def visitUpdateTable(ctx: UpdateTableContext): LogicalPlan

    Visit a parse tree produced by the updateTable labeled alternative in SqlBaseParser#dmlStatementNoWith.

    Visit a parse tree produced by the updateTable labeled alternative in SqlBaseParser#dmlStatementNoWith.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  374. def visitUse(ctx: UseContext): LogicalPlan

    Create a SetCatalogAndNamespace command.

    Create a SetCatalogAndNamespace command.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  375. def visitUseNamespace(ctx: UseNamespaceContext): AnyRef

    Visit a parse tree produced by the useNamespace labeled alternative in SqlBaseParser#statement.

    Visit a parse tree produced by the useNamespace labeled alternative in SqlBaseParser#statement.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  376. def visitValueExpressionDefault(ctx: ValueExpressionDefaultContext): AnyRef

    Visit a parse tree produced by the valueExpressionDefault labeled alternative in SqlBaseParser#valueExpression.

    Visit a parse tree produced by the valueExpressionDefault labeled alternative in SqlBaseParser#valueExpression.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  377. def visitVersion(ctx: VersionContext): Option[String]

    Visit a parse tree produced by SqlBaseParser#version.

    Visit a parse tree produced by SqlBaseParser#version.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  378. def visitWhenClause(ctx: WhenClauseContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#whenClause.

    Visit a parse tree produced by SqlBaseParser#whenClause.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  379. def visitWhereClause(ctx: WhereClauseContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#whereClause.

    Visit a parse tree produced by SqlBaseParser#whereClause.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  380. def visitWindowClause(ctx: WindowClauseContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#windowClause.

    Visit a parse tree produced by SqlBaseParser#windowClause.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  381. def visitWindowDef(ctx: WindowDefContext): WindowSpecDefinition

    Create a window definition, i.e.

    Create a window definition, i.e. WindowSpecDefinition.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  382. def visitWindowFrame(ctx: WindowFrameContext): AnyRef

    Visit a parse tree produced by SqlBaseParser#windowFrame.

    Visit a parse tree produced by SqlBaseParser#windowFrame.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SqlBaseParserBaseVisitorSqlBaseParserVisitor
    Annotations
    @Override()
  383. def visitWindowRef(ctx: WindowRefContext): WindowSpecReference

    Create a reference to a window frame, i.e.

    Create a reference to a window frame, i.e. WindowSpecReference.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  384. def visitYearMonthIntervalDataType(ctx: YearMonthIntervalDataTypeContext): DataType

    Visit a parse tree produced by the yearMonthIntervalDataType labeled alternative in SqlBaseParser#dataType.

    Visit a parse tree produced by the yearMonthIntervalDataType labeled alternative in SqlBaseParser#dataType.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    AstBuilderSqlBaseParserBaseVisitorSqlBaseParserVisitor
  385. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  386. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  387. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  388. def withRepartitionByExpression(ctx: QueryOrganizationContext, expressions: Seq[Expression], query: LogicalPlan): LogicalPlan

    Create a clause for DISTRIBUTE BY.

    Create a clause for DISTRIBUTE BY.

    Attributes
    protected
  389. def withScriptIOSchema(ctx: ParserRuleContext, inRowFormat: RowFormatContext, recordWriter: Token, outRowFormat: RowFormatContext, recordReader: Token, schemaLess: Boolean): ScriptInputOutputSchema

    Create a ScriptInputOutputSchema.

    Create a ScriptInputOutputSchema.

    Attributes
    protected

Inherited from Logging

Inherited from SQLConfHelper

Inherited from SqlBaseParserBaseVisitor[AnyRef]

Inherited from SqlBaseParserVisitor[AnyRef]

Inherited from AbstractParseTreeVisitor[AnyRef]

Inherited from ParseTreeVisitor[AnyRef]

Inherited from AnyRef

Inherited from Any

Ungrouped