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