c

ai.chronon.aggregator.windowing

SawtoothOnlineAggregator

class SawtoothOnlineAggregator extends SawtoothMutationAggregator

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SawtoothOnlineAggregator
  2. SawtoothMutationAggregator
  3. SawtoothAggregator
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SawtoothOnlineAggregator(batchEndTs: Long, aggregations: Seq[Aggregation], inputSchema: Seq[(String, DataType)], resolution: Resolution = FiveMinuteResolution, tailBufferMillis: Long = new Window(2, TimeUnit.DAYS).millis)

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. lazy val baseAggregator: RowAggregator
    Definition Classes
    SawtoothAggregator
    Annotations
    @transient()
  6. lazy val baseIrIndices: Array[Int]
    Attributes
    protected
    Definition Classes
    SawtoothAggregator
    Annotations
    @transient()
  7. val batchEndTs: Long
  8. def batchIrSchema: Array[(String, DataType)]
    Definition Classes
    SawtoothMutationAggregator
  9. val batchTailTs: Array[Option[Long]]
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. def computeWindows(hops: OutputArrayType, endTimes: Array[Long]): Array[Array[Any]]
    Definition Classes
    SawtoothAggregator
  12. def cumulate(inputs: Iterator[Row], sortedEndTimes: Array[Long], baseIR: Array[Any]): Array[Array[Any]]
    Definition Classes
    SawtoothAggregator
  13. def denormalizeBatchIr(batchIr: FinalBatchIr): FinalBatchIr
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  17. def finalizeSnapshot(batchIr: BatchIr): FinalBatchIr
    Definition Classes
    SawtoothMutationAggregator
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. val hopSizes: Array[Long]
    Attributes
    protected
    Definition Classes
    SawtoothAggregator
  21. val hopsAggregator: HopsAggregatorBase
    Definition Classes
    SawtoothMutationAggregator
  22. def init: BatchIr
    Definition Classes
    SawtoothMutationAggregator
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. def lambdaAggregateFinalized(finalBatchIr: FinalBatchIr, streamingRows: Iterator[Row], ts: Long, hasReversal: Boolean = false): Array[Any]
  25. def lambdaAggregateIr(finalBatchIr: FinalBatchIr, streamingRows: Iterator[Row], queryTs: Long, hasReversal: Boolean = false): Array[Any]
  26. def lambdaAggregateIrMany(batchEndTs: Long, finalBatchIr: FinalBatchIr, sortedInputs: Array[Row], sortedEndTimes: Array[Long]): Array[Array[Any]]

    Given aggregations FinalBatchIRs at the end of the Snapshot (batchEndTs) and mutation and query times, determine the values at the query times for the aggregations.

    Given aggregations FinalBatchIRs at the end of the Snapshot (batchEndTs) and mutation and query times, determine the values at the query times for the aggregations. This is pretty much a mix of online with extra work for multiple queries ts support.

    Definition Classes
    SawtoothMutationAggregator
  27. def merge(batchIr1: BatchIr, batchIr2: BatchIr): BatchIr
    Definition Classes
    SawtoothMutationAggregator
  28. def mergeTailHops(ir: Array[Any], queryTs: Long, batchEndTs: Long, batchIr: FinalBatchIr): Array[Any]

    Update the intermediate results with tail hops data from a FinalBatchIr.

    Update the intermediate results with tail hops data from a FinalBatchIr.

    Definition Classes
    SawtoothMutationAggregator
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. def normalizeBatchIr(batchIr: BatchIr): FinalBatchIr
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. lazy val perWindowAggs: Array[AggregationPart]
    Definition Classes
    SawtoothAggregator
    Annotations
    @transient()
  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. lazy val tailHopIndices: Array[Int]
    Attributes
    protected
    Definition Classes
    SawtoothAggregator
    Annotations
    @transient()
  36. def tailTs(batchEndTs: Long): Array[Option[Long]]
    Definition Classes
    SawtoothMutationAggregator
  37. def toString(): String
    Definition Classes
    AnyRef → Any
  38. lazy val unpackedAggs: UnpackedAggregations
    Definition Classes
    SawtoothAggregator
    Annotations
    @transient()
  39. def update(batchIr: BatchIr, row: Row): BatchIr
  40. def update(batchEndTs: Long, batchIr: BatchIr, row: Row, batchTails: Array[Option[Long]]): BatchIr
    Definition Classes
    SawtoothMutationAggregator
  41. def update(batchEndTs: Long, batchIr: BatchIr, row: Row): BatchIr
    Definition Classes
    SawtoothMutationAggregator
  42. def updateIr(ir: Array[Any], row: Row, queryTs: Long, hasReversal: Boolean = false): Unit

    Go through the aggregators and update or delete the intermediate with the information of the row if relevant.

    Go through the aggregators and update or delete the intermediate with the information of the row if relevant. Useful for both online and mutations

    Definition Classes
    SawtoothMutationAggregator
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  46. lazy val windowMappings: Array[WindowMapping]
    Definition Classes
    SawtoothAggregator
    Annotations
    @transient()
  47. lazy val windowedAggregator: RowAggregator
    Definition Classes
    SawtoothAggregator
    Annotations
    @transient()

Inherited from SawtoothAggregator

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped