Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
What is the format of xml data set query String
bitisony
Hi all,
I want to create a new data set by using script.
I found a sample in the network.
But I do not understand the format of the xml data set query string.
As:
void buildDataSet(IReportContext reportContext) throws SemanticException
{
OdaDataSetHandle dsHandle =
reportContext.getDesignHandle().getElementFactory()
.newOdaDataSet("ds",
"org.eclipse.birt.report.data.oda.xml.dataSet");
dsHandle.setDataSource("reportDataSource");
String qry = "table0#-TNAME-#table0#:#[REPORT/RF-SUMMARY/OBJECT-SUMMARY/AP-RADIO-STATISTICS]#:#{time;String;}";
dsHandle.setQueryText(qry);
reportContext.getDesignHandle().getDataSets().add(dsHandle);
}
What is the meaning of "table0"?
And I want to query more attributes, how can I do that?
Thanks in advance for your help!
Find more posts tagged with
Comments
There are no comments yet