Package mondrian.server

Examples of mondrian.server.Locus


            } while (phase());

            evaluator.restore(savepoint);

            // Get value for each Cell
            final Locus locus = new Locus(execution, null, "Loading cells");
            Locus.push(locus);
            try {
                executeBody(slicerEvaluator, query, new int[axes.length]);
            } finally {
                Locus.pop(locus);
View Full Code Here


                "coordinates should have dimension " + point.size());
        }

        for (int i = 0; i < pos.length; i++) {
            if (positionsHighCardinality.get(i)) {
                final Locus locus = new Locus(execution, null, "Loading cells");
                Locus.push(locus);
                try {
                    executeBody(evaluator, statement.getQuery(), pos);
                } finally {
                    Locus.pop(locus);
View Full Code Here

                if (connection == null) {
                    throw new IllegalArgumentException("Connection required");
                }
                execution = new Execution(connection.getInternalStatement(), 0);
            }
            final Locus locus = new Locus(
                execution,
                "CacheControlImpl.execute",
                "when modifying the member cache.");
            Locus.push(locus);
            try {
View Full Code Here

        final String sql = buf.toString();
        SqlStatement stmt =
            RolapUtil.executeQuery(
                dataSource,
                sql,
                new Locus(
                    execution,
                    "SqlStatisticsProvider.getTableCardinality",
                    "Reading row count from table "
                    + Arrays.asList(catalog, schema, table)));
        try {
View Full Code Here

        final String countSql = buf.toString();
        SqlStatement stmt =
            RolapUtil.executeQuery(
                dataSource,
                countSql,
                new Locus(
                    execution,
                    "SqlStatisticsProvider.getQueryCardinality",
                    "Reading row count from query [" + sql + "]"));
        try {
            ResultSet resultSet = stmt.getResultSet();
View Full Code Here

        }
        SqlStatement stmt =
            RolapUtil.executeQuery(
                dataSource,
                sql,
                new Locus(
                    execution,
                    "SqlStatisticsProvider.getColumnCardinality",
                    "Reading cardinality for column "
                    + Arrays.asList(catalog, schema, table, column)));
        try {
View Full Code Here

TOP

Related Classes of mondrian.server.Locus

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.