public class LoadExternalSchemaTransformer extends Object implements SourceTransformer
Constructor and Description |
---|
LoadExternalSchemaTransformer()
Standard constructor.
|
LoadExternalSchemaTransformer(File baseDir)
Constructor to override base dir.
|
Modifier and Type | Method and Description |
---|---|
Database |
transform(Database database,
ControllerState controllerState)
Loads the external schemata tables into the current graph.
|
SourceElement |
transform(Object modelRoot,
ControllerState controllerState)
Loads the external schemata tables into the current graph.
|
public LoadExternalSchemaTransformer()
public LoadExternalSchemaTransformer(File baseDir)
baseDir
- the new base dir.public SourceElement transform(Object modelRoot, ControllerState controllerState) throws SourceTransformerException
transform
in interface SourceTransformer
modelRoot
- the database root element of the source tree, not null.controllerState
- the controller state, not null.SourceTransformerException
- if the transformation fails.public Database transform(Database database, ControllerState controllerState) throws SourceTransformerException
database
- the database root element of the source tree, not null.controllerState
- the controller state, not null.SourceTransformerException
- if the transformation fails.Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.