class DeltaSqlAstBuilder extends DeltaSqlBaseBaseVisitor[AnyRef]
Define how to convert an AST generated from DeltaSqlBase.g4 to a LogicalPlan. The parent
class DeltaSqlBaseBaseVisitor defines all visitXXX methods generated from # instructions in
DeltaSqlBase.g4 (such as #vacuumTable).
- Alphabetic
- By Inheritance
- DeltaSqlAstBuilder
- DeltaSqlBaseBaseVisitor
- DeltaSqlBaseVisitor
- AbstractParseTreeVisitor
- ParseTreeVisitor
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new DeltaSqlAstBuilder()
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(classOf[java.lang.CloneNotSupportedException]) @native()
- def defaultResult(): AnyRef
- Attributes
- protected[tree]
- Definition Classes
- AbstractParseTreeVisitor
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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 shouldVisitNextChild(arg0: RuleNode, arg1: AnyRef): Boolean
- Attributes
- protected[tree]
- Definition Classes
- AbstractParseTreeVisitor
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def typedVisit[T](ctx: ParseTree): T
- Attributes
- protected
- def visit(arg0: ParseTree): AnyRef
- Definition Classes
- AbstractParseTreeVisitor → ParseTreeVisitor
- def visitAddTableConstraint(ctx: AddTableConstraintContext): LogicalPlan
Visit a parse tree produced by the
addTableConstraintlabeled alternative inDeltaSqlBaseParser#statement.Visit a parse tree produced by the
addTableConstraintlabeled alternative inDeltaSqlBaseParser#statement.The default implementation returns the result of calling
#visitChildrenonctx.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- DeltaSqlAstBuilder → DeltaSqlBaseBaseVisitor → DeltaSqlBaseVisitor
- def visitBigDecimalLiteral(ctx: BigDecimalLiteralContext): AnyRef
Visit a parse tree produced by the
bigDecimalLiterallabeled alternative inDeltaSqlBaseParser#number.Visit a parse tree produced by the
bigDecimalLiterallabeled alternative inDeltaSqlBaseParser#number.The default implementation returns the result of calling
#visitChildrenonctx.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- DeltaSqlBaseBaseVisitor → DeltaSqlBaseVisitor
- Annotations
- @Override()
- def visitBigIntLiteral(ctx: BigIntLiteralContext): AnyRef
Visit a parse tree produced by the
bigIntLiterallabeled alternative inDeltaSqlBaseParser#number.Visit a parse tree produced by the
bigIntLiterallabeled alternative inDeltaSqlBaseParser#number.The default implementation returns the result of calling
#visitChildrenonctx.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- DeltaSqlBaseBaseVisitor → DeltaSqlBaseVisitor
- Annotations
- @Override()
- def visitCheckConstraint(ctx: CheckConstraintContext): AnyRef
Visit a parse tree produced by the
checkConstraintlabeled alternative inDeltaSqlBaseParser#constraint.Visit a parse tree produced by the
checkConstraintlabeled alternative inDeltaSqlBaseParser#constraint.The default implementation returns the result of calling
#visitChildrenonctx.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- DeltaSqlBaseBaseVisitor → DeltaSqlBaseVisitor
- Annotations
- @Override()
- def visitChildren(arg0: RuleNode): AnyRef
- Definition Classes
- AbstractParseTreeVisitor → ParseTreeVisitor
- def visitColType(ctx: ColTypeContext): StructField
Visit a parse tree produced by
DeltaSqlBaseParser#colType.Visit a parse tree produced by
DeltaSqlBaseParser#colType.The default implementation returns the result of calling
#visitChildrenonctx.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- DeltaSqlAstBuilder → DeltaSqlBaseBaseVisitor → DeltaSqlBaseVisitor
- def visitColTypeList(ctx: ColTypeListContext): Seq[StructField]
Visit a parse tree produced by
DeltaSqlBaseParser#colTypeList.Visit a parse tree produced by
DeltaSqlBaseParser#colTypeList.The default implementation returns the result of calling
#visitChildrenonctx.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- DeltaSqlAstBuilder → DeltaSqlBaseBaseVisitor → DeltaSqlBaseVisitor
- def visitConvert(ctx: ConvertContext): LogicalPlan
Visit a parse tree produced by the
convertlabeled alternative inDeltaSqlBaseParser#statement.Visit a parse tree produced by the
convertlabeled alternative inDeltaSqlBaseParser#statement.The default implementation returns the result of calling
#visitChildrenonctx.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- DeltaSqlAstBuilder → DeltaSqlBaseBaseVisitor → DeltaSqlBaseVisitor
- def visitDecimalLiteral(ctx: DecimalLiteralContext): AnyRef
Visit a parse tree produced by the
decimalLiterallabeled alternative inDeltaSqlBaseParser#number.Visit a parse tree produced by the
decimalLiterallabeled alternative inDeltaSqlBaseParser#number.The default implementation returns the result of calling
#visitChildrenonctx.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- DeltaSqlBaseBaseVisitor → DeltaSqlBaseVisitor
- Annotations
- @Override()
- def visitDescribeDeltaDetail(ctx: DescribeDeltaDetailContext): LogicalPlan
Visit a parse tree produced by the
describeDeltaDetaillabeled alternative inDeltaSqlBaseParser#statement.Visit a parse tree produced by the
describeDeltaDetaillabeled alternative inDeltaSqlBaseParser#statement.The default implementation returns the result of calling
#visitChildrenonctx.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- DeltaSqlAstBuilder → DeltaSqlBaseBaseVisitor → DeltaSqlBaseVisitor
- def visitDescribeDeltaHistory(ctx: DescribeDeltaHistoryContext): LogicalPlan
Visit a parse tree produced by the
describeDeltaHistorylabeled alternative inDeltaSqlBaseParser#statement.Visit a parse tree produced by the
describeDeltaHistorylabeled alternative inDeltaSqlBaseParser#statement.The default implementation returns the result of calling
#visitChildrenonctx.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- DeltaSqlAstBuilder → DeltaSqlBaseBaseVisitor → DeltaSqlBaseVisitor
- def visitDoubleLiteral(ctx: DoubleLiteralContext): AnyRef
Visit a parse tree produced by the
doubleLiterallabeled alternative inDeltaSqlBaseParser#number.Visit a parse tree produced by the
doubleLiterallabeled alternative inDeltaSqlBaseParser#number.The default implementation returns the result of calling
#visitChildrenonctx.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- DeltaSqlBaseBaseVisitor → DeltaSqlBaseVisitor
- Annotations
- @Override()
- def visitDropTableConstraint(ctx: DropTableConstraintContext): LogicalPlan
Visit a parse tree produced by the
dropTableConstraintlabeled alternative inDeltaSqlBaseParser#statement.Visit a parse tree produced by the
dropTableConstraintlabeled alternative inDeltaSqlBaseParser#statement.The default implementation returns the result of calling
#visitChildrenonctx.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- DeltaSqlAstBuilder → DeltaSqlBaseBaseVisitor → DeltaSqlBaseVisitor
- def visitErrorNode(arg0: ErrorNode): AnyRef
- Definition Classes
- AbstractParseTreeVisitor → ParseTreeVisitor
- def visitExprToken(ctx: ExprTokenContext): AnyRef
Visit a parse tree produced by
DeltaSqlBaseParser#exprToken.Visit a parse tree produced by
DeltaSqlBaseParser#exprToken.The default implementation returns the result of calling
#visitChildrenonctx.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- DeltaSqlBaseBaseVisitor → DeltaSqlBaseVisitor
- Annotations
- @Override()
- def visitGenerate(ctx: GenerateContext): LogicalPlan
Visit a parse tree produced by the
generatelabeled alternative inDeltaSqlBaseParser#statement.Visit a parse tree produced by the
generatelabeled alternative inDeltaSqlBaseParser#statement.The default implementation returns the result of calling
#visitChildrenonctx.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- DeltaSqlAstBuilder → DeltaSqlBaseBaseVisitor → DeltaSqlBaseVisitor
- def visitIntegerLiteral(ctx: IntegerLiteralContext): AnyRef
Visit a parse tree produced by the
integerLiterallabeled alternative inDeltaSqlBaseParser#number.Visit a parse tree produced by the
integerLiterallabeled alternative inDeltaSqlBaseParser#number.The default implementation returns the result of calling
#visitChildrenonctx.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- DeltaSqlBaseBaseVisitor → DeltaSqlBaseVisitor
- Annotations
- @Override()
- def visitNonReserved(ctx: NonReservedContext): AnyRef
Visit a parse tree produced by
DeltaSqlBaseParser#nonReserved.Visit a parse tree produced by
DeltaSqlBaseParser#nonReserved.The default implementation returns the result of calling
#visitChildrenonctx.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- DeltaSqlBaseBaseVisitor → DeltaSqlBaseVisitor
- Annotations
- @Override()
- def visitOptimizeTable(ctx: OptimizeTableContext): AnyRef
Create a OptimizeTableCommand logical plan.
Create a OptimizeTableCommand logical plan. Syntax:
OPTIMIZE <table-identifier> [WHERE predicate-using-partition-columns] [ZORDER BY [(] col1, col2 ..[)]]
Examples:
OPTIMIZE '/path/to/delta/table'; OPTIMIZE delta_table_name; OPTIMIZE delta.`/path/to/delta/table`; OPTIMIZE delta_table_name WHERE partCol = 25; OPTIMIZE delta_table_name WHERE partCol = 25 ZORDER BY col2, col2;
- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- DeltaSqlAstBuilder → DeltaSqlBaseBaseVisitor → DeltaSqlBaseVisitor
- def visitPassThrough(ctx: PassThroughContext): LogicalPlan
Visit a parse tree produced by the
passThroughlabeled alternative inDeltaSqlBaseParser#statement.Visit a parse tree produced by the
passThroughlabeled alternative inDeltaSqlBaseParser#statement.The default implementation returns the result of calling
#visitChildrenonctx.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- DeltaSqlAstBuilder → DeltaSqlBaseBaseVisitor → DeltaSqlBaseVisitor
- def visitPredicateToken(ctx: PredicateTokenContext): AnyRef
Visit a parse tree produced by
DeltaSqlBaseParser#predicateToken.Visit a parse tree produced by
DeltaSqlBaseParser#predicateToken.The default implementation returns the result of calling
#visitChildrenonctx.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- DeltaSqlBaseBaseVisitor → DeltaSqlBaseVisitor
- Annotations
- @Override()
- def visitPrimitiveDataType(ctx: PrimitiveDataTypeContext): DataType
Visit a parse tree produced by the
primitiveDataTypelabeled alternative inDeltaSqlBaseParser#dataType.Visit a parse tree produced by the
primitiveDataTypelabeled alternative inDeltaSqlBaseParser#dataType.The default implementation returns the result of calling
#visitChildrenonctx.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- DeltaSqlAstBuilder → DeltaSqlBaseBaseVisitor → DeltaSqlBaseVisitor
- def visitQualifiedName(ctx: QualifiedNameContext): AnyRef
Visit a parse tree produced by
DeltaSqlBaseParser#qualifiedName.Visit a parse tree produced by
DeltaSqlBaseParser#qualifiedName.The default implementation returns the result of calling
#visitChildrenonctx.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- DeltaSqlBaseBaseVisitor → DeltaSqlBaseVisitor
- Annotations
- @Override()
- def visitQuotedIdentifier(ctx: QuotedIdentifierContext): AnyRef
Visit a parse tree produced by
DeltaSqlBaseParser#quotedIdentifier.Visit a parse tree produced by
DeltaSqlBaseParser#quotedIdentifier.The default implementation returns the result of calling
#visitChildrenonctx.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- DeltaSqlBaseBaseVisitor → DeltaSqlBaseVisitor
- Annotations
- @Override()
- def visitQuotedIdentifierAlternative(ctx: QuotedIdentifierAlternativeContext): AnyRef
Visit a parse tree produced by the
quotedIdentifierAlternativelabeled alternative inDeltaSqlBaseParser#identifier.Visit a parse tree produced by the
quotedIdentifierAlternativelabeled alternative inDeltaSqlBaseParser#identifier.The default implementation returns the result of calling
#visitChildrenonctx.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- DeltaSqlBaseBaseVisitor → DeltaSqlBaseVisitor
- Annotations
- @Override()
- def visitRestore(ctx: RestoreContext): LogicalPlan
Visit a parse tree produced by the
restorelabeled alternative inDeltaSqlBaseParser#statement.Visit a parse tree produced by the
restorelabeled alternative inDeltaSqlBaseParser#statement.The default implementation returns the result of calling
#visitChildrenonctx.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- DeltaSqlAstBuilder → DeltaSqlBaseBaseVisitor → DeltaSqlBaseVisitor
- def visitSingleStatement(ctx: SingleStatementContext): LogicalPlan
Visit a parse tree produced by
DeltaSqlBaseParser#singleStatement.Visit a parse tree produced by
DeltaSqlBaseParser#singleStatement.The default implementation returns the result of calling
#visitChildrenonctx.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- DeltaSqlAstBuilder → DeltaSqlBaseBaseVisitor → DeltaSqlBaseVisitor
- def visitSmallIntLiteral(ctx: SmallIntLiteralContext): AnyRef
Visit a parse tree produced by the
smallIntLiterallabeled alternative inDeltaSqlBaseParser#number.Visit a parse tree produced by the
smallIntLiterallabeled alternative inDeltaSqlBaseParser#number.The default implementation returns the result of calling
#visitChildrenonctx.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- DeltaSqlBaseBaseVisitor → DeltaSqlBaseVisitor
- Annotations
- @Override()
- def visitTableIdentifier(ctx: QualifiedNameContext): TableIdentifier
- Attributes
- protected
- def visitTemporalClause(ctx: TemporalClauseContext): AnyRef
Visit a parse tree produced by
DeltaSqlBaseParser#temporalClause.Visit a parse tree produced by
DeltaSqlBaseParser#temporalClause.The default implementation returns the result of calling
#visitChildrenonctx.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- DeltaSqlBaseBaseVisitor → DeltaSqlBaseVisitor
- Annotations
- @Override()
- def visitTerminal(arg0: TerminalNode): AnyRef
- Definition Classes
- AbstractParseTreeVisitor → ParseTreeVisitor
- def visitTinyIntLiteral(ctx: TinyIntLiteralContext): AnyRef
Visit a parse tree produced by the
tinyIntLiterallabeled alternative inDeltaSqlBaseParser#number.Visit a parse tree produced by the
tinyIntLiterallabeled alternative inDeltaSqlBaseParser#number.The default implementation returns the result of calling
#visitChildrenonctx.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- DeltaSqlBaseBaseVisitor → DeltaSqlBaseVisitor
- Annotations
- @Override()
- def visitUnquotedIdentifier(ctx: UnquotedIdentifierContext): AnyRef
Visit a parse tree produced by the
unquotedIdentifierlabeled alternative inDeltaSqlBaseParser#identifier.Visit a parse tree produced by the
unquotedIdentifierlabeled alternative inDeltaSqlBaseParser#identifier.The default implementation returns the result of calling
#visitChildrenonctx.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- DeltaSqlBaseBaseVisitor → DeltaSqlBaseVisitor
- Annotations
- @Override()
- def visitVacuumTable(ctx: VacuumTableContext): AnyRef
Create a VacuumTableCommand logical plan.
Create a VacuumTableCommand logical plan. Example SQL:
VACUUM ('/path/to/dir' | delta.`/path/to/dir`) [RETAIN number HOURS] [DRY RUN];- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- DeltaSqlAstBuilder → DeltaSqlBaseBaseVisitor → DeltaSqlBaseVisitor
- def visitZorderSpec(ctx: ZorderSpecContext): Seq[UnresolvedAttribute]
Provides a list of unresolved attributes for multi dimensional clustering.
Provides a list of unresolved attributes for multi dimensional clustering.
- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- DeltaSqlAstBuilder → DeltaSqlBaseBaseVisitor → DeltaSqlBaseVisitor
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()