mondrian.xmla
Class XmlaHandler.TabularRowSet

java.lang.Object
  extended by mondrian.xmla.XmlaHandler.TabularRowSet
Enclosing class:
XmlaHandler

static class XmlaHandler.TabularRowSet
extends Object

 

Constructor Summary
XmlaHandler.TabularRowSet(Map<String,List<String>> tableFieldMap, List<String> tableList)
          Alternate constructor for advanced drill-through.
XmlaHandler.TabularRowSet(ResultSet rs)
           
XmlaHandler.TabularRowSet(SqlStatement stmt, int maxRows, int firstRowset, int totalCount, int resultSetType)
          Creates a TabularRowSet based upon a SQL statement result.
 
Method Summary
 void metadata(SaxWriter writer)
          Writes the tabular drillthrough schema
 void unparse(SaxWriter writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 - SqlStatement
maxRows - Maximum row count
firstRowset - Ordinal of row to skip to (1-based), or 0 to start from beginning
totalCount - 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 table
tableList - List of table names

XmlaHandler.TabularRowSet

public XmlaHandler.TabularRowSet(ResultSet rs)
                          throws SQLException
Throws:
SQLException
Method Detail

unparse

public void unparse(SaxWriter writer)
             throws SAXException
Throws:
SAXException

metadata

public void metadata(SaxWriter writer)
Writes the tabular drillthrough schema

Parameters:
writer - Writer

SourceForge.net_Logo