Package com.illumon.iris.db.v2.by
Interface AggregationContextTransformer
- All Known Implementing Classes:
NullColumnAggregationTransformer
public interface AggregationContextTransformer
Transformer to adjust aggregation results for operation building.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault voidresultColumnFixup(Map<String, ColumnSource<?>> resultColumns) After we have created the key columns, and the default result columns, allow each transformer to add additional columns to the result set that are not handled by the regular modified column set transformer, etc.default voidsetReverseLookupFunction(ToIntFunction<Object> reverseLookup) The helper calls the transformer with a suitable reverse lookup function for this table.default QueryTabletransformResult(QueryTable table) Before we return the result, each transformer has a chance to replace it or change it as it sees fit.
-
Field Details
-
ZERO_LENGTH_AGGREGATION_CONTEXT_TRANSFORMER_ARRAY
-
-
Method Details
-
resultColumnFixup
After we have created the key columns, and the default result columns, allow each transformer to add additional columns to the result set that are not handled by the regular modified column set transformer, etc. logic. -
transformResult
Before we return the result, each transformer has a chance to replace it or change it as it sees fit. Practically this is used to change the attributes for rollups. -
setReverseLookupFunction
The helper calls the transformer with a suitable reverse lookup function for this table.- Parameters:
reverseLookup- a function that translates an object to an integer position in our output.
-