Trait/Object

io.epiphanous.flinkrunner.model.aggregate

Aggregate

Related Docs: object Aggregate | package aggregate

Permalink

trait Aggregate extends Product with Serializable with LazyLogging

Linear Supertypes
LazyLogging, Serializable, Serializable, Product, Equals, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Aggregate
  2. LazyLogging
  3. Serializable
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def aggregatedLastUpdated: Instant

    Permalink
  2. abstract def canEqual(that: Any): Boolean

    Permalink
    Definition Classes
    Equals
  3. abstract def count: BigInt

    Permalink
  4. abstract def dependentAggregations: Map[String, Aggregate]

    Permalink
  5. abstract def dimension: String

    Permalink
  6. abstract def lastUpdated: Instant

    Permalink
  7. abstract def params: Map[String, String]

    Permalink
  8. abstract def productArity: Int

    Permalink
    Definition Classes
    Product
  9. abstract def productElement(n: Int): Any

    Permalink
    Definition Classes
    Product
  10. abstract def unit: String

    Permalink
  11. abstract def value: Double

    Permalink

Concrete Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. def getDependents: Map[String, Aggregate]

    Permalink
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. def isDefined: Boolean

    Permalink
  13. def isDimensionless: Boolean

    Permalink
  14. def isEmpty: Boolean

    Permalink
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def labeledValue: String

    Permalink
  17. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  18. def name: String

    Permalink
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. def nonEmpty: Boolean

    Permalink
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. def outUnit: String

    Permalink
  24. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  25. def productPrefix: String

    Permalink
    Definition Classes
    Product
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def toString(): String

    Permalink
    Definition Classes
    Aggregate → AnyRef → Any
  28. def update(value: Double, unit: String, aggLU: Instant, unitMapper: UnitMapper = UnitMapper.defaultUnitMapper): Option[Aggregate]

    Permalink

    Most common entry point for updating aggregates.

    Most common entry point for updating aggregates.

    value

    Double value of quantity to update aggregate with

    unit

    String unit of quantity to update aggregate with

    aggLU

    event timestamp of value

    unitMapper

    allows caller to customize unit system mappings

  29. def update[A <: Quantity[A]](q: A, aggLU: Instant, unitMapper: UnitMapper): Option[Aggregate]

    Permalink

    Update the aggregate with a Quantity.

    Update the aggregate with a Quantity.

    A

    dimension of Quantity

    q

    Quantity[A]

    aggLU

    event timestamp of quantity

    returns

    Aggregate

  30. def updateDependents[A <: Quantity[A]](q: A, aggLU: Instant, unitMapper: UnitMapper): Map[String, Aggregate]

    Permalink

    Update dependent aggregations.

    Update dependent aggregations.

    A

    the type of the quantity

    q

    the quantity being added to the aggregations

    aggLU

    the instant associated with the new quantity

    unitMapper

    a unit mapper

  31. def updateQuantity[A <: Quantity[A]](current: A, quantity: A, depAggs: Map[String, Aggregate]): A

    Permalink

    Used by some subclasses to update the underlying aggregate value as a Quantity.

    Used by some subclasses to update the underlying aggregate value as a Quantity. When this is called, any dependent aggregations will be updated and passed into the depAggs parameter. You can find the previous dependent aggregations in this.dependentAggregations if you need them.

    A

    the dimension of the quantity

    current

    Quantity value of the aggregate

    quantity

    Quantity the new quantity to incorporate into the aggregate

    depAggs

    dependent aggregations already updated with the new quantity

    returns

    A

  32. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from LazyLogging

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped