| Constructor and Description |
|---|
GroupAllStrategy(GroupAll aggregation,
BulletConfig config)
Constructor that requires an
Aggregation. |
| Modifier and Type | Method and Description |
|---|---|
void |
combine(byte[] data)
Combines a serialized piece of data into this Monoid.
|
void |
consume(com.yahoo.bullet.record.BulletRecord data)
Consumes a single
BulletRecord into this Monoid. |
byte[] |
getData()
Get the data serialized as a byte[].
|
List<com.yahoo.bullet.record.BulletRecord> |
getRecords()
Get the data so far as a
List of BulletRecord. |
Clip |
getResult()
Get the data so far as a
Clip. |
void |
reset()
Reset the data so far and make this the identity element for the Monoid with respect to inserting data.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMetadata, isClosedpublic GroupAllStrategy(GroupAll aggregation, BulletConfig config)
Aggregation.aggregation - The Aggregation that specifies how and what this will compute.config - The BulletConfig.public void consume(com.yahoo.bullet.record.BulletRecord data)
MonoidalBulletRecord into this Monoid.public void combine(byte[] data)
Monoidalcombine in interface Monoidaldata - A serialized representation of the data produced by Monoidal.getData().public byte[] getData()
Monoidalpublic Clip getResult()
MonoidalClip.public List<com.yahoo.bullet.record.BulletRecord> getRecords()
MonoidalList of BulletRecord.getRecords in interface MonoidalCopyright © 2021. All rights reserved.