Package mondrian.olap

Class Explain

  • All Implemented Interfaces:
    Walkable

    public class Explain
    extends QueryPart
    Explain statement.
    Author:
    jhyde
    • Constructor Summary

      Constructors 
      Constructor Description
      Explain​(QueryPart query)
      Creates an Explain statement.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object[] getChildren()
      Returns an array of the object's children.
      QueryPart getQuery()  
      void unparse​(java.io.PrintWriter pw)
      Writes a string representation of this parse tree node to the given writer.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Explain

        Explain​(QueryPart query)
        Creates an Explain statement.
        Parameters:
        query - Query (SELECT or DRILLTHROUGH)
    • Method Detail

      • unparse

        public void unparse​(java.io.PrintWriter pw)
        Description copied from class: QueryPart
        Writes a string representation of this parse tree node to the given writer.
        Overrides:
        unparse in class QueryPart
        Parameters:
        pw - writer
      • getChildren

        public java.lang.Object[] getChildren()
        Description copied from interface: Walkable
        Returns an array of the object's children. Those which are not Walkable are ignored.
        Specified by:
        getChildren in interface Walkable
        Overrides:
        getChildren in class QueryPart