Packages

c

org.apache.spark.sql.catalyst.parser

SparkParserErrorStrategy

class SparkParserErrorStrategy extends DefaultErrorStrategy

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.

Linear Supertypes
DefaultErrorStrategy, ANTLRErrorStrategy, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SparkParserErrorStrategy
  2. DefaultErrorStrategy
  3. ANTLRErrorStrategy
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SparkParserErrorStrategy()

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 beginErrorCondition(arg0: Parser): Unit
    Attributes
    protected[runtime]
    Definition Classes
    DefaultErrorStrategy
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def consumeUntil(arg0: Parser, arg1: IntervalSet): Unit
    Attributes
    protected[runtime]
    Definition Classes
    DefaultErrorStrategy
  8. def endErrorCondition(arg0: Parser): Unit
    Attributes
    protected[runtime]
    Definition Classes
    DefaultErrorStrategy
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def escapeWSAndQuote(arg0: String): String
    Attributes
    protected[runtime]
    Definition Classes
    DefaultErrorStrategy
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def getErrorRecoverySet(arg0: Parser): IntervalSet
    Attributes
    protected[runtime]
    Definition Classes
    DefaultErrorStrategy
  15. def getExpectedTokens(arg0: Parser): IntervalSet
    Attributes
    protected[runtime]
    Definition Classes
    DefaultErrorStrategy
  16. def getMissingSymbol(arg0: Parser): Token
    Attributes
    protected[runtime]
    Definition Classes
    DefaultErrorStrategy
  17. def getSymbolText(arg0: Token): String
    Attributes
    protected[runtime]
    Definition Classes
    DefaultErrorStrategy
  18. def getSymbolType(arg0: Token): Int
    Attributes
    protected[runtime]
    Definition Classes
    DefaultErrorStrategy
  19. def getTokenErrorDisplay(t: Token): String

    Get the user-facing display of the error token.

    Get the user-facing display of the error token.

    Definition Classes
    SparkParserErrorStrategy → DefaultErrorStrategy
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def inErrorRecoveryMode(arg0: Parser): Boolean
    Definition Classes
    DefaultErrorStrategy → ANTLRErrorStrategy
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. def recover(arg0: Parser, arg1: RecognitionException): Unit
    Definition Classes
    DefaultErrorStrategy → ANTLRErrorStrategy
  27. def recoverInline(arg0: Parser): Token
    Definition Classes
    DefaultErrorStrategy → ANTLRErrorStrategy
    Annotations
    @throws(classOf[org.antlr.v4.runtime.RecognitionException])
  28. def reportError(arg0: Parser, arg1: RecognitionException): Unit
    Definition Classes
    DefaultErrorStrategy → ANTLRErrorStrategy
  29. def reportFailedPredicate(arg0: Parser, arg1: FailedPredicateException): Unit
    Attributes
    protected[runtime]
    Definition Classes
    DefaultErrorStrategy
  30. def reportInputMismatch(recognizer: Parser, e: InputMismatchException): Unit
    Definition Classes
    SparkParserErrorStrategy → DefaultErrorStrategy
  31. def reportMatch(arg0: Parser): Unit
    Definition Classes
    DefaultErrorStrategy → ANTLRErrorStrategy
  32. def reportMissingToken(recognizer: Parser): Unit
    Definition Classes
    SparkParserErrorStrategy → DefaultErrorStrategy
  33. def reportNoViableAlternative(recognizer: Parser, e: NoViableAltException): Unit
    Definition Classes
    SparkParserErrorStrategy → DefaultErrorStrategy
  34. def reportUnwantedToken(recognizer: Parser): Unit
    Definition Classes
    SparkParserErrorStrategy → DefaultErrorStrategy
  35. def reset(arg0: Parser): Unit
    Definition Classes
    DefaultErrorStrategy → ANTLRErrorStrategy
  36. def singleTokenDeletion(arg0: Parser): Token
    Attributes
    protected[runtime]
    Definition Classes
    DefaultErrorStrategy
  37. def singleTokenInsertion(arg0: Parser): Boolean
    Attributes
    protected[runtime]
    Definition Classes
    DefaultErrorStrategy
  38. def sync(arg0: Parser): Unit
    Definition Classes
    DefaultErrorStrategy → ANTLRErrorStrategy
    Annotations
    @throws(classOf[org.antlr.v4.runtime.RecognitionException])
  39. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  40. def toString(): String
    Definition Classes
    AnyRef → Any
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from DefaultErrorStrategy

Inherited from ANTLRErrorStrategy

Inherited from AnyRef

Inherited from Any

Ungrouped