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 the
MondrianProperties.TestHighCardinalityDimensionList
property.
It's a convenient way to run the whole suite against high-cardinality
dimensions without modifying FoodMart.xml.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestContext.HighCardDynamicSchemaProcessor
public TestContext.HighCardDynamicSchemaProcessor()
filter
protected String filter(String schemaUrl,
Util.PropertyList connectInfo,
InputStream stream)
throws 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 class FilterDynamicSchemaProcessor
- Parameters:
schemaUrl
- the URL of the catalogconnectInfo
- Connection propertiesstream
- Schema contents represented as a stream
- Returns:
- the modified schema
- Throws:
Exception
- if an error occurs