>From my understanding, if I implement my own state factory to use in
PersistentAggregate, the grouping fields will be the key values in the
state,
However, if I want to have access to other fields in the aggregation, how
might I get those ? From my understanding, doing a groupBy() will create a
new GroupedStream which will only have the fields specified in the
groupBy().

Essentially what I want to do is:
stream
    .groupBy(new Fields("a"))
    .persistentAggregate(
        new Factory(),
        new Fields("b"),
        ...
    )

How would I do this ?

-- 
Raphael Hsieh

Reply via email to