001    /*
002    // $Id: MdxQueryTransform.java 229 2009-05-08 19:11:29Z jhyde $
003    // This software is subject to the terms of the Eclipse Public License v1.0
004    // Agreement, available at the following URL:
005    // http://www.eclipse.org/legal/epl-v10.html.
006    // Copyright (C) 2008-2008 Julian Hyde
007    // All Rights Reserved.
008    // You must accept the terms of that agreement to use this software.
009    */
010    package org.olap4j.transform;
011    
012    import org.olap4j.mdx.SelectNode;
013    
014    /**
015     * MDX Query Transformation
016     *
017     * <p>General interface for transforming an MDX query to another one,
018     * according to behavior and parameters encapsulated in implementing
019     * classes
020     *
021     * @author etdub
022     * @author jhyde
023     * @version $Id: MdxQueryTransform.java 229 2009-05-08 19:11:29Z jhyde $
024     * @since Jul 28, 2008
025     */
026    public interface MdxQueryTransform {
027        String getName();
028        String getDescription();
029        SelectNode apply(SelectNode sn);
030    }
031    
032    // End MdxQueryTransform.java