trait RegularMetric extends Serializable
Base class for source metric. All source metrics should have defined following:
- metric ID
- metric name
- source ID over which metric is calculated
- columns used for metric calculation
- method to init metric calculator
- Alphabetic
- By Inheritance
- RegularMetric
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
initDFMetricCalculator(columns: Seq[String]): DFMetricCalculator
Inits DF metric calculator.
Inits DF metric calculator.
- columns
Sequence of columns this metric refers to.
- returns
Initial state of DF metric calculator.
- Note
It is allowed to use
*
in order to refer all source columns. In this case value of metricColumns will be the sequence with only one element:*
. It is required to expand the star with actual list of source columns. But that information will only be available during metric processing after the source metadata is being retrieved. Thus, the expansion of*
will be performed during metric processing and DF metric calculator will be initialized with actual list of source columns passed ascolumns
argument.
-
abstract
def
initRDDMetricCalculator: RDDMetricCalculator
Inits RDD metric calculator.
Inits RDD metric calculator.
- returns
Initial state of RDD metric calculator.
- abstract val metricColumns: Seq[String]
- abstract val metricId: String
- abstract val metricName: MetricName
- abstract val metricSource: String
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
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
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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()