butler.ext.rolap
Class ROLAPQuery
java.lang.Object
butler.ext.rolap.ROLAPQuery
public class ROLAPQuery
- extends java.lang.Object
Relational OLAP query.
- Author:
- Fredrik Bertilsson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ROLAPQuery
public ROLAPQuery(Table tab)
throws java.lang.Exception
- Throws:
java.lang.Exception
parse
public static ROLAPQuery parse(java.lang.String xml)
throws java.lang.Exception
- Throws:
java.lang.Exception
getResultCount
public int getResultCount()
setResultCount
public void setResultCount(int value)
addDimension
public void addDimension(ROLAPQuery.Dimension dim)
throws java.lang.Exception
- Throws:
java.lang.Exception
addDimension
public ROLAPQuery.Dimension addDimension(Column col)
throws java.lang.Exception
- Throws:
java.lang.Exception
addDimension
public ROLAPQuery.Dimension addDimension(ForeignKey fk)
throws java.lang.Exception
- Throws:
java.lang.Exception
clearDimensions
public void clearDimensions()
addMeasurement
public void addMeasurement(Column col)
throws java.lang.Exception
- Throws:
java.lang.Exception
getTable
public Table getTable()
getDimensions
public java.util.List getDimensions()
getDataColumns
public java.util.List getDataColumns()
getFilter
public Filter getFilter()
throws java.lang.Exception
- Throws:
java.lang.Exception
setFilter
public void setFilter(Filter filter)
throws java.lang.Exception
- Throws:
java.lang.Exception
getListeners
public java.util.Set getListeners()
getRecordComparator
public RecordComparator getRecordComparator()
throws java.lang.Exception
- Throws:
java.lang.Exception
createInstance
public ROLAPQuery.Instance createInstance()
throws java.lang.Exception
- Throws:
java.lang.Exception
addListener
public void addListener(ROLAPQuery.Listener listener)
toXML
public void toXML(org.xml.sax.ContentHandler handler)
throws java.lang.Exception
- Throws:
java.lang.Exception
parse
public static ROLAPQuery parse(org.dom4j.Element element)
throws java.lang.Exception
- Throws:
java.lang.Exception