public static interface AnylineService.DDLService
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
add(Column column) |
boolean |
add(Constraint constraint)
修改约束
|
boolean |
add(Index index) |
boolean |
add(Tag tag) |
boolean |
alter(Column column) |
boolean |
alter(Constraint constraint) |
boolean |
alter(Index index) |
boolean |
alter(MasterTable table) |
boolean |
alter(PartitionTable table) |
boolean |
alter(Table table) |
boolean |
alter(Tag tag) |
boolean |
create(MasterTable table) |
boolean |
create(PartitionTable table) |
boolean |
create(Table table) |
boolean |
drop(Column column) |
boolean |
drop(Constraint constraint) |
boolean |
drop(Index index) |
boolean |
drop(MasterTable table) |
boolean |
drop(PartitionTable table) |
boolean |
drop(Table table) |
boolean |
drop(Tag tag) |
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(MasterTable table) throws Exception
Exceptionboolean create(MasterTable table) throws Exception
Exceptionboolean alter(MasterTable table) throws Exception
Exceptionboolean drop(MasterTable table) 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 save(Column column) throws Exception
column - 列Exception - 异常 SQL异常boolean add(Constraint constraint) throws Exception
constraint - 约束Exception - 异常 Exceptionboolean alter(Constraint constraint) throws Exception
Exceptionboolean drop(Constraint constraint) throws Exception
ExceptionCopyright © 2023. All rights reserved.