@ExtensionMetadataProperty(applicable=org.teiid.metadata.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=org.teiid.metadata.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(org.teiid.metadata.MetadataFactory metadataFactory,
org.teiid.mongodb.MongoDBConnection connection)
throws org.teiid.translator.TranslatorException
Specified by:
process in interface org.teiid.translator.MetadataProcessor<org.teiid.mongodb.MongoDBConnection>
Throws:
org.teiid.translator.TranslatorException
getExcludeTables
@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()
public void setExcludeTables(String excludeTables)
getIncludeTables
@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()
public void setIncludeTables(String tableNamePattern)
getSampleSize
@TranslatorProperty(display="Sample Size",
category=IMPORT,
description="The number of top level documents of a given collection name to sample.")
public int getSampleSize()