Bug 416703 Mongodb : Display correctly the Number data type
data/org.eclipse.birt.data.oda.mongodb/src/org/eclipse/birt/data/oda/mongodb/internal/impl/MDbMetaData.java
DBObject doc = resultCursor.next();
            newMetaData.addDocumentMetaData( doc, null );   
        }
        return newMetaData;
    }
    public static DocumentsMetaData getMetaData( Iterable<DBObject> resultObjs,
            int searchLimit )
    {
        if( resultObjs == null )
            return sm_emptyFields;
        
        DocumentsMetaData newMetaData = sm_factory.new DocumentsMetaData();
        
        int count = 1;
        Iterator<DBObject> resultObjItr = resultObjs.iterator();
        while( resultObjItr.hasNext() && 
               ( searchLimit <= 0 || count <= searchLimit ) )
        {        
            DBObject doc = resultObjItr.next();
            newMetaData.addDocumentMetaData( doc, null );   
            count++;
        }
        return newMetaData;
    }
    
    /**
     * The metadata of all fields discovered in one or more documents 
     * found in a collection.
     */
    public class DocumentsMetaData