Class CockroachDBTable

java.lang.Object
org.flywaydb.core.internal.database.base.SchemaObject<D,S>
org.flywaydb.core.internal.database.base.Table<CockroachDBDatabase,CockroachDBSchema>
org.flywaydb.database.cockroachdb.CockroachDBTable

public class CockroachDBTable extends org.flywaydb.core.internal.database.base.Table<CockroachDBDatabase,CockroachDBSchema>
CockroachDB-specific table. Note that CockroachDB doesn't support table locks. We therefore use a row in the schema history as a lock indicator; if another process has inserted such a row we wait (potentially indefinitely) for it to be removed before carrying out a migration.
  • Field Summary

    Fields inherited from class org.flywaydb.core.internal.database.base.Table

    lockDepth

    Fields inherited from class org.flywaydb.core.internal.database.base.SchemaObject

    database, jdbcTemplate, name, schema
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    protected void
     
    protected boolean
     
    protected boolean
     
    protected void
     
    protected void
     

    Methods inherited from class org.flywaydb.core.internal.database.base.Table

    exists, exists, lock, unlock

    Methods inherited from class org.flywaydb.core.internal.database.base.SchemaObject

    drop, getDatabase, getName, getSchema, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait