Package mondrian.rolap

Examples of mondrian.rolap.RolapLevel


        RolapMember member,
        RolapCube baseCube)
    {
        List<RolapStar.Column> columnList = new ArrayList<RolapStar.Column>();
        while (true) {
            RolapLevel level = member.getLevel();
            RolapStar.Column column = null;
            if (level instanceof RolapCubeLevel) {
                column = ((RolapCubeLevel)level)
                                .getBaseStarKeyColumn(baseCube);
            } else {
                (new Exception()).printStackTrace();
            }

            if (columnBitKey == null) {
                columnBitKey =
                    BitKey.Factory.makeBitKey(
                            column.getStar().getColumnCount());
                columnBitKey.clear();
            }
            columnBitKey.set(column.getBitPosition());
            columnList.add(0, column);
            if (level.isUnique()) {
                return columnList;
            }
            member = member.getParentMember();
        }
    }
View Full Code Here

TOP

Related Classes of mondrian.rolap.RolapLevel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.