public static interface ServiceProxy.DDLService
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
add(Column column) |
static boolean |
add(Constraint constraint)
修改约束
|
static boolean |
add(Index index) |
static boolean |
add(Tag tag) |
static boolean |
alter(Column column) |
static boolean |
alter(Constraint constraint) |
static boolean |
alter(Index index) |
static boolean |
alter(MasterTable table) |
static boolean |
alter(PartitionTable table) |
static boolean |
alter(Table table) |
static boolean |
alter(Tag tag) |
static boolean |
create(MasterTable table) |
static boolean |
create(PartitionTable table) |
static boolean |
create(Table table) |
static boolean |
drop(Column column) |
static boolean |
drop(Constraint constraint) |
static boolean |
drop(Index index) |
static boolean |
drop(MasterTable table) |
static boolean |
drop(PartitionTable table) |
static boolean |
drop(Table table) |
static boolean |
drop(Tag tag) |
static boolean |
save(Column column)
修改列 名称 数据类型 位置 默认值
执行save前先调用column.update()设置修改后的属性
column.update().setName().setDefaultValue().setAfter()....
|
static boolean |
save(MasterTable table) |
static boolean |
save(PartitionTable table) |
static boolean |
save(Table table) |
static boolean |
save(Tag tag) |
static boolean save(MasterTable table) throws Exception
Exceptionstatic boolean create(MasterTable table) throws Exception
Exceptionstatic boolean alter(MasterTable table) throws Exception
Exceptionstatic boolean drop(MasterTable table) throws Exception
Exceptionstatic boolean save(PartitionTable table) throws Exception
Exceptionstatic boolean create(PartitionTable table) throws Exception
Exceptionstatic boolean alter(PartitionTable table) throws Exception
Exceptionstatic boolean drop(PartitionTable table) throws Exception
Exceptionstatic boolean save(Column column) throws Exception
column - 列Exception - 异常 SQL异常static boolean add(Constraint constraint) throws Exception
constraint - 约束Exception - 异常 Exceptionstatic boolean alter(Constraint constraint) throws Exception
Exceptionstatic boolean drop(Constraint constraint) throws Exception
ExceptionCopyright © 2022. All rights reserved.