public static class TestContext.SnoopingSchemaProcessor extends FilterDynamicSchemaProcessor
Modifier and Type | Field and Description |
---|---|
static ThreadLocal<String> |
THREAD_RESULT |
Constructor and Description |
---|
TestContext.SnoopingSchemaProcessor() |
Modifier and Type | Method and Description |
---|---|
protected 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.
|
processSchema
public static final ThreadLocal<String> THREAD_RESULT
protected String filter(String schemaUrl, Util.PropertyList connectInfo, InputStream stream) throws Exception
FilterDynamicSchemaProcessor
The default implementation returns the contents of the schema unchanged.
filter
in class FilterDynamicSchemaProcessor
schemaUrl
- the URL of the catalogconnectInfo
- Connection propertiesstream
- Schema contents represented as a streamException
- if an error occurs