[Mondrian] OlapResult not found
Julian Hyde
jhyde at pentaho.com
Thu Jun 25 17:56:10 EDT 2009
OlapResult was renamed to CellSet in an early draft of olap4j.
I see that you got the code sample from the olap4j functional specification.
My mistake for not updating the functional specification when we renamed
OlapResult.
I have checked in a modified spec: <http://www.olap4j.org/olap4j_fs.html>
http://www.olap4j.org/olap4j_fs.html and http://www.olap4j.org/olap4j_fs.pdf
.
Julian
_____
From: mondrian-bounces at pentaho.org [mailto:mondrian-bounces at pentaho.org] On
Behalf Of Moffly
Sent: Wednesday, June 24, 2009 4:40 AM
To: mondrian at pentaho.org
Subject: [Mondrian] OlapResult not found
Greetings everyone,
I'm trying to get from a java class a query to a mondrian.
OlapStatement statement = olapConnection.createStatement();
OlapResult result = statement.execute(query);
My problem is my IDE says OlapResult cannot be resolved to a type.
I have added the imports this way:
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import org.apache.log4j.Logger;
import org.olap4j.*;
I have been looking in jarfinder and other engines for the class but I
didn't find it.
Which import should I add to the code?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pentaho.org/pipermail/mondrian/attachments/20090625/8a4b85d8/attachment.html
More information about the Mondrian
mailing list