Package mondrian.test
Class TestContext.HighCardDynamicSchemaProcessor
- java.lang.Object
-
- mondrian.spi.impl.FilterDynamicSchemaProcessor
-
- mondrian.test.TestContext.HighCardDynamicSchemaProcessor
-
- All Implemented Interfaces:
DynamicSchemaProcessor
- Enclosing class:
- TestContext
public static class TestContext.HighCardDynamicSchemaProcessor extends FilterDynamicSchemaProcessor
Schema processor that flags dimensions as high-cardinality if they appear in the list of values in theMondrianProperties.TestHighCardinalityDimensionList
property. It's a convenient way to run the whole suite against high-cardinality dimensions without modifying FoodMart.xml.
-
-
Constructor Summary
Constructors Constructor Description HighCardDynamicSchemaProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
filter(java.lang.String schemaUrl, Util.PropertyList connectInfo, java.io.InputStream stream)
Reads the contents of a schema as a stream and returns the result as a string.-
Methods inherited from class mondrian.spi.impl.FilterDynamicSchemaProcessor
processSchema
-
-
-
-
Method Detail
-
filter
protected java.lang.String filter(java.lang.String schemaUrl, Util.PropertyList connectInfo, java.io.InputStream stream) throws java.lang.Exception
Description copied from class:FilterDynamicSchemaProcessor
Reads the contents of a schema as a stream and returns the result as a string.The default implementation returns the contents of the schema unchanged.
- Overrides:
filter
in classFilterDynamicSchemaProcessor
- Parameters:
schemaUrl
- the URL of the catalogconnectInfo
- Connection propertiesstream
- Schema contents represented as a stream- Returns:
- the modified schema
- Throws:
java.lang.Exception
- if an error occurs
-
-