Package mondrian.test
Class DynamicSchemaProcessorTest.CheckJdbcPropertyDsp
- java.lang.Object
-
- mondrian.test.DynamicSchemaProcessorTest.BaseDsp
-
- mondrian.test.DynamicSchemaProcessorTest.CheckJdbcPropertyDsp
-
- All Implemented Interfaces:
DynamicSchemaProcessor
- Enclosing class:
- DynamicSchemaProcessorTest
public static class DynamicSchemaProcessorTest.CheckJdbcPropertyDsp extends DynamicSchemaProcessorTest.BaseDsp
Ensures we have access to the JDBC URL. Note, since Foodmart can run on multiple databases all we check in schema name is the first four characters (JDBC)- Author:
- ngoodman
-
-
Field Summary
Fields Modifier and Type Field Description static String
RETURNFALSESTRING
static String
RETURNTRUESTRING
-
Fields inherited from class mondrian.test.DynamicSchemaProcessorTest.BaseDsp
replaceToken
-
-
Constructor Summary
Constructors Constructor Description CheckJdbcPropertyDsp()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
processSchema(String schemaUrl, Util.PropertyList connectInfo)
Modifies a Mondrian schema.-
Methods inherited from class mondrian.test.DynamicSchemaProcessorTest.BaseDsp
getSchema
-
-
-
-
Method Detail
-
processSchema
public String processSchema(String schemaUrl, Util.PropertyList connectInfo) throws Exception
Description copied from interface:DynamicSchemaProcessor
Modifies a Mondrian schema.An implementation should generally interpret the URL string as an Apache VFS (virtual file system) URL.
- Specified by:
processSchema
in interfaceDynamicSchemaProcessor
- Overrides:
processSchema
in classDynamicSchemaProcessorTest.BaseDsp
- Parameters:
schemaUrl
- The URL of the catalog.connectInfo
- Connection properties.- Returns:
- Returns the modified schema.
- Throws:
Exception
- if an error occurs.
-
-