org.apache.spark.sql.execution.metric

SQLMetric

class SQLMetric extends AccumulatorV2[Long, Long]

A metric used in a SQL query plan. This is implemented as an AccumulatorV2. Updates on the executor side are automatically propagated and shown in the SQL UI through metrics. Updates on the driver side must be explicitly posted using SQLMetrics.postDriverMetricUpdates().

Linear Supertypes
AccumulatorV2[Long, Long], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SQLMetric
  2. AccumulatorV2
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SQLMetric(metricType: String, initValue: Long = 0L)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +=(v: Long): Unit

  5. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  6. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  7. def add(v: Long): Unit

    Definition Classes
    SQLMetric → AccumulatorV2
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def copy(): SQLMetric

    Definition Classes
    SQLMetric → AccumulatorV2
  11. def copyAndReset(): AccumulatorV2[Long, Long]

    Definition Classes
    AccumulatorV2
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  17. final def id: Long

    Definition Classes
    AccumulatorV2
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. final def isRegistered: Boolean

    Definition Classes
    AccumulatorV2
  20. def isZero(): Boolean

    Definition Classes
    SQLMetric → AccumulatorV2
  21. def merge(other: AccumulatorV2[Long, Long]): Unit

    Definition Classes
    SQLMetric → AccumulatorV2
  22. val metricType: String

  23. final def name: Option[String]

    Definition Classes
    AccumulatorV2
  24. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  27. def reset(): Unit

    Definition Classes
    SQLMetric → AccumulatorV2
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. def toInfo(update: Option[Any], value: Option[Any]): AccumulableInfo

    Definition Classes
    SQLMetric → AccumulatorV2
  30. def toString(): String

    Definition Classes
    AccumulatorV2 → AnyRef → Any
  31. def value: Long

    Definition Classes
    SQLMetric → AccumulatorV2
  32. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def writeReplace(): Any

    Attributes
    protected
    Definition Classes
    AccumulatorV2

Inherited from AccumulatorV2[Long, Long]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped