mondrian.xmla
Class XmlaHandler.TabularRowSet
java.lang.Object
mondrian.xmla.XmlaHandler.TabularRowSet
- Enclosing class:
- XmlaHandler
static class XmlaHandler.TabularRowSet
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlaHandler.TabularRowSet
public XmlaHandler.TabularRowSet(ResultSet rs,
int totalCount)
throws SQLException
- Creates a TabularRowSet based upon a SQL statement result.
Does not close the ResultSet, on success or failure. Client
must do it.
- Parameters:
rs - Result settotalCount - Total number of rows. If >= 0, writes the
"totalCount" attribute into the XMLA response.
- Throws:
SQLException - on error
XmlaHandler.TabularRowSet
public XmlaHandler.TabularRowSet(Map<String,List<String>> tableFieldMap,
List<String> tableList)
- Alternate constructor for advanced drill-through.
- Parameters:
tableFieldMap - Map from table name to a list of the names of
the fields in the tabletableList - List of table names
close
public void close()
unparse
public void unparse(SaxWriter writer)
throws SAXException
- Throws:
SAXException
metadata
public void metadata(SaxWriter writer)
- Writes the tabular drillthrough schema
- Parameters:
writer - Writer