Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » The problem with the transmission parameters in the dataset using mongodb mapreduce
The problem with the transmission parameters in the dataset using mongodb mapreduce [message #1220692] Fri, 13 December 2013 01:07 Go to next message
Andrew Cat is currently offline Andrew Cat
Messages: 1
Registered: December 2013
Junior Member
I apologize for my English google) I appeal to the community with the most troubling issues. I am looking for a way to submit the report parameters in the dataset, built on the data source mongodb. Operation is used mapreduce. Inside it I quote query: {$ where: "this.code == 11"}, and in this case, the dataset used condition. But in the current implementation Mongo dataset with mapreduce Expression line, I can not submit any dynamically.
I can neither dynamically apply settings there any bind parameters (similar to the Web service dataset)
It seems in the previous implementation of ODA was a functional plugin.
Perhaps you can use maprduce somehow different. Ask for advice)
Re: The problem with the transmission parameters in the dataset using mongodb mapreduce [message #1220836 is a reply to message #1220692] Fri, 13 December 2013 18:50 Go to previous message
Linda Chan
Messages: 844
Registered: July 2009
Senior Member
MongoDB expression syntax itself does not support parameters, thus the MongoDB ODA connector does not support data set parameters directly.

If you want to dynamically adjust your MapReduce expression, you can use scripting to reference a BIRT report parameter and change the runtime value of the "Command expression" data set property.
You can edit all the available MongoDB ODA data set properties in the "Property Binding" page in the Data Set Editor (when editing an MongoDB ODA data set design).

Hope that helps.

Linda
Previous Topic:setOutputStream closes the stream after processing.
Next Topic:MSung-Light Font in PDF with Russian characters
Goto Forum:
  


Current Time: Sat Jul 12 15:34:01 EDT 2014

Powered by FUDForum. Page generated in 0.05271 seconds