Package mondrian.test
Class NamedSetTest.NamedSetsInCubeProcessor
- java.lang.Object
-
- mondrian.spi.impl.FilterDynamicSchemaProcessor
-
- mondrian.test.NamedSetTest.NamedSetsInCubeProcessor
-
- All Implemented Interfaces:
DynamicSchemaProcessor
- Enclosing class:
- NamedSetTest
public static class NamedSetTest.NamedSetsInCubeProcessor extends FilterDynamicSchemaProcessor
Dynamic schema processor which adds two named sets to a the first cube in a schema.
-
-
Constructor Summary
Constructors Constructor Description NamedSetsInCubeProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
filter(String schemaUrl, Util.PropertyList connectInfo, 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
public 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 classFilterDynamicSchemaProcessor
- 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
-
-