public class MySQLSchemaQueries
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
MySQLSchemaQueries.ForeignKeyConstraint
Represents a FOREIGN KEY constraint in a MySQL database.
|
Modifier and Type | Method and Description |
---|---|
static Query<java.lang.Boolean> |
doesColumnExist(java.lang.String tableName,
java.lang.String columnName) |
static Query<java.lang.Boolean> |
doesIndexExist(java.lang.String indexName,
java.lang.String tableName) |
static Query<java.lang.Boolean> |
doesTableExist(java.lang.String tableName) |
static Query<java.util.List<MySQLSchemaQueries.ForeignKeyConstraint>> |
foreignKeyConstraintsOf(java.lang.String referencedTable) |
public static Query<java.lang.Boolean> doesTableExist(java.lang.String tableName)
public static Query<java.util.List<MySQLSchemaQueries.ForeignKeyConstraint>> foreignKeyConstraintsOf(java.lang.String referencedTable)
public static Query<java.lang.Boolean> doesIndexExist(java.lang.String indexName, java.lang.String tableName)
public static Query<java.lang.Boolean> doesColumnExist(java.lang.String tableName, java.lang.String columnName)