c

io.delta.sql.parser

DeltaSqlParser

class DeltaSqlParser extends ParserInterfaceShims

A SQL parser that tries to parse Delta commands. If failing to parse the SQL text, it will forward the call to delegate.

Linear Supertypes
ParserInterfaceShims, ParserInterface, DataTypeParserInterface, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DeltaSqlParser
  2. ParserInterfaceShims
  3. ParserInterface
  4. DataTypeParserInterface
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DeltaSqlParser(delegateSpark: ParserInterface)

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. val delegateSpark: ParserInterface
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. def parse[T](command: String)(toResult: (DeltaSqlBaseParser) ⇒ T): T

    Fork from org.apache.spark.sql.catalyst.parser.AbstractSqlParser#parse(java.lang.String, scala.Function1).

    Fork from org.apache.spark.sql.catalyst.parser.AbstractSqlParser#parse(java.lang.String, scala.Function1).

    Attributes
    protected
    See also

    https://github.com/apache/spark/blob/v2.4.4/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/parser/ParseDriver.scala#L81

  17. def parseDataType(sqlText: String): DataType
    Definition Classes
    DeltaSqlParser → DataTypeParserInterface
  18. def parseExpression(sqlText: String): Expression
    Definition Classes
    DeltaSqlParser → ParserInterface
  19. def parseFunctionIdentifier(sqlText: String): FunctionIdentifier
    Definition Classes
    DeltaSqlParser → ParserInterface
  20. def parseMultipartIdentifier(sqlText: String): Seq[String]
    Definition Classes
    DeltaSqlParser → ParserInterface
  21. def parsePlan(sqlText: String): LogicalPlan
    Definition Classes
    DeltaSqlParser → ParserInterface
  22. def parseQuery(sqlText: String): LogicalPlan

    This API is used just for parsing the SELECT queries.

    This API is used just for parsing the SELECT queries. Delta parser doesn't override the Spark parser, that means this can be delegated directly to the Spark parser.

    Definition Classes
    DeltaSqlParser → ParserInterface
  23. def parseScript(sqlScriptText: String): CompoundBody
    Definition Classes
    DeltaSqlParserParserInterfaceShims
  24. def parseTableIdentifier(sqlText: String): TableIdentifier
    Definition Classes
    DeltaSqlParser → ParserInterface
  25. def parseTableSchema(sqlText: String): StructType
    Definition Classes
    DeltaSqlParser → DataTypeParserInterface
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from ParserInterfaceShims

Inherited from ParserInterface

Inherited from DataTypeParserInterface

Inherited from AnyRef

Inherited from Any

Ungrouped