Class QueryExecutionFailure

Object
org.apache.spark.sql.pipelines.graph.RunFailure
org.apache.spark.sql.pipelines.graph.QueryExecutionFailure
All Implemented Interfaces:
Serializable, RunTerminationReason, scala.Equals, scala.Product

public class QueryExecutionFailure extends RunFailure implements scala.Product, Serializable
Indicates that run has failed due to a query execution failure.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    QueryExecutionFailure(String flowName, int maxRetries, scala.Option<Throwable> cause)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract static R
    apply(T1 v1, T2 v2, T3 v3)
     
    scala.Option<Throwable>
    Exception associated with the given run termination.
     
    boolean
    Whether or not this failure is considered fatal / irrecoverable.
    int
     
    User visible message associated with run termination.
    static String
     

    Methods inherited from class org.apache.spark.sql.pipelines.graph.RunFailure

    terminalState

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface scala.Equals

    canEqual, equals

    Methods inherited from interface scala.Product

    productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
  • Constructor Details

    • QueryExecutionFailure

      public QueryExecutionFailure(String flowName, int maxRetries, scala.Option<Throwable> cause)
  • Method Details

    • apply

      public abstract static R apply(T1 v1, T2 v2, T3 v3)
    • toString

      public static String toString()
    • flowName

      public String flowName()
    • maxRetries

      public int maxRetries()
    • cause

      public scala.Option<Throwable> cause()
      Description copied from interface: RunTerminationReason
      Exception associated with the given run termination. This exception will be included in the error details in the associated terminal run progress event.
      Specified by:
      cause in interface RunTerminationReason
      Returns:
      (undocumented)
    • isFatal

      public boolean isFatal()
      Description copied from class: RunFailure
      Whether or not this failure is considered fatal / irrecoverable.
      Specified by:
      isFatal in class RunFailure
    • message

      public String message()
      Description copied from interface: RunTerminationReason
      User visible message associated with run termination. This will also be set as the message in the associated terminal run progress log.
      Specified by:
      message in interface RunTerminationReason
      Returns:
      (undocumented)