Class YugabyteDBSchema
- java.lang.Object
-
- migratedb.v1.core.internal.database.base.BaseSchema
-
- migratedb.v1.core.internal.database.postgresql.PostgreSQLSchema
-
- migratedb.v1.core.internal.database.yugabytedb.YugabyteDBSchema
-
- All Implemented Interfaces:
Schema
public class YugabyteDBSchema extends PostgreSQLSchema
-
-
Field Summary
-
Fields inherited from class migratedb.v1.core.internal.database.base.BaseSchema
jdbcTemplate, name
-
-
Constructor Summary
Constructors Constructor Description YugabyteDBSchema(JdbcTemplate jdbcTemplate, YugabyteDBDatabase database, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected YugabyteDBDatabasegetDatabase()YugabyteDBTablegetTable(String tableName)Retrieves the table with this name in this schema.-
Methods inherited from class migratedb.v1.core.internal.database.postgresql.PostgreSQLSchema
doAllTables, doCheckIfEmpty, doCreate, doExists
-
-
-
-
Constructor Detail
-
YugabyteDBSchema
public YugabyteDBSchema(JdbcTemplate jdbcTemplate, YugabyteDBDatabase database, String name)
- Parameters:
jdbcTemplate- The Jdbc Template for communicating with the DB.database- The database-specific support.name- The name of the schema.
-
-
Method Detail
-
getTable
public YugabyteDBTable getTable(String tableName)
Description copied from interface:SchemaRetrieves the table with this name in this schema.- Specified by:
getTablein interfaceSchema- Overrides:
getTablein classPostgreSQLSchema
-
getDatabase
protected YugabyteDBDatabase getDatabase()
- Overrides:
getDatabasein classBaseSchema
-
-