c

io.delta.sql.parser

DeltaSqlAstBuilder

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).

Linear Supertypes
DeltaSqlBaseBaseVisitor[AnyRef], DeltaSqlBaseVisitor[AnyRef], AbstractParseTreeVisitor[AnyRef], ParseTreeVisitor[AnyRef], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DeltaSqlAstBuilder
  2. DeltaSqlBaseBaseVisitor
  3. DeltaSqlBaseVisitor
  4. AbstractParseTreeVisitor
  5. ParseTreeVisitor
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DeltaSqlAstBuilder()

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 defaultResult(): AnyRef
    Attributes
    protected[tree]
    Definition Classes
    AbstractParseTreeVisitor
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. def shouldVisitNextChild(arg0: RuleNode, arg1: AnyRef): Boolean
    Attributes
    protected[tree]
    Definition Classes
    AbstractParseTreeVisitor
  18. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. def typedVisit[T](ctx: ParseTree): T
    Attributes
    protected
  21. def visit(arg0: ParseTree): AnyRef
    Definition Classes
    AbstractParseTreeVisitor → ParseTreeVisitor
  22. def visitBigDecimalLiteral(ctx: BigDecimalLiteralContext): AnyRef

    Visit a parse tree produced by the bigDecimalLiteral labeled alternative in DeltaSqlBaseParser#number.

    Visit a parse tree produced by the bigDecimalLiteral labeled alternative in DeltaSqlBaseParser#number.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    DeltaSqlBaseBaseVisitorDeltaSqlBaseVisitor
  23. def visitBigIntLiteral(ctx: BigIntLiteralContext): AnyRef

    Visit a parse tree produced by the bigIntLiteral labeled alternative in DeltaSqlBaseParser#number.

    Visit a parse tree produced by the bigIntLiteral labeled alternative in DeltaSqlBaseParser#number.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    DeltaSqlBaseBaseVisitorDeltaSqlBaseVisitor
  24. def visitChildren(arg0: RuleNode): AnyRef
    Definition Classes
    AbstractParseTreeVisitor → ParseTreeVisitor
  25. 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 #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    DeltaSqlAstBuilderDeltaSqlBaseBaseVisitorDeltaSqlBaseVisitor
  26. 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 #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    DeltaSqlAstBuilderDeltaSqlBaseBaseVisitorDeltaSqlBaseVisitor
  27. def visitConvert(ctx: ConvertContext): LogicalPlan

    Visit a parse tree produced by the convert labeled alternative in DeltaSqlBaseParser#statement.

    Visit a parse tree produced by the convert labeled alternative in DeltaSqlBaseParser#statement.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    DeltaSqlAstBuilderDeltaSqlBaseBaseVisitorDeltaSqlBaseVisitor
  28. def visitDecimalLiteral(ctx: DecimalLiteralContext): AnyRef

    Visit a parse tree produced by the decimalLiteral labeled alternative in DeltaSqlBaseParser#number.

    Visit a parse tree produced by the decimalLiteral labeled alternative in DeltaSqlBaseParser#number.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    DeltaSqlBaseBaseVisitorDeltaSqlBaseVisitor
  29. def visitDescribeDeltaDetail(ctx: DescribeDeltaDetailContext): LogicalPlan

    Visit a parse tree produced by the describeDeltaDetail labeled alternative in DeltaSqlBaseParser#statement.

    Visit a parse tree produced by the describeDeltaDetail labeled alternative in DeltaSqlBaseParser#statement.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    DeltaSqlAstBuilderDeltaSqlBaseBaseVisitorDeltaSqlBaseVisitor
  30. def visitDescribeDeltaHistory(ctx: DescribeDeltaHistoryContext): LogicalPlan

    Visit a parse tree produced by the describeDeltaHistory labeled alternative in DeltaSqlBaseParser#statement.

    Visit a parse tree produced by the describeDeltaHistory labeled alternative in DeltaSqlBaseParser#statement.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    DeltaSqlAstBuilderDeltaSqlBaseBaseVisitorDeltaSqlBaseVisitor
  31. def visitDoubleLiteral(ctx: DoubleLiteralContext): AnyRef

    Visit a parse tree produced by the doubleLiteral labeled alternative in DeltaSqlBaseParser#number.

    Visit a parse tree produced by the doubleLiteral labeled alternative in DeltaSqlBaseParser#number.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    DeltaSqlBaseBaseVisitorDeltaSqlBaseVisitor
  32. def visitErrorNode(arg0: ErrorNode): AnyRef
    Definition Classes
    AbstractParseTreeVisitor → ParseTreeVisitor
  33. def visitGenerate(ctx: GenerateContext): LogicalPlan

    Visit a parse tree produced by the generate labeled alternative in DeltaSqlBaseParser#statement.

    Visit a parse tree produced by the generate labeled alternative in DeltaSqlBaseParser#statement.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    DeltaSqlAstBuilderDeltaSqlBaseBaseVisitorDeltaSqlBaseVisitor
  34. def visitIntegerLiteral(ctx: IntegerLiteralContext): AnyRef

    Visit a parse tree produced by the integerLiteral labeled alternative in DeltaSqlBaseParser#number.

    Visit a parse tree produced by the integerLiteral labeled alternative in DeltaSqlBaseParser#number.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    DeltaSqlBaseBaseVisitorDeltaSqlBaseVisitor
  35. 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 #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    DeltaSqlBaseBaseVisitorDeltaSqlBaseVisitor
  36. def visitPassThrough(ctx: PassThroughContext): LogicalPlan

    Visit a parse tree produced by the passThrough labeled alternative in DeltaSqlBaseParser#statement.

    Visit a parse tree produced by the passThrough labeled alternative in DeltaSqlBaseParser#statement.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    DeltaSqlAstBuilderDeltaSqlBaseBaseVisitorDeltaSqlBaseVisitor
  37. def visitPrimitiveDataType(ctx: PrimitiveDataTypeContext): DataType

    Visit a parse tree produced by the primitiveDataType labeled alternative in DeltaSqlBaseParser#dataType.

    Visit a parse tree produced by the primitiveDataType labeled alternative in DeltaSqlBaseParser#dataType.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    DeltaSqlAstBuilderDeltaSqlBaseBaseVisitorDeltaSqlBaseVisitor
  38. 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 #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    DeltaSqlBaseBaseVisitorDeltaSqlBaseVisitor
  39. 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 #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    DeltaSqlBaseBaseVisitorDeltaSqlBaseVisitor
  40. def visitQuotedIdentifierAlternative(ctx: QuotedIdentifierAlternativeContext): AnyRef

    Visit a parse tree produced by the quotedIdentifierAlternative labeled alternative in DeltaSqlBaseParser#identifier.

    Visit a parse tree produced by the quotedIdentifierAlternative labeled alternative in DeltaSqlBaseParser#identifier.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    DeltaSqlBaseBaseVisitorDeltaSqlBaseVisitor
  41. 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 #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    DeltaSqlAstBuilderDeltaSqlBaseBaseVisitorDeltaSqlBaseVisitor
  42. def visitSmallIntLiteral(ctx: SmallIntLiteralContext): AnyRef

    Visit a parse tree produced by the smallIntLiteral labeled alternative in DeltaSqlBaseParser#number.

    Visit a parse tree produced by the smallIntLiteral labeled alternative in DeltaSqlBaseParser#number.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    DeltaSqlBaseBaseVisitorDeltaSqlBaseVisitor
  43. def visitTableIdentifier(ctx: QualifiedNameContext): TableIdentifier
    Attributes
    protected
  44. def visitTerminal(arg0: TerminalNode): AnyRef
    Definition Classes
    AbstractParseTreeVisitor → ParseTreeVisitor
  45. def visitTinyIntLiteral(ctx: TinyIntLiteralContext): AnyRef

    Visit a parse tree produced by the tinyIntLiteral labeled alternative in DeltaSqlBaseParser#number.

    Visit a parse tree produced by the tinyIntLiteral labeled alternative in DeltaSqlBaseParser#number.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    DeltaSqlBaseBaseVisitorDeltaSqlBaseVisitor
  46. def visitUnquotedIdentifier(ctx: UnquotedIdentifierContext): AnyRef

    Visit a parse tree produced by the unquotedIdentifier labeled alternative in DeltaSqlBaseParser#identifier.

    Visit a parse tree produced by the unquotedIdentifier labeled alternative in DeltaSqlBaseParser#identifier.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    DeltaSqlBaseBaseVisitorDeltaSqlBaseVisitor
  47. 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
    DeltaSqlAstBuilderDeltaSqlBaseBaseVisitorDeltaSqlBaseVisitor
  48. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from DeltaSqlBaseBaseVisitor[AnyRef]

Inherited from DeltaSqlBaseVisitor[AnyRef]

Inherited from AbstractParseTreeVisitor[AnyRef]

Inherited from ParseTreeVisitor[AnyRef]

Inherited from AnyRef

Inherited from Any

Ungrouped