Packages

c

org.apache.spark.sql.execution

SparkSqlAstBuilder

class SparkSqlAstBuilder extends AstBuilder

Builder that converts an ANTLR ParseTree into a LogicalPlan/Expression/TableIdentifier.

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

Instance Constructors

  1. new SparkSqlAstBuilder(conf: SQLConf)

Type Members

  1. type InsertDirParams = (Boolean, CatalogStorageFormat, Option[String])
    Definition Classes
    AstBuilder
  2. type InsertTableParams = (Seq[String], Map[String, Option[String]], Boolean)
    Definition Classes
    AstBuilder
  3. type TableHeader = (Seq[String], Boolean, Boolean, Boolean)
    Definition Classes
    AstBuilder

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 clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def createSchema(ctx: ColTypeListContext): StructType
    Attributes
    protected
    Definition Classes
    AstBuilder
  8. def createStructType(ctx: ComplexColTypeListContext): StructType
    Attributes
    protected
    Definition Classes
    AstBuilder
  9. def defaultResult(): AnyRef
    Attributes
    protected[tree]
    Definition Classes
    AbstractParseTreeVisitor
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def expression(ctx: ParserRuleContext): Expression
    Attributes
    protected
    Definition Classes
    AstBuilder
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  17. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  20. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  21. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  22. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  23. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  24. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  25. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  26. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  27. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  28. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  29. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  30. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  31. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. def plan(tree: ParserRuleContext): LogicalPlan
    Attributes
    protected
    Definition Classes
    AstBuilder
  36. def shouldVisitNextChild(arg0: RuleNode, arg1: AnyRef): Boolean
    Attributes
    protected[tree]
    Definition Classes
    AbstractParseTreeVisitor
  37. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  38. def tableIdentifier(multipart: Seq[String], command: String, ctx: ParserRuleContext): TableIdentifier

    Converts a multi-part identifier to a TableIdentifier.

    Converts a multi-part identifier to a TableIdentifier.

    If the multi-part identifier has too many parts, this will throw a ParseException.

  39. def toString(): String
    Definition Classes
    AnyRef → Any
  40. def typedVisit[T](ctx: ParseTree): T
    Attributes
    protected
    Definition Classes
    AstBuilder
  41. def visit(arg0: ParseTree): AnyRef
    Definition Classes
    AbstractParseTreeVisitor → ParseTreeVisitor
  42. def visitAddTableColumns(ctx: AddTableColumnsContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  43. def visitAddTablePartition(ctx: AddTablePartitionContext): LogicalPlan

    Create an AlterTableAddPartitionCommand command.

    Create an AlterTableAddPartitionCommand command.

    For example:

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

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

    Definition Classes
    SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  44. def visitAggregationClause(arg0: AggregationClauseContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  45. def visitAliasedQuery(ctx: AliasedQueryContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  46. def visitAliasedRelation(ctx: AliasedRelationContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  47. def visitAlterTableColumn(ctx: AlterTableColumnContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  48. def visitAlterViewQuery(ctx: AlterViewQueryContext): LogicalPlan

    Alter the query of a view.

    Alter the query of a view. This creates a AlterViewAsCommand command.

    For example:

    ALTER VIEW [db_name.]view_name AS SELECT ...;
    Definition Classes
    SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  49. def visitAnalyze(ctx: AnalyzeContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  50. def visitAnsiNonReserved(arg0: AnsiNonReservedContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  51. def visitApplyTransform(arg0: ApplyTransformContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  52. def visitArithmeticBinary(ctx: ArithmeticBinaryContext): Expression
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  53. def visitArithmeticOperator(arg0: ArithmeticOperatorContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  54. def visitArithmeticUnary(ctx: ArithmeticUnaryContext): Expression
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  55. def visitAssign(arg0: AssignContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  56. def visitBigDecimalLiteral(ctx: BigDecimalLiteralContext): Literal
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  57. def visitBigIntLiteral(ctx: BigIntLiteralContext): Literal
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  58. def visitBooleanLiteral(ctx: BooleanLiteralContext): Literal
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  59. def visitBooleanValue(arg0: BooleanValueContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  60. def visitBucketSpec(ctx: BucketSpecContext): BucketSpec
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  61. def visitCacheTable(ctx: CacheTableContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  62. def visitCast(ctx: CastContext): Expression
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  63. def visitChangeColumn(ctx: ChangeColumnContext): LogicalPlan

    Create a AlterTableChangeColumnCommand command.

    Create a AlterTableChangeColumnCommand command.

    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];
    Definition Classes
    SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  64. def visitChildren(node: RuleNode): AnyRef
    Definition Classes
    AstBuilder → AbstractParseTreeVisitor → ParseTreeVisitor
  65. def visitClearCache(ctx: ClearCacheContext): LogicalPlan

    Create a ClearCacheCommand logical plan.

    Create a ClearCacheCommand logical plan.

    Definition Classes
    SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  66. def visitColPosition(arg0: ColPositionContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  67. def visitColType(ctx: ColTypeContext): StructField
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  68. def visitColTypeList(ctx: ColTypeListContext): Seq[StructField]
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  69. def visitColumnReference(ctx: ColumnReferenceContext): Expression
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  70. def visitComparison(ctx: ComparisonContext): Expression
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  71. def visitComparisonOperator(arg0: ComparisonOperatorContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  72. def visitComplexColType(ctx: ComplexColTypeContext): StructField
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  73. def visitComplexColTypeList(ctx: ComplexColTypeListContext): Seq[StructField]
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  74. def visitComplexDataType(ctx: ComplexDataTypeContext): DataType
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  75. def visitConstantDefault(arg0: ConstantDefaultContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  76. def visitConstantList(ctx: ConstantListContext): Seq[String]

    Convert a constants list into a String sequence.

    Convert a constants list into a String sequence.

    Definition Classes
    SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  77. def visitCreateFileFormat(ctx: CreateFileFormatContext): CatalogStorageFormat

    Create a CatalogStorageFormat for creating tables.

    Create a CatalogStorageFormat for creating tables.

    Format: STORED AS ...

    Definition Classes
    SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  78. def visitCreateFunction(ctx: CreateFunctionContext): LogicalPlan

    Create a CreateFunctionCommand command.

    Create a CreateFunctionCommand command.

    For example:

    CREATE [OR REPLACE] [TEMPORARY] FUNCTION [IF NOT EXISTS] [db_name.]function_name
    AS class_name [USING JAR|FILE|ARCHIVE 'file_uri' [, JAR|FILE|ARCHIVE 'file_uri']];
    Definition Classes
    SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  79. def visitCreateHiveTable(ctx: CreateHiveTableContext): LogicalPlan

    Create a Hive serde table, returning a CreateTable logical plan.

    Create a Hive serde table, returning a CreateTable logical plan.

    This is a legacy syntax for Hive compatibility, we recommend users to use the Spark SQL CREATE TABLE syntax to create Hive serde table, e.g. "CREATE TABLE ... USING hive ..."

    Note: several features are currently not supported - temporary tables, bucketing, skewed columns and storage handlers (STORED BY).

    Expected format:

    CREATE [EXTERNAL] TABLE [IF NOT EXISTS] [db_name.]table_name
    [(col1[:] data_type [COMMENT col_comment], ...)]
    create_table_clauses
    [AS select_statement];
    
    create_table_clauses (order insensitive):
      [COMMENT table_comment]
      [PARTITIONED BY (col2[:] data_type [COMMENT col_comment], ...)]
      [ROW FORMAT row_format]
      [STORED AS file_format]
      [LOCATION path]
      [TBLPROPERTIES (property_name=property_value, ...)]
    Definition Classes
    SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  80. def visitCreateNamespace(ctx: CreateNamespaceContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  81. def visitCreateTable(ctx: CreateTableContext): LogicalPlan

    Create a table, returning a CreateTable logical plan.

    Create a table, returning a CreateTable logical plan.

    This is used to produce CreateTempViewUsing from CREATE TEMPORARY TABLE.

    TODO: Remove this. It is used because CreateTempViewUsing is not a Catalyst plan. Either move CreateTempViewUsing into catalyst as a parsed logical plan, or remove it because it is deprecated.

    Definition Classes
    SparkSqlAstBuilder → AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  82. def visitCreateTableHeader(ctx: CreateTableHeaderContext): TableHeader
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  83. def visitCreateTableLike(ctx: CreateTableLikeContext): LogicalPlan

    Create a CreateTableLikeCommand command.

    Create a CreateTableLikeCommand command.

    For example:

    CREATE TABLE [IF NOT EXISTS] [db_name.]table_name
    LIKE [other_db_name.]existing_table_name [locationSpec]
    Definition Classes
    SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  84. def visitCreateTempViewUsing(ctx: CreateTempViewUsingContext): LogicalPlan

    Creates a CreateTempViewUsing logical plan.

    Creates a CreateTempViewUsing logical plan.

    Definition Classes
    SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  85. def visitCreateView(ctx: CreateViewContext): LogicalPlan

    Create or replace a view.

    Create or replace a view. This creates a CreateViewCommand command.

    For example:

    CREATE [OR REPLACE] [[GLOBAL] TEMPORARY] VIEW [IF NOT EXISTS] [db_name.]view_name
    [(column_name [COMMENT column_comment], ...) ]
    create_view_clauses
    
    AS SELECT ...;
    
    create_view_clauses (order insensitive):
      [COMMENT view_comment]
      [TBLPROPERTIES (property_name = property_value, ...)]
    Definition Classes
    SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  86. def visitCtes(arg0: CtesContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  87. def visitCurrentDatetime(ctx: CurrentDatetimeContext): Expression
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  88. def visitDatabase(arg0: DatabaseContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  89. def visitDecimalLiteral(ctx: DecimalLiteralContext): Literal
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  90. def visitDeleteFromTable(ctx: DeleteFromTableContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  91. def visitDereference(ctx: DereferenceContext): Expression
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  92. def visitDescribeColName(arg0: DescribeColNameContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  93. def visitDescribeDatabase(ctx: DescribeDatabaseContext): LogicalPlan

    Create a DescribeDatabaseCommand command.

    Create a DescribeDatabaseCommand command.

    For example:

    DESCRIBE DATABASE [EXTENDED] database;
    Definition Classes
    SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  94. def visitDescribeFuncName(arg0: DescribeFuncNameContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  95. def visitDescribeFunction(ctx: DescribeFunctionContext): LogicalPlan

    Create a plan for a DESCRIBE FUNCTION command.

    Create a plan for a DESCRIBE FUNCTION command.

    Definition Classes
    SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  96. def visitDescribeQuery(ctx: DescribeQueryContext): LogicalPlan

    Create a DescribeQueryCommand logical command.

    Create a DescribeQueryCommand logical command.

    Definition Classes
    SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  97. def visitDescribeTable(ctx: DescribeTableContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  98. def visitDmlStatement(ctx: DmlStatementContext): AnyRef
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  99. def visitDoubleLiteral(ctx: DoubleLiteralContext): Literal
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  100. def visitDropFunction(ctx: DropFunctionContext): LogicalPlan

    Create a DropFunctionCommand command.

    Create a DropFunctionCommand command.

    For example:

    DROP [TEMPORARY] FUNCTION [IF EXISTS] function;
    Definition Classes
    SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  101. def visitDropNamespace(ctx: DropNamespaceContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  102. def visitDropTable(ctx: DropTableContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  103. def visitDropTableColumns(ctx: DropTableColumnsContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  104. def visitDropTablePartitions(ctx: DropTablePartitionsContext): LogicalPlan

    Create an AlterTableDropPartitionCommand command

    Create an AlterTableDropPartitionCommand command

    For example:

    ALTER TABLE table 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

    Definition Classes
    SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  105. def visitDropView(ctx: DropViewContext): AnyRef
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  106. def visitErrorCapturingIdentifier(arg0: ErrorCapturingIdentifierContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  107. def visitErrorIdent(arg0: ErrorIdentContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  108. def visitErrorNode(arg0: ErrorNode): AnyRef
    Definition Classes
    AbstractParseTreeVisitor → ParseTreeVisitor
  109. def visitExists(ctx: ExistsContext): Expression
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  110. def visitExplain(ctx: ExplainContext): LogicalPlan

    Create an ExplainCommand logical plan.

    Create an ExplainCommand logical plan. The syntax of using this command in SQL is:

    EXPLAIN (EXTENDED | CODEGEN | COST | FORMATTED) SELECT * FROM ...
    Definition Classes
    SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  111. def visitExpression(arg0: ExpressionContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  112. def visitExtract(ctx: ExtractContext): Expression
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  113. def visitFailNativeCommand(ctx: FailNativeCommandContext): LogicalPlan

    Fail an unsupported Hive native command.

    Fail an unsupported Hive native command.

    Definition Classes
    SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  114. def visitFirst(ctx: FirstContext): Expression
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  115. def visitFrameBound(ctx: FrameBoundContext): Expression
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  116. def visitFromClause(ctx: FromClauseContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  117. def visitFromStatement(ctx: FromStatementContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  118. def visitFromStatementBody(arg0: FromStatementBodyContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  119. def visitFromStmt(arg0: FromStmtContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  120. def visitFunctionCall(ctx: FunctionCallContext): Expression
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  121. def visitFunctionIdentifier(ctx: FunctionIdentifierContext): FunctionIdentifier
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  122. def visitFunctionName(ctx: QualifiedNameContext): FunctionIdentifier
    Attributes
    protected
    Definition Classes
    AstBuilder
  123. def visitFunctionTable(arg0: FunctionTableContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  124. def visitGenericFileFormat(ctx: GenericFileFormatContext): CatalogStorageFormat

    Resolve a HiveSerDe based on the name given and return it as a CatalogStorageFormat.

    Resolve a HiveSerDe based on the name given and return it as a CatalogStorageFormat.

    Definition Classes
    SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  125. def visitGroupingSet(arg0: GroupingSetContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  126. def visitHavingClause(arg0: HavingClauseContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  127. def visitHint(arg0: HintContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  128. def visitHintStatement(arg0: HintStatementContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  129. def visitIdentifier(arg0: IdentifierContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  130. def visitIdentifierComment(arg0: IdentifierCommentContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  131. def visitIdentifierCommentList(arg0: IdentifierCommentListContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  132. def visitIdentifierList(ctx: IdentifierListContext): Seq[String]
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  133. def visitIdentifierSeq(ctx: IdentifierSeqContext): Seq[String]
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  134. def visitIdentityTransform(arg0: IdentityTransformContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  135. def visitInlineTable(ctx: InlineTableContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  136. def visitInlineTableDefault1(arg0: InlineTableDefault1Context): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  137. def visitInlineTableDefault2(arg0: InlineTableDefault2Context): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  138. def visitInsertIntoTable(ctx: InsertIntoTableContext): InsertTableParams
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  139. def visitInsertOverwriteDir(ctx: InsertOverwriteDirContext): InsertDirParams

    Return the parameters for InsertIntoDir logical plan.

    Return the parameters for InsertIntoDir logical plan.

    Expected format:

    INSERT OVERWRITE DIRECTORY
    [path]
    [OPTIONS table_property_list]
    select_statement;
    Definition Classes
    SparkSqlAstBuilder → AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  140. def visitInsertOverwriteHiveDir(ctx: InsertOverwriteHiveDirContext): InsertDirParams

    Return the parameters for InsertIntoDir logical plan.

    Return the parameters for InsertIntoDir logical plan.

    Expected format:

    INSERT OVERWRITE [LOCAL] DIRECTORY
    path
    [ROW FORMAT row_format]
    [STORED AS file_format]
    select_statement;
    Definition Classes
    SparkSqlAstBuilder → AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  141. def visitInsertOverwriteTable(ctx: InsertOverwriteTableContext): InsertTableParams
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  142. def visitIntegerLiteral(ctx: IntegerLiteralContext): Literal
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  143. def visitInterval(ctx: IntervalContext): Literal
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  144. def visitIntervalField(ctx: IntervalFieldContext): CalendarInterval
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  145. def visitIntervalLiteral(arg0: IntervalLiteralContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  146. def visitIntervalUnit(arg0: IntervalUnitContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  147. def visitIntervalValue(arg0: IntervalValueContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  148. def visitJoinCriteria(arg0: JoinCriteriaContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  149. def visitJoinRelation(arg0: JoinRelationContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  150. def visitJoinType(arg0: JoinTypeContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  151. def visitLambda(ctx: LambdaContext): Expression
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  152. def visitLast(ctx: LastContext): Expression
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  153. def visitLateralView(arg0: LateralViewContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  154. def visitLoadData(ctx: LoadDataContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  155. def visitLocationSpec(ctx: LocationSpecContext): String
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  156. def visitLogicalBinary(ctx: LogicalBinaryContext): Expression
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  157. def visitLogicalNot(ctx: LogicalNotContext): Expression
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  158. def visitManageResource(ctx: ManageResourceContext): LogicalPlan

    Create a AddFileCommand, AddJarCommand, ListFilesCommand or ListJarsCommand command depending on the requested operation on resources.

    Create a AddFileCommand, AddJarCommand, ListFilesCommand or ListJarsCommand command depending on the requested operation on resources. Expected format:

    ADD (FILE[S] <filepath ...> | JAR[S] <jarpath ...>)
    LIST (FILE[S] [filepath ...] | JAR[S] [jarpath ...])
    Definition Classes
    SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  159. def visitMultiInsertQuery(ctx: MultiInsertQueryContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  160. def visitMultiInsertQueryBody(arg0: MultiInsertQueryBodyContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  161. def visitMultipartIdentifier(ctx: MultipartIdentifierContext): Seq[String]
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  162. def visitNamedExpression(ctx: NamedExpressionContext): Expression
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  163. def visitNamedExpressionSeq(ctx: NamedExpressionSeqContext): Seq[Expression]
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  164. def visitNamedQuery(ctx: NamedQueryContext): SubqueryAlias
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  165. def visitNamedWindow(arg0: NamedWindowContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  166. def visitNestedConstantList(ctx: NestedConstantListContext): Seq[Seq[String]]

    Convert a nested constants list into a sequence of string sequences.

    Convert a nested constants list into a sequence of string sequences.

    Definition Classes
    SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  167. def visitNonOptionalPartitionSpec(ctx: PartitionSpecContext): Map[String, String]
    Attributes
    protected
    Definition Classes
    AstBuilder
  168. def visitNonReserved(arg0: NonReservedContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  169. def visitNullLiteral(ctx: NullLiteralContext): Literal
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  170. def visitNumericLiteral(arg0: NumericLiteralContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  171. def visitOrderedIdentifier(arg0: OrderedIdentifierContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  172. def visitOrderedIdentifierList(arg0: OrderedIdentifierListContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  173. def visitOverlay(ctx: OverlayContext): Expression
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  174. def visitParenthesizedExpression(ctx: ParenthesizedExpressionContext): Expression
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  175. def visitPartitionSpec(ctx: PartitionSpecContext): Map[String, Option[String]]
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  176. def visitPartitionSpecLocation(arg0: PartitionSpecLocationContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  177. def visitPartitionVal(arg0: PartitionValContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  178. def visitPivotClause(arg0: PivotClauseContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  179. def visitPivotColumn(arg0: PivotColumnContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  180. def visitPivotValue(ctx: PivotValueContext): Expression
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  181. def visitPosition(ctx: PositionContext): Expression
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  182. def visitPredicate(arg0: PredicateContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  183. def visitPredicateOperator(arg0: PredicateOperatorContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  184. def visitPredicated(ctx: PredicatedContext): Expression
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  185. def visitPrimitiveDataType(ctx: PrimitiveDataTypeContext): DataType
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  186. def visitPropertyKeyValues(ctx: TablePropertyListContext): Map[String, String]
    Definition Classes
    AstBuilder
  187. def visitPropertyKeys(ctx: TablePropertyListContext): Seq[String]
    Definition Classes
    AstBuilder
  188. def visitQualifiedColTypeWithPosition(ctx: QualifiedColTypeWithPositionContext): QualifiedColType
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  189. def visitQualifiedColTypeWithPositionList(arg0: QualifiedColTypeWithPositionListContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  190. def visitQualifiedName(ctx: QualifiedNameContext): Seq[String]
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  191. def visitQualifiedNameList(arg0: QualifiedNameListContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  192. def visitQuery(ctx: QueryContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  193. def visitQueryOrganization(arg0: QueryOrganizationContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  194. def visitQueryPrimaryDefault(arg0: QueryPrimaryDefaultContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  195. def visitQueryTermDefault(arg0: QueryTermDefaultContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  196. def visitQuotedIdentifier(arg0: QuotedIdentifierContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  197. def visitQuotedIdentifierAlternative(arg0: QuotedIdentifierAlternativeContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  198. def visitRealIdent(arg0: RealIdentContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  199. def visitRecoverPartitions(ctx: RecoverPartitionsContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  200. def visitRefreshResource(ctx: RefreshResourceContext): LogicalPlan

    Create a RefreshResource logical plan.

    Create a RefreshResource logical plan.

    Definition Classes
    SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  201. def visitRefreshTable(ctx: RefreshTableContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  202. def visitRegularQuerySpecification(ctx: RegularQuerySpecificationContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  203. def visitRelation(ctx: RelationContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  204. def visitRenameTable(ctx: RenameTableContext): LogicalPlan

    Create a AlterTableRenameCommand command.

    Create a AlterTableRenameCommand command.

    For example:

    ALTER TABLE table1 RENAME TO table2;
    ALTER VIEW view1 RENAME TO view2;
    Definition Classes
    SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  205. def visitRenameTableColumn(ctx: RenameTableColumnContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  206. def visitRenameTablePartition(ctx: RenameTablePartitionContext): LogicalPlan

    Create an AlterTableRenamePartitionCommand command

    Create an AlterTableRenamePartitionCommand command

    For example:

    ALTER TABLE table PARTITION spec1 RENAME TO PARTITION spec2;
    Definition Classes
    SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  207. def visitRepairTable(ctx: RepairTableContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  208. def visitReplaceTable(ctx: ReplaceTableContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  209. def visitReplaceTableHeader(ctx: ReplaceTableHeaderContext): TableHeader
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  210. def visitResetConfiguration(ctx: ResetConfigurationContext): LogicalPlan

    Create a ResetCommand logical plan.

    Create a ResetCommand logical plan. Example SQL :

    RESET;
    Definition Classes
    SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  211. def visitResource(arg0: ResourceContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  212. def visitRowConstructor(ctx: RowConstructorContext): Expression
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  213. def visitRowFormatDelimited(ctx: RowFormatDelimitedContext): CatalogStorageFormat

    Create a delimited row format properties object.

    Create a delimited row format properties object.

    Definition Classes
    SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  214. def visitRowFormatSerde(ctx: RowFormatSerdeContext): CatalogStorageFormat

    Create SERDE row format name and properties pair.

    Create SERDE row format name and properties pair.

    Definition Classes
    SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  215. def visitSample(arg0: SampleContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  216. def visitSampleByBucket(arg0: SampleByBucketContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  217. def visitSampleByBytes(arg0: SampleByBytesContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  218. def visitSampleByPercentile(arg0: SampleByPercentileContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  219. def visitSampleByRows(arg0: SampleByRowsContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  220. def visitSearchedCase(ctx: SearchedCaseContext): Expression
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  221. def visitSelectClause(arg0: SelectClauseContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  222. def visitSetClause(arg0: SetClauseContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  223. def visitSetConfiguration(ctx: SetConfigurationContext): LogicalPlan

    Create a SetCommand logical plan.

    Create a SetCommand logical plan.

    Note that we assume that everything after the SET keyword is assumed to be a part of the key-value pair. The split between key and value is made by searching for the first = character in the raw string.

    Definition Classes
    SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  224. def visitSetDatabaseLocation(ctx: SetDatabaseLocationContext): LogicalPlan

    Create an AlterDatabaseSetLocationCommand command.

    Create an AlterDatabaseSetLocationCommand command.

    For example:

    ALTER (DATABASE|SCHEMA) database SET LOCATION path;
    Definition Classes
    SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  225. def visitSetDatabaseProperties(ctx: SetDatabasePropertiesContext): LogicalPlan

    Create an AlterDatabasePropertiesCommand command.

    Create an AlterDatabasePropertiesCommand command.

    For example:

    ALTER (DATABASE|SCHEMA) database SET DBPROPERTIES (property_name=property_value, ...);
    Definition Classes
    SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  226. def visitSetOperation(ctx: SetOperationContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  227. def visitSetPartitionLocation(ctx: SetPartitionLocationContext): LogicalPlan

    Create an AlterTableSetLocationCommand command for a partition.

    Create an AlterTableSetLocationCommand command for a partition.

    For example:

    ALTER TABLE table PARTITION spec SET LOCATION "loc";
    Definition Classes
    SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  228. def visitSetQuantifier(arg0: SetQuantifierContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  229. def visitSetTableLocation(ctx: SetTableLocationContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  230. def visitSetTableProperties(ctx: SetTablePropertiesContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  231. def visitSetTableSerDe(ctx: SetTableSerDeContext): LogicalPlan

    Create an AlterTableSerDePropertiesCommand command.

    Create an AlterTableSerDePropertiesCommand command.

    For example:

    ALTER TABLE table [PARTITION spec] SET SERDE serde_name [WITH SERDEPROPERTIES props];
    ALTER TABLE table [PARTITION spec] SET SERDEPROPERTIES serde_properties;
    Definition Classes
    SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  232. 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 ShowColumnsCommand logical plan.

    The syntax of using this command in SQL is:

    SHOW COLUMNS (FROM | IN) table_identifier [(FROM | IN) database];
    Definition Classes
    SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  233. def visitShowCreateTable(ctx: ShowCreateTableContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  234. def visitShowFunctions(ctx: ShowFunctionsContext): LogicalPlan

    Create a plan for a SHOW FUNCTIONS command.

    Create a plan for a SHOW FUNCTIONS command.

    Definition Classes
    SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  235. def visitShowNamespaces(ctx: ShowNamespacesContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  236. def visitShowPartitions(ctx: ShowPartitionsContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  237. def visitShowTable(ctx: ShowTableContext): LogicalPlan

    Create a ShowTablesCommand logical plan.

    Create a ShowTablesCommand logical plan. Example SQL :

    SHOW TABLE EXTENDED [(IN|FROM) database_name] LIKE 'identifier_with_wildcards'
    [PARTITION(partition_spec)];
    Definition Classes
    SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  238. def visitShowTables(ctx: ShowTablesContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  239. 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 table_name[('propertyKey')];
    Definition Classes
    SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  240. def visitSimpleCase(ctx: SimpleCaseContext): Expression
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  241. def visitSingleDataType(ctx: SingleDataTypeContext): DataType
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  242. def visitSingleExpression(ctx: SingleExpressionContext): Expression
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  243. def visitSingleFunctionIdentifier(ctx: SingleFunctionIdentifierContext): FunctionIdentifier
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  244. def visitSingleInsertQuery(ctx: SingleInsertQueryContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  245. def visitSingleInterval(ctx: SingleIntervalContext): CalendarInterval
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  246. def visitSingleMultipartIdentifier(ctx: SingleMultipartIdentifierContext): Seq[String]
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  247. def visitSingleStatement(ctx: SingleStatementContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  248. def visitSingleTableIdentifier(ctx: SingleTableIdentifierContext): TableIdentifier
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  249. def visitSingleTableSchema(ctx: SingleTableSchemaContext): StructType
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  250. def visitSkewSpec(arg0: SkewSpecContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  251. def visitSmallIntLiteral(ctx: SmallIntLiteralContext): Literal
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  252. def visitSortItem(ctx: SortItemContext): SortOrder
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  253. def visitStar(ctx: StarContext): Expression
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  254. def visitStatementDefault(arg0: StatementDefaultContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  255. def visitStorageHandler(arg0: StorageHandlerContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  256. def visitStrictNonReserved(arg0: StrictNonReservedContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  257. def visitStringConstant(ctx: ConstantContext): String
    Attributes
    protected
    Definition Classes
    AstBuilder
  258. def visitStringLiteral(ctx: StringLiteralContext): Literal
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  259. def visitStruct(ctx: StructContext): Expression
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  260. def visitSubquery(ctx: SubqueryContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  261. def visitSubqueryExpression(ctx: SubqueryExpressionContext): Expression
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  262. def visitSubscript(ctx: SubscriptContext): Expression
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  263. def visitSubstring(ctx: SubstringContext): Expression
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  264. def visitTable(ctx: TableContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  265. def visitTableAlias(arg0: TableAliasContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  266. def visitTableFileFormat(ctx: TableFileFormatContext): CatalogStorageFormat

    Create a CatalogStorageFormat.

    Create a CatalogStorageFormat.

    Definition Classes
    SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  267. def visitTableIdentifier(ctx: TableIdentifierContext): TableIdentifier
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  268. def visitTableName(ctx: TableNameContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  269. def visitTableProperty(arg0: TablePropertyContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  270. def visitTablePropertyKey(key: TablePropertyKeyContext): String
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  271. def visitTablePropertyList(ctx: TablePropertyListContext): Map[String, String]
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  272. def visitTablePropertyValue(value: TablePropertyValueContext): String
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  273. def visitTableProvider(arg0: TableProviderContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  274. def visitTableValuedFunction(ctx: TableValuedFunctionContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  275. def visitTerminal(arg0: TerminalNode): AnyRef
    Definition Classes
    AbstractParseTreeVisitor → ParseTreeVisitor
  276. def visitTinyIntLiteral(ctx: TinyIntLiteralContext): Literal
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  277. def visitTransformArgument(ctx: TransformArgumentContext): Expression
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  278. def visitTransformClause(arg0: TransformClauseContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  279. def visitTransformList(ctx: TransformListContext): Seq[Transform]
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  280. def visitTransformQuerySpecification(ctx: TransformQuerySpecificationContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  281. def visitTrim(ctx: TrimContext): Expression
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  282. def visitTruncateTable(ctx: TruncateTableContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  283. def visitTypeConstructor(ctx: TypeConstructorContext): Literal
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  284. def visitUncacheTable(ctx: UncacheTableContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  285. def visitUnquotedIdentifier(arg0: UnquotedIdentifierContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  286. def visitUnsetTableProperties(ctx: UnsetTablePropertiesContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  287. def visitUnsupportedHiveNativeCommands(arg0: UnsupportedHiveNativeCommandsContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  288. def visitUpdateTable(ctx: UpdateTableContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  289. def visitUse(ctx: UseContext): LogicalPlan
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  290. def visitValueExpressionDefault(arg0: ValueExpressionDefaultContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  291. def visitWhenClause(arg0: WhenClauseContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  292. def visitWhereClause(arg0: WhereClauseContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  293. def visitWindowClause(arg0: WindowClauseContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  294. def visitWindowDef(ctx: WindowDefContext): WindowSpecDefinition
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  295. def visitWindowFrame(arg0: WindowFrameContext): AnyRef
    Definition Classes
    SqlBaseBaseVisitor → SqlBaseVisitor
  296. def visitWindowRef(ctx: WindowRefContext): WindowSpecReference
    Definition Classes
    AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
  297. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  298. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  299. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  300. def withRepartitionByExpression(ctx: QueryOrganizationContext, expressions: Seq[Expression], query: LogicalPlan): LogicalPlan

    Create a clause for DISTRIBUTE BY.

    Create a clause for DISTRIBUTE BY.

    Attributes
    protected
    Definition Classes
    SparkSqlAstBuilder → AstBuilder
  301. def withScriptIOSchema(ctx: ParserRuleContext, inRowFormat: RowFormatContext, recordWriter: Token, outRowFormat: RowFormatContext, recordReader: Token, schemaLess: Boolean): ScriptInputOutputSchema

    Create a ScriptInputOutputSchema.

    Create a ScriptInputOutputSchema.

    Attributes
    protected
    Definition Classes
    SparkSqlAstBuilder → AstBuilder

Inherited from AstBuilder

Inherited from Logging

Inherited from SqlBaseBaseVisitor[AnyRef]

Inherited from SqlBaseVisitor[AnyRef]

Inherited from AbstractParseTreeVisitor[AnyRef]

Inherited from ParseTreeVisitor[AnyRef]

Inherited from AnyRef

Inherited from Any

Ungrouped