package parser
- Alphabetic
- Public
- All
Type Members
-
abstract
class
AbstractSqlParser extends ParserInterface with Logging
Base SQL parsing infrastructure.
-
class
AstBuilder extends SqlBaseBaseVisitor[AnyRef] with Logging
The AstBuilder converts an ANTLR4 ParseTree into a catalyst Expression, LogicalPlan or TableIdentifier.
-
class
CatalystSqlParser extends AbstractSqlParser
Concrete SQL parser for Catalyst-only SQL statements.
-
class
ParseException extends AnalysisException
A ParseException is an AnalysisException that is thrown during the parse process.
A ParseException is an AnalysisException that is thrown during the parse process. It contains fields and an extended error message that make reporting and diagnosing errors easier.
-
trait
ParserInterface extends AnyRef
Interface for a parser.
Interface for a parser.
- Annotations
- @DeveloperApi()
-
class
SqlBaseBaseListener extends SqlBaseListener
This class provides an empty implementation of
SqlBaseListener, which can be extended to create a listener which only needs to handle a subset of the available methods. -
class
SqlBaseBaseVisitor[T] extends AbstractParseTreeVisitor[T] with SqlBaseVisitor[T]
This class provides an empty implementation of
SqlBaseVisitor, which can be extended to create a visitor which only needs to handle a subset of the available methods. - class SqlBaseLexer extends Lexer
-
trait
SqlBaseListener extends ParseTreeListener
This interface defines a complete listener for a parse tree produced by
SqlBaseParser. - class SqlBaseParser extends Parser
-
trait
SqlBaseVisitor[T] extends ParseTreeVisitor[T]
This interface defines a complete generic visitor for a parse tree produced by
SqlBaseParser.
Value Members
-
object
CatalystSqlParser extends AbstractSqlParser
For test-only.
-
object
LegacyTypeStringParser extends RegexParsers
Parser that turns case class strings into datatypes.
Parser that turns case class strings into datatypes. This is only here to maintain compatibility with Parquet files written by Spark 1.1 and below.
-
object
ParseErrorListener extends BaseErrorListener with Product with Serializable
The ParseErrorListener converts parse errors into AnalysisExceptions.
-
object
ParserUtils
A collection of utility methods for use during the parsing process.
-
object
PostProcessor extends SqlBaseBaseListener with Product with Serializable
The post-processor validates & cleans-up the parse tree during the parse process.