Packages

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
Visibility
  1. Public
  2. All

Instance Constructors

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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +=(v: Long): Unit
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. def add(v: Long): Unit
    Definition Classes
    SQLMetric → AccumulatorV2
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. def copy(): SQLMetric
    Definition Classes
    SQLMetric → AccumulatorV2
  9. def copyAndReset(): AccumulatorV2[Long, Long]
    Definition Classes
    AccumulatorV2
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def id: Long
    Definition Classes
    AccumulatorV2
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def isRegistered: Boolean
    Definition Classes
    AccumulatorV2
  18. def isZero(): Boolean
    Definition Classes
    SQLMetric → AccumulatorV2
  19. def merge(other: AccumulatorV2[Long, Long]): Unit
    Definition Classes
    SQLMetric → AccumulatorV2
  20. val metricType: String
  21. final def name: Option[String]
    Definition Classes
    AccumulatorV2
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. def reset(): Unit
    Definition Classes
    SQLMetric → AccumulatorV2
  26. def set(v: Long): Unit
  27. def set(v: Double): Unit
  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( ... ) @native()
  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