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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SegmentBuilder.SegmentConverterImpl
public SegmentBuilder.SegmentConverterImpl(AggregationKey key,
CellRequest request)
convert
public SegmentWithData convert(SegmentHeader header,
SegmentBody body)
- Specified by:
convert in interface SegmentBuilder.SegmentConverter