mondrian.olap4j
Class EmptyResultSet

java.lang.Object
  extended by mondrian.olap4j.EmptyResultSet
All Implemented Interfaces:
ResultSet, Wrapper, OlapWrapper

abstract class EmptyResultSet
extends Object
implements ResultSet, OlapWrapper

Implementation of ResultSet which returns 0 rows.

This class is used to implement DatabaseMetaData methods for querying object types where those object types never have any instances for this particular driver.

This class has sub-classes which implement JDBC 3.0 and JDBC 4.0 APIs; it is instantiated using Factory.newEmptyResultSet(mondrian.olap4j.MondrianOlap4jConnection).

Since:
May 24, 2007
Author:
jhyde