Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » can't find IQueryResults class inbirt-runtime-2.1RC1a.zip
can't find IQueryResults class inbirt-runtime-2.1RC1a.zip [message #162079] Wed, 17 May 2006 22:22 Go to next message
Eclipse UserFriend
Originally posted by: chaohua.wang.premierata.com

Hi, Folks,



When I compile the following code, There is no these IQueryResults,
IBaseExpression, and IResultIterator classes files with
birt-runtime-2.1RC1a.zip.

It compiled in birt-runtime-2_0_1.zip. I think it is in package import
org.eclipse.birt.data.engine.api.*;

But I can't find it in birt-runtime-2.1RC1a.zip.



Please let me know where I can find the jar files contains IQueryResults,
IBaseExpression, and IResultIterato class in with birt-runtime-2.1RC1a.zip.



Thank you very much



Chaohua







public int DataPreview (IReportRunnable runnable, String datasetName)
throws RemoteException

{

assert runnable != null;

int count = 0;



IDataPreviewTask dataPreviewTask = null;

synchronized ( this.getClass( ) )

{

dataPreviewTask =
engine.createDataPreviewTask ( runnable );

}



IQueryResults actualResultSet =
dataPreviewTask.executeDataSet(datasetName , 1 , null);



try{

if ( actualResultSet != null )

{

//Iterate through results

Collection col =
actualResultSet.getPreparedQuery( ).getReportQueryDefn( ).getRowExpressions(
);

IBaseExpression[]
expressions = (IBaseExpression[])col.toArray( new
IBaseExpression[col.size( )]);

IResultIterator iter =
actualResultSet
Re: can't find IQueryResults class inbirt-runtime-2.1RC1a.zip [message #162625 is a reply to message #162079] Thu, 18 May 2006 18:49 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Have you tried this with 2.1 RC2?
It should work.

Jason

"chaohua" <chaohua.wang@premierata.com> wrote in message
news:e4g7sk$i2k$1@utils.eclipse.org...
> Hi, Folks,
>
>
>
> When I compile the following code, There is no these IQueryResults,
> IBaseExpression, and IResultIterator classes files with
> birt-runtime-2.1RC1a.zip.
>
> It compiled in birt-runtime-2_0_1.zip. I think it is in package import
> org.eclipse.birt.data.engine.api.*;
>
> But I can't find it in birt-runtime-2.1RC1a.zip.
>
>
>
> Please let me know where I can find the jar files contains IQueryResults,
> IBaseExpression, and IResultIterato class in with
> birt-runtime-2.1RC1a.zip.
>
>
>
> Thank you very much
>
>
>
> Chaohua
>
>
>
>
>
>
>
> public int DataPreview (IReportRunnable runnable, String datasetName)
> throws RemoteException
>
> {
>
> assert runnable != null;
>
> int count = 0;
>
>
>
> IDataPreviewTask dataPreviewTask = null;
>
> synchronized ( this.getClass( ) )
>
> {
>
> dataPreviewTask =
> engine.createDataPreviewTask ( runnable );
>
> }
>
>
>
> IQueryResults actualResultSet =
> dataPreviewTask.executeDataSet(datasetName , 1 , null);
>
>
>
> try{
>
> if ( actualResultSet != null )
>
> {
>
> //Iterate through results
>
> Collection col =
> actualResultSet.getPreparedQuery( ).getReportQueryDefn( ).getRowExpressions(
> );
>
> IBaseExpression[]
> expressions = (IBaseExpression[])col.toArray( new
> IBaseExpression[col.size( )]);
>
> IResultIterator iter =
> actualResultSet
>
>
Previous Topic:html reports with embedded .img paths don't show the images on firefox 1.5.0.3
Next Topic:Formatting numeric data in a String
Goto Forum:
  


Current Time: Sat Jul 13 20:05:18 GMT 2024

Powered by FUDForum. Page generated in 0.03587 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top