static class XmlaHandler.TabularRowSet extends Object
| Constructor and Description |
|---|
XmlaHandler.TabularRowSet(Map<String,List<String>> tableFieldMap,
List<String> tableList)
Alternate constructor for advanced drill-through.
|
XmlaHandler.TabularRowSet(ResultSet rs,
int totalCount)
Creates a TabularRowSet based upon a SQL statement result.
|
public XmlaHandler.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 XmlaHandler.TabularRowSet(Map<String,List<String>> tableFieldMap, List<String> tableList)
tableFieldMap - Map from table name to a list of the names of
the fields in the tabletableList - List of table namespublic void close()
public void unparse(SaxWriter writer) throws SAXException
SAXExceptionpublic void metadata(SaxWriter writer)
writer - Writer