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(SqlStatement stmt,
int maxRows,
int firstRowset,
int totalCount,
int resultSetType)
- Creates a TabularRowSet based upon a SQL statement result.
Closes the SqlStatement when it is done.
- Parameters:
stmt
- SqlStatementmaxRows
- Maximum row countfirstRowset
- Ordinal of row to skip to (1-based), or 0 to
start from beginningtotalCount
- Total number of rows. If >= 0, writes the
"totalCount" attribute.resultSetType
- Type of ResultSet, for example
ResultSet.TYPE_FORWARD_ONLY
.
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
XmlaHandler.TabularRowSet
public XmlaHandler.TabularRowSet(ResultSet rs)
throws SQLException
- Throws:
SQLException
unparse
public void unparse(SaxWriter writer)
throws SAXException
- Throws:
SAXException
metadata
public void metadata(SaxWriter writer)
- Writes the tabular drillthrough schema
- Parameters:
writer
- Writer