mondrian.olap
Class QueryPart

java.lang.Object
  extended by mondrian.olap.QueryPart
All Implemented Interfaces:
Walkable
Direct Known Subclasses:
CellProperty, ExpBase, Formula, MemberProperty, Query, QueryAxis

public abstract class QueryPart
extends java.lang.Object
implements Walkable

Component of an MDX query (derived classes include Query, Axis, Exp, Level).

Version:
$Id: //open/mondrian/src/main/mondrian/olap/QueryPart.java#13 $
Author:
jhyde

Constructor Summary
QueryPart()
          Creates a QueryPart.
 
Method Summary
 java.lang.Object[] getChildren()
          Returns an array of the object's children.
 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

QueryPart

QueryPart()
Creates a QueryPart.

Method Detail

unparse

public void unparse(java.io.PrintWriter pw)
Writes a string representation of this parse tree node to the given writer.

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

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