Class YugabyteDBSchema
- java.lang.Object
-
- migratedb.core.internal.database.base.BaseSchema<PostgreSQLDatabase,PostgreSQLTable>
-
- migratedb.core.internal.database.postgresql.PostgreSQLSchema
-
- migratedb.core.internal.database.yugabytedb.YugabyteDBSchema
-
- All Implemented Interfaces:
Schema<PostgreSQLDatabase,PostgreSQLTable>
public class YugabyteDBSchema extends PostgreSQLSchema
-
-
Field Summary
-
Fields inherited from class migratedb.core.internal.database.base.BaseSchema
database, 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 Table<?,?>getTable(String tableName)Retrieves the table with this name in this schema.-
Methods inherited from class migratedb.core.internal.database.postgresql.PostgreSQLSchema
doAllTables, doClean, doCreate, doDrop, doEmpty, doExists, getType
-
Methods inherited from class migratedb.core.internal.database.base.BaseSchema
allFunctions, allTables, allTypes, clean, create, doAllFunctions, drop, empty, equals, exists, getFunction, getName, hashCode, toString
-
-
-
-
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 Table<?,?> getTable(String tableName)
Description copied from interface:SchemaRetrieves the table with this name in this schema.- Specified by:
getTablein interfaceSchema<PostgreSQLDatabase,PostgreSQLTable>- Overrides:
getTablein classPostgreSQLSchema
-
-