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
- All
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( ... ) @native()
-
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
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()
-
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
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
-
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
-
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
-
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
-
def
visitErrorNode(arg0: ErrorNode): AnyRef
- Definition Classes
- AbstractParseTreeVisitor → ParseTreeVisitor
-
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
-
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
-
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
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
-
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
-
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
-
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
-
def
visitTableIdentifier(ctx: QualifiedNameContext): TableIdentifier
- Attributes
- protected
-
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
-
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
-
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
-
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()