mondrian.olap
Class Explain

java.lang.Object
  extended by mondrian.olap.QueryPart
      extended by mondrian.olap.Explain
All Implemented Interfaces:
Walkable

public class Explain
extends QueryPart

Explain statement.

Author:
jhyde

Constructor Summary
Explain(QueryPart query)
          Creates an Explain statement.
 
Method Summary
 Object[] getChildren()
          Returns an array of the object's children.
 QueryPart getQuery()
           
 void unparse(PrintWriter pw)
          Writes a string representation of this parse tree node to the given writer.
 
Methods inherited from class mondrian.olap.QueryPart
explain
 
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(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 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

getQuery

public QueryPart getQuery()

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads