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
Ordering
- Alphabetic
- By Inheritance
Inherited
- DeltaSqlParser
- ParserInterfaceShims
- ParserInterface
- DataTypeParserInterface
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new DeltaSqlParser(delegateSpark: ParserInterface)
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val delegateSpark: ParserInterface
-
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
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
-
def
parseDataType(sqlText: String): DataType
- Definition Classes
- DeltaSqlParser → DataTypeParserInterface
-
def
parseExpression(sqlText: String): Expression
- Definition Classes
- DeltaSqlParser → ParserInterface
-
def
parseFunctionIdentifier(sqlText: String): FunctionIdentifier
- Definition Classes
- DeltaSqlParser → ParserInterface
-
def
parseMultipartIdentifier(sqlText: String): Seq[String]
- Definition Classes
- DeltaSqlParser → ParserInterface
-
def
parsePlan(sqlText: String): LogicalPlan
- Definition Classes
- DeltaSqlParser → ParserInterface
-
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
-
def
parseScript(sqlScriptText: String): CompoundBody
- Definition Classes
- DeltaSqlParser → ParserInterfaceShims
-
def
parseTableIdentifier(sqlText: String): TableIdentifier
- Definition Classes
- DeltaSqlParser → ParserInterface
-
def
parseTableSchema(sqlText: String): StructType
- Definition Classes
- DeltaSqlParser → DataTypeParserInterface
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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()