public static interface SQLBuilder.AlterTableBuilder extends SQLBuilder.Statement
Modifier and Type | Method and Description |
---|---|
SQLBuilder.AlterTableBuilder |
add_column(String columnName,
int type,
int type_p,
int type_s,
boolean isPk,
boolean isIndexed,
boolean allowNulls,
boolean isAutomatic,
Object defaultValue) |
SQLBuilder.AlterTableBuilder |
alter_column(String columnName,
int type,
int type_p,
int type_s,
boolean isPk,
boolean isIndexed,
boolean allowNulls,
boolean isAutomatic,
Object defaultValue) |
SQLBuilder.AlterTableBuilder |
drop_column(String columnName) |
SQLBuilder.AlterTableBuilder |
rename_column(String source,
String target) |
SQLBuilder.TableNameBuilder |
table() |
List<String> |
toStrings() |
accept
SQLBuilder.TableNameBuilder table()
SQLBuilder.AlterTableBuilder drop_column(String columnName)
SQLBuilder.AlterTableBuilder add_column(String columnName, int type, int type_p, int type_s, boolean isPk, boolean isIndexed, boolean allowNulls, boolean isAutomatic, Object defaultValue)
SQLBuilder.AlterTableBuilder alter_column(String columnName, int type, int type_p, int type_s, boolean isPk, boolean isIndexed, boolean allowNulls, boolean isAutomatic, Object defaultValue)
SQLBuilder.AlterTableBuilder rename_column(String source, String target)