Class

io.epiphanous.flinkrunner.model.aggregate

Max

Related Doc: package aggregate

Permalink

final case class Max(dimension: String, unit: String, value: Double = 0d, count: BigInt = BigInt(0), aggregatedLastUpdated: Instant = Instant.EPOCH, lastUpdated: Instant = Instant.now(), dependentAggregations: Map[String, Aggregate] = Map.empty[String, Aggregate], params: Map[String, String] = Map.empty[String, String]) extends Aggregate with Product with Serializable

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

Instance Constructors

  1. new Max(dimension: String, unit: String, value: Double = 0d, count: BigInt = BigInt(0), aggregatedLastUpdated: Instant = Instant.EPOCH, lastUpdated: Instant = Instant.now(), dependentAggregations: Map[String, Aggregate] = Map.empty[String, Aggregate], params: Map[String, String] = Map.empty[String, String])

    Permalink

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. val aggregatedLastUpdated: Instant

    Permalink
    Definition Classes
    MaxAggregate
  5. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val count: BigInt

    Permalink
    Definition Classes
    MaxAggregate
  8. val dependentAggregations: Map[String, Aggregate]

    Permalink
    Definition Classes
    MaxAggregate
  9. val dimension: String

    Permalink
    Definition Classes
    MaxAggregate
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    Aggregate
  14. def isDefined: Boolean

    Permalink
    Definition Classes
    Aggregate
  15. def isDimensionless: Boolean

    Permalink
    Definition Classes
    Aggregate
  16. def isEmpty: Boolean

    Permalink
    Definition Classes
    Aggregate
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def labeledValue: String

    Permalink
    Definition Classes
    Aggregate
  19. val lastUpdated: Instant

    Permalink
    Definition Classes
    MaxAggregate
  20. lazy val logger: Logger

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

    Permalink
    Definition Classes
    Aggregate
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. def nonEmpty: Boolean

    Permalink
    Definition Classes
    Aggregate
  24. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  26. def outUnit: String

    Permalink
    Definition Classes
    Aggregate
  27. val params: Map[String, String]

    Permalink
    Definition Classes
    MaxAggregate
  28. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    Aggregate → AnyRef → Any
  30. val unit: String

    Permalink
    Definition Classes
    MaxAggregate
  31. 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

    Definition Classes
    Aggregate
  32. 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

    Definition Classes
    Aggregate
  33. 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

    Definition Classes
    Aggregate
  34. 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

    Definition Classes
    MaxAggregate
  35. val value: Double

    Permalink
    Definition Classes
    MaxAggregate
  36. final def wait(): Unit

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

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

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

Inherited from Aggregate

Inherited from LazyLogging

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped