public class MongoDBMetadataProcessor extends Object implements MetadataProcessor<MongoDBConnection>
Modifier and Type | Field and Description |
---|---|
static String |
EMBEDDABLE |
static String |
MERGE |
Constructor and Description |
---|
MongoDBMetadataProcessor() |
Modifier and Type | Method and Description |
---|---|
String |
getExcludeTables() |
String |
getIncludeTables() |
void |
process(MetadataFactory metadataFactory,
MongoDBConnection connection) |
void |
setExcludeTables(String excludeTables) |
void |
setIncludeTables(String tableNamePattern) |
protected boolean |
shouldExclude(String fullName) |
protected boolean |
shouldInclude(String fullName) |
@ExtensionMetadataProperty(applicable=Table.class, datatype=java.lang.String.class, display="Merge Into Table", description="Declare the name of table that this table needs to be merged into. No separate copy maintained") public static final String MERGE
@ExtensionMetadataProperty(applicable=Table.class, datatype=java.lang.String.class, display="Embedded Into Table", description="Declare the name of table that this table needs to be embedded into. A separate copy is also maintained") public static final String EMBEDDABLE
public void process(MetadataFactory metadataFactory, MongoDBConnection connection) throws TranslatorException
process
in interface MetadataProcessor<MongoDBConnection>
TranslatorException
@TranslatorProperty(display="Exclude Tables", category=IMPORT, description="A case-insensitive regular expression that when matched against a fully qualified Teiid table name will exclude it from import. Applied after table names are retrieved. Use a negative look-ahead (?!<inclusion pattern>).* to act as an inclusion filter.") public String getExcludeTables()
protected boolean shouldExclude(String fullName)
public void setExcludeTables(String excludeTables)
@TranslatorProperty(display="Include Tables", category=IMPORT, description="A case-insensitive regular expression that when matched against a fully qualified Teiid table name will include it from import. Applied after table names are retrieved. Use a negative look-ahead (?!<inclusion pattern>).* to act as an exclusion filter") public String getIncludeTables()
protected boolean shouldInclude(String fullName)
public void setIncludeTables(String tableNamePattern)
Copyright © 2017 JBoss by Red Hat. All rights reserved.