Package mondrian.rolap.agg
Class SegmentBuilder.SegmentConverterImpl
java.lang.Object
mondrian.rolap.agg.SegmentBuilder.SegmentConverterImpl
- All Implemented Interfaces:
SegmentBuilder.SegmentConverter
- Enclosing class:
- SegmentBuilder
public static class SegmentBuilder.SegmentConverterImpl
extends Object
implements SegmentBuilder.SegmentConverter
Implementation of
SegmentBuilder.SegmentConverter
that uses an
AggregationKey
and CellRequest
as context to
convert a SegmentHeader
.
This is nasty. A converter might be used for several headers, not necessarily with the context as the cell request and aggregation key. Converters only exist for fact tables and compound predicate combinations for which we have already done a load request.
It would be much better if there was a way to convert compound predicates from strings to predicates. Then we could obsolete the messy context inside converters, and maybe obsolete converters altogether.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SegmentConverterImpl
-
-
Method Details
-
convert
- Specified by:
convert
in interfaceSegmentBuilder.SegmentConverter
-