Package io.deephaven.api.agg
Interface Aggregation.Visitor
- All Known Subinterfaces:
RollupAggregation.Visitor
- All Known Implementing Classes:
AggregationDescriptions
,AggregationOptimizer
,AggregationOutputs
,AggregationPairs
,RollupAggregationOutputs
,SupportedRangeJoinAggregations
- Enclosing interface:
- Aggregation
public static interface Aggregation.Visitor
Visitor interface. Combines with
Aggregation.walk(Visitor)
in order to allow for type-safe Aggregation evaluation
without switch statements or if-else blocks.-
Method Summary
Modifier and TypeMethodDescriptionvoid
visit
(Aggregations aggregations) Visit acompound aggregation
.void
visit
(ColumnAggregation columnAgg) Visit acolumn aggregation
.void
visit
(ColumnAggregations columnAggs) Visit acompound column aggregation
.void
Visit acount aggregation
.void
visit
(FirstRowKey firstRowKey) Visit afirst row key aggregation
.void
visit
(LastRowKey lastRowKey) Visit alast row key aggregation
.void
Visit apartition aggregation
.
-
Method Details
-
visit
Visit acompound aggregation
.- Parameters:
aggregations
- The compound aggregation to visit
-
visit
Visit acolumn aggregation
.- Parameters:
columnAgg
- The column aggregation to visit
-
visit
Visit acompound column aggregation
.- Parameters:
columnAggs
- The compound column aggregation to visit
-
visit
Visit acount aggregation
.- Parameters:
count
- The count aggregation
-
visit
Visit afirst row key aggregation
.- Parameters:
firstRowKey
- The first row key aggregation
-
visit
Visit alast row key aggregation
.- Parameters:
lastRowKey
- The last row key aggregation
-
visit
Visit apartition aggregation
.- Parameters:
partition
- The partition aggregation
-