Package mondrian.test

Class TestContext.SnoopingSchemaProcessor

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.ThreadLocal<java.lang.String> THREAD_RESULT  
    • 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 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • THREAD_RESULT

        public static final java.lang.ThreadLocal<java.lang.String> THREAD_RESULT
    • Constructor Detail

      • SnoopingSchemaProcessor

        public SnoopingSchemaProcessor()
    • 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 class FilterDynamicSchemaProcessor
        Parameters:
        schemaUrl - the URL of the catalog
        connectInfo - Connection properties
        stream - Schema contents represented as a stream
        Returns:
        the modified schema
        Throws:
        java.lang.Exception - if an error occurs