Packages

c

org.apache.spark.sql

AnalysisException

class AnalysisException extends Exception with SparkThrowable with Serializable with WithOrigin

Thrown when a query fails to analyze, usually because the query itself is invalid.

Annotations
@Stable()
Source
AnalysisException.scala
Since

1.3.0

Linear Supertypes
WithOrigin, SparkThrowable, Exception, Throwable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AnalysisException
  2. WithOrigin
  3. SparkThrowable
  4. Exception
  5. Throwable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new AnalysisException(errorClass: String, messageParameters: Map[String, String], origin: Origin, cause: Option[Throwable])
  2. new AnalysisException(errorClass: String, messageParameters: Map[String, String], origin: Origin)
  3. new AnalysisException(errorClass: String, messageParameters: Map[String, String])
  4. new AnalysisException(errorClass: String, messageParameters: Map[String, String], context: Array[QueryContext], summary: String)
  5. new AnalysisException(errorClass: String, messageParameters: Map[String, String], context: Array[QueryContext], cause: Option[Throwable])
  6. new AnalysisException(errorClass: String, messageParameters: Map[String, String], cause: Option[Throwable])
  7. new AnalysisException(message: String, line: Option[Int] = None, startPosition: Option[Int] = None, cause: Option[Throwable] = None, errorClass: Option[String] = None, messageParameters: Map[String, String] = Map.empty, context: Array[QueryContext] = Array.empty)
    Attributes
    protected

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 addSuppressed(arg0: Throwable): Unit
    Definition Classes
    Throwable
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val cause: Option[Throwable]
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  8. val context: Array[QueryContext]
  9. def copy(message: String = this.message, line: Option[Int] = this.line, startPosition: Option[Int] = this.startPosition, cause: Option[Throwable] = this.cause, errorClass: Option[String] = this.errorClass, messageParameters: Map[String, String] = this.messageParameters, context: Array[QueryContext] = this.context): AnalysisException
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. val errorClass: Option[String]
  13. def fillInStackTrace(): Throwable
    Definition Classes
    Throwable
  14. def getCause(): Throwable
    Definition Classes
    Throwable
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  16. def getErrorClass(): String
    Definition Classes
    AnalysisExceptionSparkThrowable
  17. def getLocalizedMessage(): String
    Definition Classes
    Throwable
  18. def getMessage(): String
    Definition Classes
    AnalysisException → Throwable
  19. def getMessageParameters(): Map[String, String]
    Definition Classes
    AnalysisExceptionSparkThrowable
  20. def getQueryContext(): Array[QueryContext]
    Definition Classes
    AnalysisExceptionSparkThrowable
  21. def getSimpleMessage: String
  22. def getSqlState(): String
    Definition Classes
    SparkThrowable
  23. def getStackTrace(): Array[StackTraceElement]
    Definition Classes
    Throwable
  24. final def getSuppressed(): Array[Throwable]
    Definition Classes
    Throwable
  25. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  26. def initCause(arg0: Throwable): Throwable
    Definition Classes
    Throwable
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. def isInternalError(): Boolean
    Definition Classes
    SparkThrowable
  29. val line: Option[Int]
  30. val message: String
  31. val messageParameters: Map[String, String]
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  34. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  35. lazy val origin: Origin
    Definition Classes
    AnalysisException → WithOrigin
  36. def printStackTrace(arg0: PrintWriter): Unit
    Definition Classes
    Throwable
  37. def printStackTrace(arg0: PrintStream): Unit
    Definition Classes
    Throwable
  38. def printStackTrace(): Unit
    Definition Classes
    Throwable
  39. def setStackTrace(arg0: Array[StackTraceElement]): Unit
    Definition Classes
    Throwable
  40. val startPosition: Option[Int]
  41. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  42. def toString(): String
    Definition Classes
    Throwable → AnyRef → Any
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  45. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. def withPosition(origin: Origin): AnalysisException

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from WithOrigin

Inherited from SparkThrowable

Inherited from Exception

Inherited from Throwable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped