public interface CompoundAgg extends AggOrCompoundAgg
Block.compoundAgg(com.rpl.rama.CompoundAgg)
.
A CompoundAgg template is a combination of maps and lists with aggregators at leaf nodes
mirroring the desired structure of aggregation.Modifier and Type | Method and Description |
---|---|
static CompoundAgg |
list(AggOrCompoundAgg... aggOrCompoundAggs)
Specifies a fixed-size list template
|
static CompoundAgg |
map(java.lang.Object... args)
Specifies a map template
|
static CompoundAgg map(java.lang.Object... args)
args
- Must be even number of arguments. Alternates between keys and aggregators. Keys can be value, var, or Expr
. Aggregators can be Aggregator or futher CompoundAgg template.Block.compoundAgg(com.rpl.rama.CompoundAgg)
static CompoundAgg list(AggOrCompoundAgg... aggOrCompoundAggs)
aggOrCompoundAggs
- Aggregator or further CompoundAgg templatesBlock.compoundAgg(com.rpl.rama.CompoundAgg)