class SparkSqlAstBuilder extends AstBuilder
Builder that converts an ANTLR ParseTree into a LogicalPlan/Expression/TableIdentifier.
- Alphabetic
- By Inheritance
- SparkSqlAstBuilder
- AstBuilder
- Logging
- SqlBaseBaseVisitor
- SqlBaseVisitor
- AbstractParseTreeVisitor
- ParseTreeVisitor
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new SparkSqlAstBuilder(conf: SQLConf)
Type Members
-
type
InsertDirParams = (Boolean, CatalogStorageFormat, Option[String])
- Definition Classes
- AstBuilder
-
type
InsertTableParams = (Seq[String], Map[String, Option[String]], Boolean)
- Definition Classes
- AstBuilder
-
type
TableHeader = (Seq[String], Boolean, Boolean, Boolean)
- Definition Classes
- AstBuilder
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
aggregateResult(arg0: AnyRef, arg1: AnyRef): AnyRef
- Attributes
- protected[tree]
- Definition Classes
- AbstractParseTreeVisitor
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
createSchema(ctx: ColTypeListContext): StructType
- Attributes
- protected
- Definition Classes
- AstBuilder
-
def
createStructType(ctx: ComplexColTypeListContext): StructType
- Attributes
- protected
- Definition Classes
- AstBuilder
-
def
defaultResult(): AnyRef
- Attributes
- protected[tree]
- Definition Classes
- AbstractParseTreeVisitor
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
expression(ctx: ParserRuleContext): Expression
- Attributes
- protected
- Definition Classes
- AstBuilder
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
- Attributes
- protected
- Definition Classes
- Logging
-
def
initializeLogIfNecessary(isInterpreter: Boolean): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isTraceEnabled(): Boolean
- Attributes
- protected
- Definition Classes
- Logging
-
def
log: Logger
- Attributes
- protected
- Definition Classes
- Logging
-
def
logDebug(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logDebug(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logError(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logError(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logInfo(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logInfo(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logName: String
- Attributes
- protected
- Definition Classes
- Logging
-
def
logTrace(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logTrace(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logWarning(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logWarning(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
plan(tree: ParserRuleContext): LogicalPlan
- Attributes
- protected
- Definition Classes
- AstBuilder
-
def
shouldVisitNextChild(arg0: RuleNode, arg1: AnyRef): Boolean
- Attributes
- protected[tree]
- Definition Classes
- AbstractParseTreeVisitor
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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.
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
typedVisit[T](ctx: ParseTree): T
- Attributes
- protected
- Definition Classes
- AstBuilder
-
def
visit(arg0: ParseTree): AnyRef
- Definition Classes
- AbstractParseTreeVisitor → ParseTreeVisitor
-
def
visitAddTableColumns(ctx: AddTableColumnsContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
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
-
def
visitAggregationClause(arg0: AggregationClauseContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitAliasedQuery(ctx: AliasedQueryContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitAliasedRelation(ctx: AliasedRelationContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitAlterTableColumn(ctx: AlterTableColumnContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
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
-
def
visitAnalyze(ctx: AnalyzeContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitAnsiNonReserved(arg0: AnsiNonReservedContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitApplyTransform(arg0: ApplyTransformContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitArithmeticBinary(ctx: ArithmeticBinaryContext): Expression
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitArithmeticOperator(arg0: ArithmeticOperatorContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitArithmeticUnary(ctx: ArithmeticUnaryContext): Expression
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitAssign(arg0: AssignContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitBigDecimalLiteral(ctx: BigDecimalLiteralContext): Literal
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitBigIntLiteral(ctx: BigIntLiteralContext): Literal
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitBooleanLiteral(ctx: BooleanLiteralContext): Literal
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitBooleanValue(arg0: BooleanValueContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitBucketSpec(ctx: BucketSpecContext): BucketSpec
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitCacheTable(ctx: CacheTableContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitCast(ctx: CastContext): Expression
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
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
-
def
visitChildren(node: RuleNode): AnyRef
- Definition Classes
- AstBuilder → AbstractParseTreeVisitor → ParseTreeVisitor
-
def
visitClearCache(ctx: ClearCacheContext): LogicalPlan
Create a ClearCacheCommand logical plan.
Create a ClearCacheCommand logical plan.
- Definition Classes
- SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitColPosition(arg0: ColPositionContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitColType(ctx: ColTypeContext): StructField
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitColTypeList(ctx: ColTypeListContext): Seq[StructField]
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitColumnReference(ctx: ColumnReferenceContext): Expression
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitComparison(ctx: ComparisonContext): Expression
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitComparisonOperator(arg0: ComparisonOperatorContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitComplexColType(ctx: ComplexColTypeContext): StructField
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitComplexColTypeList(ctx: ComplexColTypeListContext): Seq[StructField]
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitComplexDataType(ctx: ComplexDataTypeContext): DataType
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitConstantDefault(arg0: ConstantDefaultContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
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
-
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
-
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
-
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
-
def
visitCreateNamespace(ctx: CreateNamespaceContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
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
-
def
visitCreateTableHeader(ctx: CreateTableHeaderContext): TableHeader
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
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
-
def
visitCreateTempViewUsing(ctx: CreateTempViewUsingContext): LogicalPlan
Creates a CreateTempViewUsing logical plan.
Creates a CreateTempViewUsing logical plan.
- Definition Classes
- SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
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
-
def
visitCtes(arg0: CtesContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitCurrentDatetime(ctx: CurrentDatetimeContext): Expression
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitDatabase(arg0: DatabaseContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitDecimalLiteral(ctx: DecimalLiteralContext): Literal
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitDeleteFromTable(ctx: DeleteFromTableContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitDereference(ctx: DereferenceContext): Expression
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitDescribeColName(arg0: DescribeColNameContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitDescribeDatabase(ctx: DescribeDatabaseContext): LogicalPlan
Create a DescribeDatabaseCommand command.
Create a DescribeDatabaseCommand command.
For example:
DESCRIBE DATABASE [EXTENDED] database;
- Definition Classes
- SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitDescribeFuncName(arg0: DescribeFuncNameContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
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
-
def
visitDescribeQuery(ctx: DescribeQueryContext): LogicalPlan
Create a DescribeQueryCommand logical command.
Create a DescribeQueryCommand logical command.
- Definition Classes
- SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitDescribeTable(ctx: DescribeTableContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitDmlStatement(ctx: DmlStatementContext): AnyRef
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitDoubleLiteral(ctx: DoubleLiteralContext): Literal
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
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
-
def
visitDropNamespace(ctx: DropNamespaceContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitDropTable(ctx: DropTableContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitDropTableColumns(ctx: DropTableColumnsContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
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
-
def
visitDropView(ctx: DropViewContext): AnyRef
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitErrorCapturingIdentifier(arg0: ErrorCapturingIdentifierContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitErrorIdent(arg0: ErrorIdentContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitErrorNode(arg0: ErrorNode): AnyRef
- Definition Classes
- AbstractParseTreeVisitor → ParseTreeVisitor
-
def
visitExists(ctx: ExistsContext): Expression
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
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
-
def
visitExpression(arg0: ExpressionContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitExtract(ctx: ExtractContext): Expression
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitFailNativeCommand(ctx: FailNativeCommandContext): LogicalPlan
Fail an unsupported Hive native command.
Fail an unsupported Hive native command.
- Definition Classes
- SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitFirst(ctx: FirstContext): Expression
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitFrameBound(ctx: FrameBoundContext): Expression
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitFromClause(ctx: FromClauseContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitFromStatement(ctx: FromStatementContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitFromStatementBody(arg0: FromStatementBodyContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitFromStmt(arg0: FromStmtContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitFunctionCall(ctx: FunctionCallContext): Expression
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitFunctionIdentifier(ctx: FunctionIdentifierContext): FunctionIdentifier
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitFunctionName(ctx: QualifiedNameContext): FunctionIdentifier
- Attributes
- protected
- Definition Classes
- AstBuilder
-
def
visitFunctionTable(arg0: FunctionTableContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
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
-
def
visitGroupingSet(arg0: GroupingSetContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitHavingClause(arg0: HavingClauseContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitHint(arg0: HintContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitHintStatement(arg0: HintStatementContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitIdentifier(arg0: IdentifierContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitIdentifierComment(arg0: IdentifierCommentContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitIdentifierCommentList(arg0: IdentifierCommentListContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitIdentifierList(ctx: IdentifierListContext): Seq[String]
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitIdentifierSeq(ctx: IdentifierSeqContext): Seq[String]
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitIdentityTransform(arg0: IdentityTransformContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitInlineTable(ctx: InlineTableContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitInlineTableDefault1(arg0: InlineTableDefault1Context): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitInlineTableDefault2(arg0: InlineTableDefault2Context): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitInsertIntoTable(ctx: InsertIntoTableContext): InsertTableParams
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
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
-
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
-
def
visitInsertOverwriteTable(ctx: InsertOverwriteTableContext): InsertTableParams
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitIntegerLiteral(ctx: IntegerLiteralContext): Literal
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitInterval(ctx: IntervalContext): Literal
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitIntervalField(ctx: IntervalFieldContext): CalendarInterval
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitIntervalLiteral(arg0: IntervalLiteralContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitIntervalUnit(arg0: IntervalUnitContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitIntervalValue(arg0: IntervalValueContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitJoinCriteria(arg0: JoinCriteriaContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitJoinRelation(arg0: JoinRelationContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitJoinType(arg0: JoinTypeContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitLambda(ctx: LambdaContext): Expression
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitLast(ctx: LastContext): Expression
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitLateralView(arg0: LateralViewContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitLoadData(ctx: LoadDataContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitLocationSpec(ctx: LocationSpecContext): String
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitLogicalBinary(ctx: LogicalBinaryContext): Expression
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitLogicalNot(ctx: LogicalNotContext): Expression
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
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
-
def
visitMultiInsertQuery(ctx: MultiInsertQueryContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitMultiInsertQueryBody(arg0: MultiInsertQueryBodyContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitMultipartIdentifier(ctx: MultipartIdentifierContext): Seq[String]
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitNamedExpression(ctx: NamedExpressionContext): Expression
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitNamedExpressionSeq(ctx: NamedExpressionSeqContext): Seq[Expression]
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitNamedQuery(ctx: NamedQueryContext): SubqueryAlias
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitNamedWindow(arg0: NamedWindowContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
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
-
def
visitNonOptionalPartitionSpec(ctx: PartitionSpecContext): Map[String, String]
- Attributes
- protected
- Definition Classes
- AstBuilder
-
def
visitNonReserved(arg0: NonReservedContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitNullLiteral(ctx: NullLiteralContext): Literal
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitNumericLiteral(arg0: NumericLiteralContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitOrderedIdentifier(arg0: OrderedIdentifierContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitOrderedIdentifierList(arg0: OrderedIdentifierListContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitOverlay(ctx: OverlayContext): Expression
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitParenthesizedExpression(ctx: ParenthesizedExpressionContext): Expression
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitPartitionSpec(ctx: PartitionSpecContext): Map[String, Option[String]]
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitPartitionSpecLocation(arg0: PartitionSpecLocationContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitPartitionVal(arg0: PartitionValContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitPivotClause(arg0: PivotClauseContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitPivotColumn(arg0: PivotColumnContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitPivotValue(ctx: PivotValueContext): Expression
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitPosition(ctx: PositionContext): Expression
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitPredicate(arg0: PredicateContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitPredicateOperator(arg0: PredicateOperatorContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitPredicated(ctx: PredicatedContext): Expression
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitPrimitiveDataType(ctx: PrimitiveDataTypeContext): DataType
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitPropertyKeyValues(ctx: TablePropertyListContext): Map[String, String]
- Definition Classes
- AstBuilder
-
def
visitPropertyKeys(ctx: TablePropertyListContext): Seq[String]
- Definition Classes
- AstBuilder
-
def
visitQualifiedColTypeWithPosition(ctx: QualifiedColTypeWithPositionContext): QualifiedColType
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitQualifiedColTypeWithPositionList(arg0: QualifiedColTypeWithPositionListContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitQualifiedName(ctx: QualifiedNameContext): Seq[String]
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitQualifiedNameList(arg0: QualifiedNameListContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitQuery(ctx: QueryContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitQueryOrganization(arg0: QueryOrganizationContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitQueryPrimaryDefault(arg0: QueryPrimaryDefaultContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitQueryTermDefault(arg0: QueryTermDefaultContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitQuotedIdentifier(arg0: QuotedIdentifierContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitQuotedIdentifierAlternative(arg0: QuotedIdentifierAlternativeContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitRealIdent(arg0: RealIdentContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitRecoverPartitions(ctx: RecoverPartitionsContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitRefreshResource(ctx: RefreshResourceContext): LogicalPlan
Create a RefreshResource logical plan.
Create a RefreshResource logical plan.
- Definition Classes
- SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitRefreshTable(ctx: RefreshTableContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitRegularQuerySpecification(ctx: RegularQuerySpecificationContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitRelation(ctx: RelationContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
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
-
def
visitRenameTableColumn(ctx: RenameTableColumnContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
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
-
def
visitRepairTable(ctx: RepairTableContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitReplaceTable(ctx: ReplaceTableContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitReplaceTableHeader(ctx: ReplaceTableHeaderContext): TableHeader
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitResetConfiguration(ctx: ResetConfigurationContext): LogicalPlan
Create a ResetCommand logical plan.
Create a ResetCommand logical plan. Example SQL :
RESET;
- Definition Classes
- SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitResource(arg0: ResourceContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitRowConstructor(ctx: RowConstructorContext): Expression
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitRowFormatDelimited(ctx: RowFormatDelimitedContext): CatalogStorageFormat
Create a delimited row format properties object.
Create a delimited row format properties object.
- Definition Classes
- SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
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
-
def
visitSample(arg0: SampleContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitSampleByBucket(arg0: SampleByBucketContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitSampleByBytes(arg0: SampleByBytesContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitSampleByPercentile(arg0: SampleByPercentileContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitSampleByRows(arg0: SampleByRowsContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitSearchedCase(ctx: SearchedCaseContext): Expression
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitSelectClause(arg0: SelectClauseContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitSetClause(arg0: SetClauseContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
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
-
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
-
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
-
def
visitSetOperation(ctx: SetOperationContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
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
-
def
visitSetQuantifier(arg0: SetQuantifierContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitSetTableLocation(ctx: SetTableLocationContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitSetTableProperties(ctx: SetTablePropertiesContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
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
-
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
-
def
visitShowCreateTable(ctx: ShowCreateTableContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
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
-
def
visitShowNamespaces(ctx: ShowNamespacesContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitShowPartitions(ctx: ShowPartitionsContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
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
-
def
visitShowTables(ctx: ShowTablesContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
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
-
def
visitSimpleCase(ctx: SimpleCaseContext): Expression
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitSingleDataType(ctx: SingleDataTypeContext): DataType
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitSingleExpression(ctx: SingleExpressionContext): Expression
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitSingleFunctionIdentifier(ctx: SingleFunctionIdentifierContext): FunctionIdentifier
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitSingleInsertQuery(ctx: SingleInsertQueryContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitSingleInterval(ctx: SingleIntervalContext): CalendarInterval
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitSingleMultipartIdentifier(ctx: SingleMultipartIdentifierContext): Seq[String]
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitSingleStatement(ctx: SingleStatementContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitSingleTableIdentifier(ctx: SingleTableIdentifierContext): TableIdentifier
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitSingleTableSchema(ctx: SingleTableSchemaContext): StructType
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitSkewSpec(arg0: SkewSpecContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitSmallIntLiteral(ctx: SmallIntLiteralContext): Literal
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitSortItem(ctx: SortItemContext): SortOrder
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitStar(ctx: StarContext): Expression
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitStatementDefault(arg0: StatementDefaultContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitStorageHandler(arg0: StorageHandlerContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitStrictNonReserved(arg0: StrictNonReservedContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitStringConstant(ctx: ConstantContext): String
- Attributes
- protected
- Definition Classes
- AstBuilder
-
def
visitStringLiteral(ctx: StringLiteralContext): Literal
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitStruct(ctx: StructContext): Expression
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitSubquery(ctx: SubqueryContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitSubqueryExpression(ctx: SubqueryExpressionContext): Expression
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitSubscript(ctx: SubscriptContext): Expression
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitSubstring(ctx: SubstringContext): Expression
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitTable(ctx: TableContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitTableAlias(arg0: TableAliasContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitTableFileFormat(ctx: TableFileFormatContext): CatalogStorageFormat
Create a CatalogStorageFormat.
Create a CatalogStorageFormat.
- Definition Classes
- SparkSqlAstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitTableIdentifier(ctx: TableIdentifierContext): TableIdentifier
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitTableName(ctx: TableNameContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitTableProperty(arg0: TablePropertyContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitTablePropertyKey(key: TablePropertyKeyContext): String
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitTablePropertyList(ctx: TablePropertyListContext): Map[String, String]
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitTablePropertyValue(value: TablePropertyValueContext): String
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitTableProvider(arg0: TableProviderContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitTableValuedFunction(ctx: TableValuedFunctionContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitTerminal(arg0: TerminalNode): AnyRef
- Definition Classes
- AbstractParseTreeVisitor → ParseTreeVisitor
-
def
visitTinyIntLiteral(ctx: TinyIntLiteralContext): Literal
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitTransformArgument(ctx: TransformArgumentContext): Expression
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitTransformClause(arg0: TransformClauseContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitTransformList(ctx: TransformListContext): Seq[Transform]
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitTransformQuerySpecification(ctx: TransformQuerySpecificationContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitTrim(ctx: TrimContext): Expression
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitTruncateTable(ctx: TruncateTableContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitTypeConstructor(ctx: TypeConstructorContext): Literal
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitUncacheTable(ctx: UncacheTableContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitUnquotedIdentifier(arg0: UnquotedIdentifierContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitUnsetTableProperties(ctx: UnsetTablePropertiesContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitUnsupportedHiveNativeCommands(arg0: UnsupportedHiveNativeCommandsContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitUpdateTable(ctx: UpdateTableContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitUse(ctx: UseContext): LogicalPlan
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitValueExpressionDefault(arg0: ValueExpressionDefaultContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitWhenClause(arg0: WhenClauseContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitWhereClause(arg0: WhereClauseContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitWindowClause(arg0: WindowClauseContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitWindowDef(ctx: WindowDefContext): WindowSpecDefinition
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitWindowFrame(arg0: WindowFrameContext): AnyRef
- Definition Classes
- SqlBaseBaseVisitor → SqlBaseVisitor
-
def
visitWindowRef(ctx: WindowRefContext): WindowSpecReference
- Definition Classes
- AstBuilder → SqlBaseBaseVisitor → SqlBaseVisitor
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
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
-
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