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
Ordering
- Alphabetic
- By Inheritance
Inherited
- SQLMetric
- AccumulatorV2
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new SQLMetric(metricType: String, initValue: Long = 0L)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +=(v: Long): Unit
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
add(v: Long): Unit
- Definition Classes
- SQLMetric → AccumulatorV2
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
copy(): SQLMetric
- Definition Classes
- SQLMetric → AccumulatorV2
-
def
copyAndReset(): AccumulatorV2[Long, Long]
- Definition Classes
- AccumulatorV2
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
id: Long
- Definition Classes
- AccumulatorV2
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
isRegistered: Boolean
- Definition Classes
- AccumulatorV2
-
def
isZero(): Boolean
- Definition Classes
- SQLMetric → AccumulatorV2
-
def
merge(other: AccumulatorV2[Long, Long]): Unit
- Definition Classes
- SQLMetric → AccumulatorV2
- val metricType: String
-
final
def
name: Option[String]
- Definition Classes
- AccumulatorV2
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
reset(): Unit
- Definition Classes
- SQLMetric → AccumulatorV2
- def set(v: Long): Unit
- def set(v: Double): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toInfo(update: Option[Any], value: Option[Any]): AccumulableInfo
- Definition Classes
- SQLMetric → AccumulatorV2
-
def
toString(): String
- Definition Classes
- AccumulatorV2 → AnyRef → Any
-
def
value: Long
- Definition Classes
- SQLMetric → AccumulatorV2
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
writeReplace(): Any
- Attributes
- protected
- Definition Classes
- AccumulatorV2