Bug 416703 Mongodb : Display correctly the Number data type
data/org.eclipse.birt.data.oda.mongodb/src/org/eclipse/birt/data/oda/mongodb/impl/MDbResultSet.java
public class MDbResultSet implements IResultSet
{
    private Iterator<DBObject> m_resultsIterator;
    private DBCursor m_mongoCursor;
    private MDbResultSetMetaData m_metadata;
    private QueryProperties m_queryProps;
    
    private DBObject m_currentRow;
    private int m_currentRowId = 0;     
    private int m_maxRows = 0;  
    private boolean m_wasNull = true;
    private ResultDataHandler m_dataHandler;
    private static Logger sm_logger = DriverUtil.getLogger();
    
    public MDbResultSet( Iterator<DBObject> resultsIterator, MDbResultSetMetaData rsmd,
            QueryProperties queryProps )
    {
        if( resultsIterator == null || rsmd == null )
            throw new IllegalArgumentException( "null DBCursor" ); 
        m_resultsIterator = resultsIterator;
        if( resultsIterator instanceof DBCursor )
            m_mongoCursor = (DBCursor)resultsIterator;
        m_metadata = rsmd;