class SawtoothOnlineAggregator extends SawtoothMutationAggregator
- Alphabetic
- By Inheritance
- SawtoothOnlineAggregator
- SawtoothMutationAggregator
- SawtoothAggregator
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new SawtoothOnlineAggregator(batchEndTs: Long, aggregations: Seq[Aggregation], inputSchema: Seq[(String, DataType)], resolution: Resolution = FiveMinuteResolution, tailBufferMillis: Long = new Window(2, TimeUnit.DAYS).millis)
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
-
lazy val
baseAggregator: RowAggregator
- Definition Classes
- SawtoothAggregator
- Annotations
- @transient()
-
lazy val
baseIrIndices: Array[Int]
- Attributes
- protected
- Definition Classes
- SawtoothAggregator
- Annotations
- @transient()
- val batchEndTs: Long
-
def
batchIrSchema: Array[(String, DataType)]
- Definition Classes
- SawtoothMutationAggregator
- val batchTailTs: Array[Option[Long]]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
computeWindows(hops: OutputArrayType, endTimes: Array[Long]): Array[Array[Any]]
- Definition Classes
- SawtoothAggregator
-
def
cumulate(inputs: Iterator[Row], sortedEndTimes: Array[Long], baseIR: Array[Any]): Array[Array[Any]]
- Definition Classes
- SawtoothAggregator
- def denormalizeBatchIr(batchIr: FinalBatchIr): FinalBatchIr
-
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] )
-
def
finalizeSnapshot(batchIr: BatchIr): FinalBatchIr
- Definition Classes
- SawtoothMutationAggregator
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
val
hopSizes: Array[Long]
- Attributes
- protected
- Definition Classes
- SawtoothAggregator
-
val
hopsAggregator: HopsAggregatorBase
- Definition Classes
- SawtoothMutationAggregator
-
def
init: BatchIr
- Definition Classes
- SawtoothMutationAggregator
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lambdaAggregateFinalized(finalBatchIr: FinalBatchIr, streamingRows: Iterator[Row], ts: Long, hasReversal: Boolean = false): Array[Any]
- def lambdaAggregateIr(finalBatchIr: FinalBatchIr, streamingRows: Iterator[Row], queryTs: Long, hasReversal: Boolean = false): Array[Any]
-
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
-
lazy val
logger: Logger
- Annotations
- @transient()
-
def
merge(batchIr1: BatchIr, batchIr2: BatchIr): BatchIr
- Definition Classes
- SawtoothMutationAggregator
-
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
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def normalizeBatchIr(batchIr: BatchIr): FinalBatchIr
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
lazy val
perWindowAggs: Array[AggregationPart]
- Definition Classes
- SawtoothAggregator
- Annotations
- @transient()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
lazy val
tailHopIndices: Array[Int]
- Attributes
- protected
- Definition Classes
- SawtoothAggregator
- Annotations
- @transient()
-
def
tailTs(batchEndTs: Long): Array[Option[Long]]
- Definition Classes
- SawtoothMutationAggregator
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
lazy val
unpackedAggs: UnpackedAggregations
- Definition Classes
- SawtoothAggregator
- Annotations
- @transient()
- def update(batchIr: BatchIr, row: Row): BatchIr
-
def
update(batchEndTs: Long, batchIr: BatchIr, row: Row, batchTails: Array[Option[Long]]): BatchIr
- Definition Classes
- SawtoothMutationAggregator
-
def
update(batchEndTs: Long, batchIr: BatchIr, row: Row): BatchIr
- Definition Classes
- SawtoothMutationAggregator
-
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
-
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()
-
lazy val
windowMappings: Array[WindowMapping]
- Definition Classes
- SawtoothAggregator
- Annotations
- @transient()
-
lazy val
windowedAggregator: RowAggregator
- Definition Classes
- SawtoothAggregator
- Annotations
- @transient()