Package mondrian.olap

Examples of mondrian.olap.MondrianProperties


     */
    static boolean useSparse(
        final double possibleCount,
        final double actualCount)
    {
        final MondrianProperties properties = MondrianProperties.instance();
        double densityThreshold =
            properties.SparseSegmentDensityThreshold.get();
        if (densityThreshold < 0) {
            densityThreshold = 0;
        }
View Full Code Here


    public void testStoreCount() throws Exception {
        if (!isApplicable()) {
            return;
        }

        MondrianProperties props = MondrianProperties.instance();

        // get value without aggregates
        propSaver.set(props.UseAggregates, false);

        String mdx =
View Full Code Here

    public void testSalesCount() throws Exception {
        if (!isApplicable()) {
            return;
        }

        MondrianProperties props = MondrianProperties.instance();

        // get value without aggregates
        propSaver.set(props.UseAggregates, false);

        String mdx =
View Full Code Here

    public void testTotalAmount() throws Exception {
        if (!isApplicable()) {
            return;
        }

        MondrianProperties props = MondrianProperties.instance();

        // get value without aggregates
        propSaver.set(props.UseAggregates, false);

        String mdx =
View Full Code Here

    public void testBug1541077() throws Exception {
        if (!isApplicable()) {
            return;
        }

        MondrianProperties props = MondrianProperties.instance();

        // get value without aggregates
        propSaver.set(props.UseAggregates, false);

        String mdx = "select {[Measures].[Avg Amount]} on columns from Cheques";
View Full Code Here

        getConnection().getCacheControl(null).flushSchemaCache();

        super.setUp();

        // store current property values
        MondrianProperties props = MondrianProperties.instance();

        // turn off caching
        propSaver.set(
            props.DisableCaching,
            true);
View Full Code Here

    public void testTotal() throws Exception {
        if (!isApplicable()) {
            return;
        }

        MondrianProperties props = MondrianProperties.instance();

        // get value without aggregates
        propSaver.set(props.UseAggregates, false);
        propSaver.set(props.ReadAggregates, false);
View Full Code Here

    public void testUsagePrefix() throws Exception {
        if (!isApplicable()) {
            return;
        }
        MondrianProperties props = MondrianProperties.instance();

        // get value without aggregates
        propSaver.set(props.UseAggregates, true);
        propSaver.set(props.ReadAggregates, true);
View Full Code Here

    public void testUsagePrefixTwoDims() throws Exception {
        if (!isApplicable()) {
            return;
        }
        MondrianProperties props = MondrianProperties.instance();

        // get value without aggregates
        propSaver.set(props.UseAggregates, true);
        propSaver.set(props.ReadAggregates, true);
View Full Code Here

    }

    @Override
    protected void setUp() throws Exception {
        super.setUp();
        final MondrianProperties props = MondrianProperties.instance();
        propSaver.set(props.UseAggregates, true);
        propSaver.set(props.ReadAggregates, true);
        super.getConnection().getCacheControl(null).flushSchemaCache();
    }
View Full Code Here

TOP

Related Classes of mondrian.olap.MondrianProperties

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.