[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.dtp] Re: How to get dataset filters
|
> By "dataset filters", I mean filters declared in the dataset editor
> window.
> My query is designed graphicaly so I can't insert filters in the query.
> That
> is why I want to get filters declared 2 tabs below to apply them.
> how do I access the filter from the Prepare and Execute functions
I'm afraid the "Filters" defined in BIRT Data Set Editor is something
defined purely in the BIRT host, and are not visible to an ODA data
provider. In other words, the BIRT filters' processing is handled by the
BIRT data engine, and are not pushed down to an ODA runtime driver.
Can you use "Parameters" instead, whose input values do get passed to an ODA
runtime driver via the call to IQuery#set<datatype> methods?
You can enable the Parameters tab in BIRT Data Set Editor by configuring
your o.e.d.c.oda.design.ui.dataSource extension's dataSetUI element:
<dataSetUI
supportsInParameters="true"
....
</dataSetUI>
Linda