Class YugabyteDBSession
- java.lang.Object
-
- migratedb.v1.core.internal.database.base.BaseSession
-
- migratedb.v1.core.internal.database.postgresql.PostgreSQLSession
-
- migratedb.v1.core.internal.database.yugabytedb.YugabyteDBSession
-
- All Implemented Interfaces:
AutoCloseable,Session
public class YugabyteDBSession extends PostgreSQLSession
-
-
Field Summary
-
Fields inherited from class migratedb.v1.core.internal.database.base.BaseSession
jdbcTemplate, originalSchemaNameOrSearchPath
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description YugabyteDBDatabasegetDatabase()YugabyteDBSchemagetSchema(String name)Retrieves the schema with this name in the database.-
Methods inherited from class migratedb.v1.core.internal.database.postgresql.PostgreSQLSession
changeCurrentSchemaTo, doChangeCurrentSchemaOrSearchPathTo, doGetCurrentSchema, doRestoreOriginalState, getCurrentSchemaNameOrSearchPath, lock
-
Methods inherited from class migratedb.v1.core.internal.database.base.BaseSession
close, getCurrentSchema, getJdbcConnection, getJdbcTemplate, restoreOriginalState
-
-
-
-
Method Detail
-
getSchema
public YugabyteDBSchema getSchema(String name)
Description copied from interface:SessionRetrieves the schema with this name in the database.- Specified by:
getSchemain interfaceSession- Overrides:
getSchemain classPostgreSQLSession
-
getDatabase
public YugabyteDBDatabase getDatabase()
- Overrides:
getDatabasein classPostgreSQLSession
-
-