static class XmlaHandler.TabularRowSet extends Object
Constructor and Description |
---|
TabularRowSet(Map<String,List<String>> tableFieldMap,
List<String> tableList)
Alternate constructor for advanced drill-through.
|
TabularRowSet(ResultSet rs,
int totalCount)
Creates a TabularRowSet based upon a SQL statement result.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
metadata(SaxWriter writer)
Writes the tabular drillthrough schema
|
void |
unparse(SaxWriter writer) |
public TabularRowSet(ResultSet rs, int totalCount) throws SQLException
Does not close the ResultSet, on success or failure. Client must do it.
rs
- Result settotalCount
- Total number of rows. If >= 0, writes the
"totalCount" attribute into the XMLA response.SQLException
- on errorpublic void close()
public void unparse(SaxWriter writer) throws SAXException
SAXException
public void metadata(SaxWriter writer)
writer
- Writer