001/*
002// This software is subject to the terms of the Eclipse Public License v1.0
003// Agreement, available at the following URL:
004// http://www.eclipse.org/legal/epl-v10.html.
005// You must accept the terms of that agreement to use this software.
006//
007// Copyright (C) 2008-2011 Pentaho and others
008// All Rights Reserved.
009*/
010package mondrian.olap;
011
012/**
013 * Strategies for applying solve order, exposed via the property
014 * {@link MondrianProperties#SolveOrderMode}.
015 */
016public enum SolveOrderMode {
017
018    /**
019     * The SOLVE_ORDER value is absolute regardless of
020     * where it is defined; e.g. a query defined calculated
021     * member with a SOLVE_ORDER of 1 always takes precedence
022     * over a cube defined value of 2.
023     *
024     * <p>Compatible with Analysis Services 2000, and default behavior
025     * up to mondrian-3.0.3.
026     */
027    ABSOLUTE,
028
029    /**
030     * Cube calculated members are resolved before any session
031     * scope calculated members, and session scope members are
032     * resolved before any query defined calculation.  The
033     * SOLVE_ORDER value only applies within the scope in which
034     * it was defined.
035     *
036     * <p>Compatible with Analysis Services 2005, and default behavior
037     * from mondrian-3.0.4 and later.
038     */
039    SCOPED
040}
041
042// End SolveOrderMode.java