public static interface AnylineService.DDLService
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
add(Column column) |
boolean |
add(Constraint constraint)
修改约束
|
boolean |
add(ForeignKey foreign) |
boolean |
add(Index index) |
boolean |
add(PrimaryKey primary) |
boolean |
add(Tag tag) |
boolean |
alter(Column column) |
boolean |
alter(Constraint constraint) |
boolean |
alter(ForeignKey foreign) |
boolean |
alter(Function function) |
boolean |
alter(Index index) |
boolean |
alter(MasterTable table) |
boolean |
alter(PartitionTable table) |
boolean |
alter(PrimaryKey primary) |
boolean |
alter(Procedure procedure) |
boolean |
alter(Sequence sequence) |
boolean |
alter(Table table) |
boolean |
alter(Tag tag) |
boolean |
alter(Trigger trigger) |
boolean |
alter(View view) |
boolean |
create(Function function)
函数
|
boolean |
create(MasterTable table) |
boolean |
create(PartitionTable table) |
boolean |
create(Procedure procedure)
存储过程
|
boolean |
create(Sequence sequence)
函数
|
boolean |
create(Table table) |
boolean |
create(Trigger trigger)
触发器
|
boolean |
create(View view) |
boolean |
drop(Column column) |
boolean |
drop(Constraint constraint) |
boolean |
drop(ForeignKey foreign) |
boolean |
drop(Function function) |
boolean |
drop(Index index) |
boolean |
drop(MasterTable table) |
boolean |
drop(PartitionTable table) |
boolean |
drop(PrimaryKey primary) |
boolean |
drop(Procedure procedure) |
boolean |
drop(Sequence sequence) |
boolean |
drop(Table table) |
boolean |
drop(Tag tag) |
boolean |
drop(Trigger trigger) |
boolean |
drop(View view) |
boolean |
rename(Column origin,
String name) |
boolean |
rename(Constraint origin,
String name) |
boolean |
rename(ForeignKey origin,
String name) |
boolean |
rename(Function origin,
String name) |
boolean |
rename(Index origin,
String name) |
boolean |
rename(MasterTable origin,
String name) |
boolean |
rename(PartitionTable origin,
String name) |
boolean |
rename(PrimaryKey origin,
String name) |
boolean |
rename(Procedure origin,
String name) |
boolean |
rename(Sequence origin,
String name) |
boolean |
rename(Table origin,
String name) |
boolean |
rename(Tag origin,
String name) |
boolean |
rename(Trigger origin,
String name) |
boolean |
rename(View origin,
String name) |
boolean |
save(Column column)
修改列 名称 数据类型 位置 默认值
执行save前先调用column.update()设置修改后的属性
column.update().setName().setDefaultValue().setAfter()....
|
boolean |
save(MasterTable table) |
boolean |
save(PartitionTable table) |
boolean |
save(Table table) |
boolean |
save(Tag tag) |
boolean |
save(View view) |
boolean save(MasterTable table) throws Exception
Exceptionboolean create(MasterTable table) throws Exception
Exceptionboolean alter(MasterTable table) throws Exception
Exceptionboolean drop(MasterTable table) throws Exception
Exceptionboolean rename(MasterTable origin, String name) throws Exception
Exceptionboolean save(PartitionTable table) throws Exception
Exceptionboolean create(PartitionTable table) throws Exception
Exceptionboolean alter(PartitionTable table) throws Exception
Exceptionboolean drop(PartitionTable table) throws Exception
Exceptionboolean rename(PartitionTable origin, String name) throws Exception
Exceptionboolean save(Column column) throws Exception
column - 列Exception - 异常 SQL异常boolean add(PrimaryKey primary) throws Exception
Exceptionboolean alter(PrimaryKey primary) throws Exception
Exceptionboolean drop(PrimaryKey primary) throws Exception
Exceptionboolean rename(PrimaryKey origin, String name) throws Exception
Exceptionboolean add(ForeignKey foreign) throws Exception
Exceptionboolean alter(ForeignKey foreign) throws Exception
Exceptionboolean drop(ForeignKey foreign) throws Exception
Exceptionboolean rename(ForeignKey origin, String name) throws Exception
Exceptionboolean add(Constraint constraint) throws Exception
constraint - 约束Exception - 异常 Exceptionboolean alter(Constraint constraint) throws Exception
Exceptionboolean drop(Constraint constraint) throws Exception
Exceptionboolean rename(Constraint origin, String name) throws Exception
Exceptionboolean create(Trigger trigger) throws Exception
trigger - 触发器Exception - 异常 Exceptionboolean create(Procedure procedure) throws Exception
procedure - 存储过程Exception - 异常 Exceptionboolean create(Function function) throws Exception
function - 函数Exception - 异常 Exceptionboolean create(Sequence sequence) throws Exception
sequence - 序列Exception - 异常 ExceptionCopyright © 2024. All rights reserved.