Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

How to compile DynamicSchemaProcessor java

$
0
0
Dear Mondrian Team

Can you please help me with necessary import statements and packages to be used for compiling the DynamicSchemaProcessor code shown in "Listing 8.4. Dynamic schema processor" of "Mondrian in Action". I am using Pentaho 5 CE with Saiku plugin. Have tried compiling the code with following imports and I was able to overcome certain compilation errors.

import mondrian.i18n.*;
import mondrian.olap.*;
import mondrian.util.*;


However ended up with errors as below

DynamicSchemaProcessor.java:9: cannot find symbol
symbol : class InputStream
location: class DynamicSchemaProcessor
public String filter(String SchemaUrl, Util.PropertyList connectInfo, InputStream stream) throws Exception
^
DynamicSchemaProcessor.java:14: cannot find symbol
symbol : class IPentahoSession
location: class DynamicSchemaProcessor
IPentahoSession session = PentahoSessionHolder.getSession();
^
DynamicSchemaProcessor.java:14: cannot find symbol
symbol : variable PentahoSessionHolder
location: class DynamicSchemaProcessor
IPentahoSession session = PentahoSessionHolder.getSession();
^
DynamicSchemaProcessor.java:21: cannot find symbol
symbol : class PatternSyntaxException
location: class DynamicSchemaProcessor
catch (PatternSyntaxException pse)
^
4 errors


Thanks and Regards

Viewing all articles
Browse latest Browse all 16689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>