c

ai.chronon.aggregator.windowing

SawtoothOnlineAggregator

class SawtoothOnlineAggregator extends SawtoothMutationAggregator

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

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( ... ) @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: Any): 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[_]
    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 lambdaAggregateFinalizedTiled(finalBatchIr: FinalBatchIr, streamingTiledIrs: Iterator[TiledIr], ts: Long): Array[Any]
  26. def lambdaAggregateIr(finalBatchIr: FinalBatchIr, streamingRows: Iterator[Row], queryTs: Long, hasReversal: Boolean = false): Array[Any]
  27. 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
  28. def lambdaAggregateIrTiled(finalBatchIr: FinalBatchIr, streamingTiledIrs: Iterator[TiledIr], queryTs: Long): Array[Any]
  29. lazy val logger: Logger
    Annotations
    @transient()
  30. def merge(batchIr1: BatchIr, batchIr2: BatchIr): BatchIr
    Definition Classes
    SawtoothMutationAggregator
  31. 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
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. def normalizeBatchIr(batchIr: BatchIr): FinalBatchIr
  34. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. lazy val perWindowAggs: Array[AggregationPart]
    Definition Classes
    SawtoothAggregator
    Annotations
    @transient()
  37. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  38. lazy val tailHopIndices: Array[Int]
    Attributes
    protected
    Definition Classes
    SawtoothAggregator
    Annotations
    @transient()
  39. def tailTs(batchEndTs: Long): Array[Option[Long]]
    Definition Classes
    SawtoothMutationAggregator
  40. def toString(): String
    Definition Classes
    AnyRef → Any
  41. lazy val unpackedAggs: UnpackedAggregations
    Definition Classes
    SawtoothAggregator
    Annotations
    @transient()
  42. def update(batchIr: BatchIr, row: Row): BatchIr
  43. def update(batchEndTs: Long, batchIr: BatchIr, row: Row, batchTails: Array[Option[Long]]): BatchIr
    Definition Classes
    SawtoothMutationAggregator
  44. def update(batchEndTs: Long, batchIr: BatchIr, row: Row): BatchIr
    Definition Classes
    SawtoothMutationAggregator
  45. 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
  46. def updateIrTiled(ir: Array[Any], otherIr: TiledIr, queryTs: Long): Unit
    Definition Classes
    SawtoothMutationAggregator
  47. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  50. lazy val windowMappings: Array[WindowMapping]
    Definition Classes
    SawtoothAggregator
    Annotations
    @transient()
  51. lazy val windowedAggregator: RowAggregator
    Definition Classes
    SawtoothAggregator
    Annotations
    @transient()

Inherited from SawtoothAggregator

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped