use of mondrian.olap.Query in project pentaho-platform by pentaho.
the class MDXConnection method executeQuery.
/*
* (non-Javadoc)
*
* @see org.pentaho.connection.IPentahoConnection#executeQuery(java.lang.String)
*/
public IPentahoResultSet executeQuery(final String query) {
Query mdxQuery = nativeConnection.parseQuery(query);
Result result = nativeConnection.execute(mdxQuery);
resultSet = new MDXResultSet(result, nativeConnection, useExtendedColumnNames);
return resultSet;
}
Aggregations