Package org.teiid.metadatastore
Class DeploymentBasedDatabaseStore
- java.lang.Object
-
- org.teiid.query.metadata.DatabaseStore
-
- org.teiid.metadatastore.DeploymentBasedDatabaseStore
-
public class DeploymentBasedDatabaseStore extends DatabaseStore
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.teiid.query.metadata.DatabaseStore
DatabaseStore.Mode
-
-
Field Summary
-
Fields inherited from class org.teiid.query.metadata.DatabaseStore
count, currentSchema
-
-
Constructor Summary
Constructors Constructor Description DeploymentBasedDatabaseStore(VDBRepository vdbRepo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Datatype>
getRuntimeTypes()
VDBMetaData
getVDBMetadata(String contents)
void
importDatabase(String dbName, String version, boolean importPolicies)
void
importSchema(String schemaName, String serverType, String serverName, String foreignSchemaName, List<String> includeTables, List<String> excludeTables, Map<String,String> properties)
protected boolean
shouldValidateDatabaseBeforeDeploy()
-
Methods inherited from class org.teiid.query.metadata.DatabaseStore
addOrSetOption, addOrSetOption, alterBaseColumn, assertInEditMode, createDomain, createMF, createMF, createNameSpace, databaseCreated, databaseSwitched, dataWrapperCreated, dataWrapperDropped, enableTableTriggerPlan, functionCreated, functionDropped, getCurrentDatabase, getCurrentNamespaceContainer, getCurrentSchema, getDatabase, getDatabases, getSchema, getSchemaRecord, getServer, getTableForCreateColumn, getTransformationMetadata, grantCreated, grantRevoked, modifyTableName, policyCreated, policyDropped, procedureCreated, procedureDropped, removeColumn, removeOption, removeOption, renameBaseColumn, roleCreated, roleDropped, schemaCreated, schemaDropped, schemaSwitched, serverCreated, serverDropped, setMode, setProcedureDefinition, setStrict, setTableTriggerPlan, setViewDefinition, startEditing, stopEditing, tableCreated, tableDropped, verifyCurrentDatabaseIsNotSame, verifyDatabaseExists, verifyFunctionExists, verifyRoleExists, verifySchemaExists, verifyServerExists
-
-
-
-
Constructor Detail
-
DeploymentBasedDatabaseStore
public DeploymentBasedDatabaseStore(VDBRepository vdbRepo)
-
-
Method Detail
-
getRuntimeTypes
public Map<String,Datatype> getRuntimeTypes()
- Specified by:
getRuntimeTypes
in classDatabaseStore
-
shouldValidateDatabaseBeforeDeploy
protected boolean shouldValidateDatabaseBeforeDeploy()
- Overrides:
shouldValidateDatabaseBeforeDeploy
in classDatabaseStore
-
getVDBMetadata
public VDBMetaData getVDBMetadata(String contents)
-
importSchema
public void importSchema(String schemaName, String serverType, String serverName, String foreignSchemaName, List<String> includeTables, List<String> excludeTables, Map<String,String> properties)
- Overrides:
importSchema
in classDatabaseStore
-
importDatabase
public void importDatabase(String dbName, String version, boolean importPolicies)
- Overrides:
importDatabase
in classDatabaseStore
-
-