mondrian如何查询聚集表
mondrian的聚集表是如何使用的
网上找了一些资料一直没找到关于聚集表方面的完整资料
如我在schema文件中有如下配置
<Cube name="CubeName">
<Table name="AAA">
<AggName name="AGG_AAA">
<AggFactCount column="FACT_COUNT"/>
<AggForeignKey factColumn="SEATID" aggColumn="SEATID"/>
<AggMeasure name="[Measures].[CallNum]" column="CALLNUM"/>
<AggLevel name="[Time].[Year]" column="YEARCODE"/>
<AggLevel name="[Time].[Month]" column="MONTHCODE"/>
<AggLevel name="[Time].[Day]" column="DAYCODE"/>
<AggLevel name="[Time].[SEAT]" column="SEATID"/>
</AggName>
</Table>
<Dimension name="Seat" foreignKey="SEATID">
<Hierarchy hasAll="true" allMemberName="all" primaryKey="SEATID">
<Table name="DIMENSION_SEAT"/>
<Level name="Seat" table="DIMENSION_SEAT" column="EMPLOYEECODE" uniqueMembers="true" approxRowCount="1111"/>
</Hierarchy>
</Dimension>
<Measure name="CallNum" column="CALLID" aggregator="count" formatString="#,###0" visible="true"/>
</Cube>