Package mondrian.xmla
Class XmlaHandler.TabularRowSet
- java.lang.Object
-
- mondrian.xmla.XmlaHandler.TabularRowSet
-
- Enclosing class:
- XmlaHandler
static class XmlaHandler.TabularRowSet extends Object
-
-
Constructor Summary
Constructors Constructor Description TabularRowSet(ResultSet rs, int totalCount)
Creates a TabularRowSet based upon a SQL statement result.TabularRowSet(Map<String,List<String>> tableFieldMap, List<String> tableList)
Alternate constructor for advanced drill-through.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
metadata(SaxWriter writer)
Writes the tabular drillthrough schemavoid
unparse(SaxWriter writer)
-
-
-
Constructor Detail
-
TabularRowSet
public 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
-
-
Method Detail
-
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
-
-