Packages

package parser

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. abstract class AbstractParser extends DataTypeParserInterface with Logging

    Base SQL parsing infrastructure.

  2. class DataTypeAstBuilder extends SqlBaseParserBaseVisitor[AnyRef]
  3. trait DataTypeParserInterface extends AnyRef

    Interface for DataType parsing functionality.

  4. class ParseException extends AnalysisException

    A ParseException is an SparkException that is thrown during the parse process.

    A ParseException is an SparkException that is thrown during the parse process. It contains fields and an extended error message that make reporting and diagnosing errors easier.

  5. class SparkParserBailErrorStrategy extends SparkParserErrorStrategy

    Inspired by org.antlr.v4.runtime.BailErrorStrategy, which is used in two-stage parsing: This error strategy allows the first stage of two-stage parsing to immediately terminate if an error is encountered, and immediately fall back to the second stage.

    Inspired by org.antlr.v4.runtime.BailErrorStrategy, which is used in two-stage parsing: This error strategy allows the first stage of two-stage parsing to immediately terminate if an error is encountered, and immediately fall back to the second stage. In addition to avoiding wasted work by attempting to recover from errors here, the empty implementation of sync improves the performance of the first stage.

  6. class SparkParserErrorStrategy extends DefaultErrorStrategy

    A SparkParserErrorStrategy extends the DefaultErrorStrategy, that does special handling on errors.

    A SparkParserErrorStrategy extends the DefaultErrorStrategy, that does special handling on errors.

    The intention of this class is to provide more information of these errors encountered in ANTLR parser to the downstream consumers, to be able to apply the SparkThrowable error message framework to these exceptions.

  7. class SparkRecognitionException extends RecognitionException

    A SparkRecognitionException extends the RecognitionException with more information including the error class and parameters for the error message, which align with the interface of SparkThrowableHelper.

  8. class SqlBaseLexer extends Lexer
    Annotations
    @SuppressWarnings()
  9. class SqlBaseParser extends Parser
    Annotations
    @SuppressWarnings()
  10. class SqlBaseParserBaseListener extends SqlBaseParserListener

    This class provides an empty implementation of SqlBaseParserListener, which can be extended to create a listener which only needs to handle a subset of the available methods.

  11. class SqlBaseParserBaseVisitor[T] extends AbstractParseTreeVisitor[T] with SqlBaseParserVisitor[T]

    This class provides an empty implementation of SqlBaseParserVisitor, which can be extended to create a visitor which only needs to handle a subset of the available methods.

  12. trait SqlBaseParserListener extends ParseTreeListener

    This interface defines a complete listener for a parse tree produced by SqlBaseParser.

  13. trait SqlBaseParserVisitor[T] extends ParseTreeVisitor[T]

    This interface defines a complete generic visitor for a parse tree produced by SqlBaseParser.

  14. case class UnclosedCommentProcessor(command: String, tokenStream: CommonTokenStream) extends SqlBaseParserBaseListener with Product with Serializable

    The post-processor checks the unclosed bracketed comment.

Value Members

  1. object DataTypeParser extends AbstractParser
  2. 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.

  3. object ParseErrorListener extends BaseErrorListener with Product with Serializable

    The ParseErrorListener converts parse errors into ParseExceptions.

  4. object ParseException extends Serializable
  5. object PostProcessor extends SqlBaseParserBaseListener with Product with Serializable

    The post-processor validates & cleans-up the parse tree during the parse process.

Ungrouped