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
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