Packages

class Statistics extends ContextLogging

Container for all the statistics accumulators created. All methods can be called in driver only.

Linear Supertypes
ContextLogging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Statistics
  2. ContextLogging
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Statistics(sc: SparkContext)

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. def accumulatorsToJson(): String

    Returns accumulator names and current values as JSON, sorted by accumulator name.

  5. def accumulatorsToStrings(valSep: String): Iterable[String]
  6. def accumulatorsToTsv(): String

    Returns accumulator names and current values as Tab Separated Values.

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. val bucketAccumulators: Map[String, BucketsAccumulator[Int]]
  9. def classForLogger: Class[_]

    Override this to change the class that is displayed in logs.

    Override this to change the class that is displayed in logs.

    Attributes
    protected
    Definition Classes
    ContextLogging
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def getAccumulator(bucketsLimits: Array[Int], name: String): BucketsAccumulator[Int]

    Retrieve existing Bucket accumulator with given name and initial value, or create new if it doesn't exist

  15. def getAccumulator(name: String): LongAccumulator

    Retrieve existing Long accumulator with given name, or create new if it doesn't exist

  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def logAccumulators(): Unit

    Logs all accumulators.

  20. final lazy val logger: ContextAwareLogger

    The logger to use for normal and context-aware messages.

    The logger to use for normal and context-aware messages.

    Attributes
    protected
    Definition Classes
    ContextLogging
  21. val longAccumulators: Map[String, LongAccumulator]
  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. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from ContextLogging

Inherited from AnyRef

Inherited from Any

Ungrouped