@Primary @Repository(value="anyline.dao") public class DefaultDao<E> extends Object implements AnylineDao<E>
| 限定符和类型 | 字段和说明 |
|---|---|
protected static DDListener |
ddListener |
protected static DMListener |
dmListener |
protected static boolean |
isBatchInsertRun |
protected static org.slf4j.Logger |
log |
protected DataRuntime |
runtime |
| 构造器和说明 |
|---|
DefaultDao() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
add(Column meta) |
boolean |
add(Constraint meta) |
boolean |
add(ForeignKey meta) |
boolean |
add(Index meta) |
boolean |
add(PrimaryKey meta) |
boolean |
add(Tag meta) |
boolean |
add(Trigger meta)
触发器
|
boolean |
alter(Column column) |
boolean |
alter(Constraint meta) |
boolean |
alter(ForeignKey meta) |
boolean |
alter(Function meta) |
boolean |
alter(Index meta) |
boolean |
alter(MasterTable table) |
boolean |
alter(PartitionTable table) |
boolean |
alter(PrimaryKey primary) |
boolean |
alter(Procedure meta) |
boolean |
alter(Table table) |
boolean |
alter(Table table,
Column column) |
boolean |
alter(Table table,
Constraint meta) |
boolean |
alter(Table table,
ForeignKey meta) |
boolean |
alter(Table table,
Index index) |
boolean |
alter(Table table,
PrimaryKey meta) |
boolean |
alter(Table table,
Tag tag) |
boolean |
alter(Tag tag) |
boolean |
alter(Trigger meta) |
boolean |
alter(View meta) |
protected <T> void |
checkMany2ManyDependencyQuery(DataRuntime runtime,
String random,
EntitySet<T> set,
int dependency) |
protected <T> void |
checkOne2ManyDependencyQuery(DataRuntime runtime,
String random,
EntitySet<T> set,
int dependency) |
void |
checkSchema(DataRuntime runtime,
Column column) |
void |
checkSchema(DataRuntime runtime,
Constraint constraint) |
void |
checkSchema(DataRuntime runtime,
Function function) |
void |
checkSchema(DataRuntime runtime,
Index index) |
void |
checkSchema(DataRuntime runtime,
Procedure procedure) |
void |
checkSchema(DataRuntime runtime,
Table table) |
void |
checkSchema(DataRuntime runtime,
Trigger trigger) |
<T extends Column> |
columns(DataRuntime runtime,
String random,
boolean recover,
boolean greedy,
Table table,
boolean primary)
查询表结构
|
<T extends Constraint> |
constraints(DataRuntime runtime,
String random,
boolean recover,
boolean greedy,
Table table,
String name) |
long |
count(DataRuntime runtime,
String random,
boolean recover,
RunPrepare prepare,
ConfigStore configs,
String... conditions)
统计总行数
|
boolean |
create(Function meta)
函数
|
boolean |
create(MasterTable meta) |
boolean |
create(PartitionTable meta) |
boolean |
create(Procedure meta)
触发器
|
boolean |
create(Table meta) |
boolean |
create(View meta) |
Database |
database(DataRuntime runtime,
String random,
boolean recover,
String name) |
LinkedHashMap<String,Database> |
databases(DataRuntime runtime,
String random,
boolean recover) |
List<String> |
ddl(DataRuntime runtime,
String random,
boolean recover,
Function function)
查询 Function 创建SQL
|
List<String> |
ddl(DataRuntime runtime,
String random,
boolean recover,
MasterTable table)
查询MasterTable创建SQL
|
List<String> |
ddl(DataRuntime runtime,
String random,
boolean recover,
PartitionTable table)
查询 PartitionTable 创建SQL
|
List<String> |
ddl(DataRuntime runtime,
String random,
boolean recover,
Procedure procedure)
查询 Procedure 创建SQL
|
List<String> |
ddl(DataRuntime runtime,
String random,
boolean recover,
Table table,
boolean init)
查询表的创建SQL
|
List<String> |
ddl(DataRuntime runtime,
String random,
boolean recover,
View view)
查询view的创建SQL
|
long |
delete(DataRuntime runtime,
String random,
boolean recover,
String table,
ConfigStore configs,
String... conditions) |
long |
delete(DataRuntime runtime,
String random,
boolean recover,
String dest,
Object obj,
String... columns) |
<T> long |
deletes(DataRuntime runtime,
String random,
boolean recover,
int batch,
String table,
String key,
Collection<T> values)
删除多行
|
boolean |
drop(Column meta) |
boolean |
drop(Constraint meta) |
boolean |
drop(ForeignKey meta) |
boolean |
drop(Function meta) |
boolean |
drop(Index meta) |
boolean |
drop(MasterTable meta) |
boolean |
drop(PartitionTable meta) |
boolean |
drop(PrimaryKey meta) |
boolean |
drop(Procedure meta) |
boolean |
drop(Table meta) |
boolean |
drop(Tag meta) |
boolean |
drop(Trigger meta) |
boolean |
drop(View meta) |
boolean |
execute(DataRuntime runtime,
String random,
ACTION.DDL action,
List<Run> runs) |
boolean |
execute(DataRuntime runtime,
String random,
ACTION.DDL action,
Run run) |
long |
execute(DataRuntime runtime,
String random,
boolean recover,
int batch,
String sql,
List<Object> values) |
boolean |
execute(DataRuntime runtime,
String random,
boolean recover,
Procedure procedure)
执行存储过程
|
long |
execute(DataRuntime runtime,
String random,
boolean recover,
RunPrepare prepare,
ConfigStore configs,
String... conditions)
执行
|
boolean |
exists(DataRuntime runtime,
String random,
boolean recover,
RunPrepare prepare,
ConfigStore configs,
String... conditions)
检测是否存在
|
<T extends ForeignKey> |
foreigns(DataRuntime runtime,
String random,
boolean recover,
boolean greedy,
Table table) |
<T extends Function> |
functions(DataRuntime runtime,
String random,
boolean recover,
boolean greedy,
String catalog,
String schema,
String name) |
DMListener |
getListener() |
DataRuntime |
getRuntime() |
<T extends Index> |
indexs(DataRuntime runtime,
String random,
boolean recover,
boolean greedy,
Table table,
String name)
索引
|
long |
insert(DataRuntime runtime,
String random,
boolean recover,
int batch,
String dest,
Object data,
boolean checkPrimary,
List<String> columns)
添加
|
boolean |
isFix()
是否固定数据源
|
List<Map<String,Object>> |
maps(DataRuntime runtime,
String random,
boolean recover,
RunPrepare prepare,
ConfigStore configs,
String... conditions)
查询map列表
|
<T extends MasterTable> |
mtables(DataRuntime runtime,
String random,
boolean recover,
boolean greedy,
String catalog,
String schema,
String pattern,
String types) |
PrimaryKey |
primary(DataRuntime runtime,
String random,
boolean recover,
boolean greedy,
Table table)
索引
|
<T extends Procedure> |
procedures(DataRuntime runtime,
String random,
boolean recover,
boolean greedy,
String catalog,
String schema,
String name) |
<T extends PartitionTable> |
ptables(DataRuntime runtime,
String random,
boolean recover,
boolean greedy,
MasterTable master,
Map<String,Object> tags,
String name) |
DataSet |
querys(DataRuntime runtime,
String random,
boolean recover,
Procedure procedure,
PageNavi navi)
根据存储过程查询(MSSQL AS 后必须加 SET NOCOUNT ON)
|
DataSet |
querys(DataRuntime runtime,
String random,
boolean recover,
RunPrepare prepare,
ConfigStore configs,
String... conditions)
查询
注意:如果设置了自动还原,querys会自动还原数据源(dao内部执行过程中不要调用除非是一些重载),而select不会 |
boolean |
rename(Column origin,
String name) |
boolean |
rename(Constraint origin,
String name) |
boolean |
rename(DataRuntime runtime,
MasterTable origin,
String name) |
protected boolean |
rename(DataRuntime runtime,
String random,
PartitionTable origin,
String name) |
protected boolean |
rename(DataRuntime runtime,
String random,
Table origin,
String name) |
protected boolean |
rename(DataRuntime runtime,
View 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(Table origin,
String name)
重命名
|
boolean |
rename(Tag origin,
String name) |
boolean |
rename(Trigger origin,
String name) |
boolean |
rename(View origin,
String name) |
DataRuntime |
runtime() |
long |
save(DataRuntime runtime,
String random,
boolean recover,
int batch,
String dest,
Object data,
boolean checkPrimary,
List<String> columns)
保存(insert|upate)
|
protected DataSet |
select(DataRuntime runtime,
String random,
boolean recover,
boolean system,
String table,
ConfigStore configs,
Run run)
查询
|
<T> EntitySet<T> |
selects(DataRuntime runtime,
String random,
boolean recover,
RunPrepare prepare,
Class<T> clazz,
ConfigStore configs,
String... conditions)
查询
注意:如果设置了自动还原,querys会自动还原数据源(dao内部执行过程中不要调用除非是一些重载),而select不会 |
DataRow |
sequence(DataRuntime runtime,
String random,
boolean recover,
boolean next,
String... names)
查询序列值
|
void |
setDDListener(DDListener listener) |
void |
setDMListener(DMListener listener) |
void |
setRuntime(DataRuntime runtime) |
<T extends Table> |
tables(DataRuntime runtime,
String random,
boolean recover,
boolean greedy,
String catalog,
String schema,
String pattern,
String types)
tables
|
<T extends Table> |
tables(DataRuntime runtime,
String random,
boolean recover,
String catalog,
String schema,
String pattern,
String types) |
<T extends Tag> |
tags(DataRuntime runtime,
String random,
boolean recover,
boolean greedy,
Table table) |
<T extends Trigger> |
triggers(DataRuntime runtime,
String random,
boolean recover,
boolean greedy,
Table table,
List<Trigger.EVENT> events) |
int |
truncate(DataRuntime runtime,
String random,
boolean recover,
String table) |
long |
update(DataRuntime runtime,
String random,
boolean recover,
int batch,
String dest,
Object data,
ConfigStore configs,
List<String> columns)
更新
|
<T extends View> |
views(DataRuntime runtime,
String random,
boolean recover,
boolean greedy,
String catalog,
String schema,
String pattern,
String types)
views
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcolumns, columns, columns, columns, columns, columns, constraints, constraints, constraints, constraints, constraints, constraints, constraints, constraints, constraints, constraints, count, database, databases, ddl, ddl, ddl, ddl, ddl, ddl, delete, delete, deletes, deletes, execute, execute, execute, execute, exists, foreigns, functions, indexs, indexs, indexs, indexs, indexs, indexs, indexs, indexs, indexs, indexs, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, maps, mtables, mtables, mtables, mtables, mtables, mtables, mtables, mtables, mtables, mtables, primary, primary, primary, primary, primary, primary, procedures, ptables, ptables, ptables, ptables, ptables, ptables, ptables, ptables, ptables, ptables, ptables, ptables, ptables, ptables, querys, querys, save, save, save, save, save, save, save, save, save, save, save, selects, sequence, tables, tables, tables, tables, tables, tables, tables, tables, tables, tables, tags, tags, tags, tags, tags, tags, triggers, truncate, update, update, update, update, update, update, update, update, update, update, update, update, update, update, update, views, views, views, views, views, views, views, views, views, viewsprotected static final org.slf4j.Logger log
protected static DMListener dmListener
protected static DDListener ddListener
protected static boolean isBatchInsertRun
protected DataRuntime runtime
public DataRuntime runtime()
runtime 在接口中 AnylineDao<E>public boolean isFix()
public DMListener getListener()
@Autowired(required=false) public void setDMListener(DMListener listener)
@Autowired(required=false) public void setDDListener(DDListener listener)
public DataRuntime getRuntime()
public void setRuntime(DataRuntime runtime)
setRuntime 在接口中 AnylineDao<E>public List<Map<String,Object>> maps(DataRuntime runtime, String random, boolean recover, RunPrepare prepare, ConfigStore configs, String... conditions)
maps 在接口中 AnylineDao<E>runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令recover - 执行完后是否还原回执行前数据源prepare - 构建最终执行命令的全部参数,包含表(或视图|函数|自定义SQL)查询条件 排序 分页等configs - 过滤条件及相关配置conditions - 简单过滤条件public DataSet querys(DataRuntime runtime, String random, boolean recover, RunPrepare prepare, ConfigStore configs, String... conditions)
querys 在接口中 AnylineDao<E>prepare - 构建最终执行命令的全部参数,包含表(或视图|函数|自定义SQL)查询条件 排序 分页等configs - 过滤条件及相关配置conditions - 简单过滤条件runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令recover - 执行完后是否还原回执行前数据源public <T> EntitySet<T> selects(DataRuntime runtime, String random, boolean recover, RunPrepare prepare, Class<T> clazz, ConfigStore configs, String... conditions)
selects 在接口中 AnylineDao<E>prepare - 构建最终执行命令的全部参数,包含表(或视图|函数|自定义SQL)查询条件 排序 分页等configs - 过滤条件及相关配置conditions - 简单过滤条件runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令recover - 执行完后是否还原回执行前数据源public DataRow sequence(DataRuntime runtime, String random, boolean recover, boolean next, String... names)
sequence 在接口中 AnylineDao<E>runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令recover - 执行完后是否还原回执行前数据源next - 是否生成返回下一个序列 false:cur true:nextnames - 可以是多个序列public long count(DataRuntime runtime, String random, boolean recover, RunPrepare prepare, ConfigStore configs, String... conditions)
count 在接口中 AnylineDao<E>runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令recover - 执行完后是否还原回执行前数据源prepare - 构建最终执行命令的全部参数,包含表(或视图|函数|自定义SQL)查询条件 排序 分页等configs - 过滤条件及相关配置conditions - 简单过滤条件public boolean exists(DataRuntime runtime, String random, boolean recover, RunPrepare prepare, ConfigStore configs, String... conditions)
exists 在接口中 AnylineDao<E>runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令recover - 执行完后是否还原回执行前数据源prepare - 构建最终执行命令的全部参数,包含表(或视图|函数|自定义SQL)查询条件 排序 分页等configs - 过滤条件及相关配置conditions - 简单过滤条件public long update(DataRuntime runtime, String random, boolean recover, int batch, String dest, Object data, ConfigStore configs, List<String> columns)
update 在接口中 AnylineDao<E>runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令recover - 执行完后是否还原回执行前数据源dest - 需要更新的表,如果没有提供则根据data解析data - 需要更新的数据configs - 更新条件 如果没提供则根据data主键columns - 需要更新的列 如果没有提供则解析data解析protected <T> void checkMany2ManyDependencyQuery(DataRuntime runtime, String random, EntitySet<T> set, int dependency)
protected <T> void checkOne2ManyDependencyQuery(DataRuntime runtime, String random, EntitySet<T> set, int dependency)
public long save(DataRuntime runtime, String random, boolean recover, int batch, String dest, Object data, boolean checkPrimary, List<String> columns)
save 在接口中 AnylineDao<E>runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令recover - 执行完后是否还原回执行前数据源dest - 表data - datacheckPrimary - 是否需要检查重复主键,默认不检查columns - columnspublic long insert(DataRuntime runtime, String random, boolean recover, int batch, String dest, Object data, boolean checkPrimary, List<String> columns)
insert 在接口中 AnylineDao<E>runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令recover - 执行完后是否还原回执行前数据源dest - 表data - 需要插入的数据checkPrimary - 是否需要检查重复主键,默认不检查columns - 需要插入的列protected DataSet select(DataRuntime runtime, String random, boolean recover, boolean system, String table, ConfigStore configs, Run run)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令recover - 执行完后是否还原回执行前数据源table - 查询表结构时使用system - 系统表不查询表结构run - 最终待执行的命令和参数(如果是JDBC环境就是SQL)public long execute(DataRuntime runtime, String random, boolean recover, RunPrepare prepare, ConfigStore configs, String... conditions)
execute 在接口中 AnylineDao<E>runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令recover - 执行完后是否还原回执行前数据源prepare - 构建最终执行命令的全部参数,包含表(或视图|函数|自定义SQL)查询条件 排序 分页等configs - configsconditions - conditionspublic long execute(DataRuntime runtime, String random, boolean recover, int batch, String sql, List<Object> values)
execute 在接口中 AnylineDao<E>public boolean execute(DataRuntime runtime, String random, boolean recover, Procedure procedure)
execute 在接口中 AnylineDao<E>runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令recover - 执行完后是否还原回执行前数据源procedure - 存储过程public DataSet querys(DataRuntime runtime, String random, boolean recover, Procedure procedure, PageNavi navi)
querys 在接口中 AnylineDao<E>procedure - procedurenavi - navipublic <T> long deletes(DataRuntime runtime, String random, boolean recover, int batch, String table, String key, Collection<T> values)
AnylineDaodeletes 在接口中 AnylineDao<E>T - runtime - 运行环境主要包含驱动适配器 数据源或客户端random - recover - table - 表key - 列values - 值集合public long delete(DataRuntime runtime, String random, boolean recover, String dest, Object obj, String... columns)
delete 在接口中 AnylineDao<E>public long delete(DataRuntime runtime, String random, boolean recover, String table, ConfigStore configs, String... conditions)
delete 在接口中 AnylineDao<E>public int truncate(DataRuntime runtime, String random, boolean recover, String table)
truncate 在接口中 AnylineDao<E>public LinkedHashMap<String,Database> databases(DataRuntime runtime, String random, boolean recover)
databases 在接口中 AnylineDao<E>public Database database(DataRuntime runtime, String random, boolean recover, String name)
database 在接口中 AnylineDao<E>public <T extends Table> List<T> tables(DataRuntime runtime, String random, boolean recover, boolean greedy, String catalog, String schema, String pattern, String types)
tables 在接口中 AnylineDao<E>greedy - 贪婪模式 true:如果不填写catalog或schema则查询全部 false:只在当前catalog和schema中查询catalog - 对于MySQL,则对应相应的数据库,对于Oracle来说,则是对应相应的数据库实例,可以不填,也可以直接使用Connection的实例对象中的getCatalog()方法返回的值填充;schema - 可以理解为数据库的登录名,而对于Oracle也可以理解成对该数据库操作的所有者的登录名。对于Oracle要特别注意,其登陆名必须是大写,不然的话是无法获取到相应的数据,而MySQL则不做强制要求。pattern - 一般情况下如果要获取所有的表的话,可以直接设置为null,如果设置为特定的表名称,则返回该表的具体信息。types - 以逗号分隔 "TABLE"、"VIEW"、"SYSTEM TABLE"、"GLOBAL TEMPORARY"、"LOCAL TEMPORARY"、"ALIAS" 和 "SYNONYM"public <T extends Table> LinkedHashMap<String,T> tables(DataRuntime runtime, String random, boolean recover, String catalog, String schema, String pattern, String types)
tables 在接口中 AnylineDao<E>public List<String> ddl(DataRuntime runtime, String random, boolean recover, Table table, boolean init)
ddl 在接口中 AnylineDao<E>table - tableinit - 是否还原初始状态(如自增ID)public <T extends View> LinkedHashMap<String,T> views(DataRuntime runtime, String random, boolean recover, boolean greedy, String catalog, String schema, String pattern, String types)
views 在接口中 AnylineDao<E>greedy - 贪婪模式 true:如果不填写catalog或schema则查询全部 false:只在当前catalog和schema中查询catalog - 对于MySQL,则对应相应的数据库,对于Oracle来说,则是对应相应的数据库实例,可以不填,也可以直接使用Connection的实例对象中的getCatalog()方法返回的值填充;schema - 可以理解为数据库的登录名,而对于Oracle也可以理解成对该数据库操作的所有者的登录名。对于Oracle要特别注意,其登陆名必须是大写,不然的话是无法获取到相应的数据,而MySQL则不做强制要求。pattern - 一般情况下如果要获取所有的表的话,可以直接设置为null,如果设置为特定的表名称,则返回该表的具体信息。types - 以逗号分隔 "TABLE"、"VIEW"、"SYSTEM TABLE"、"GLOBAL TEMPORARY"、"LOCAL TEMPORARY"、"ALIAS" 和 "SYNONYM"public List<String> ddl(DataRuntime runtime, String random, boolean recover, View view)
ddl 在接口中 AnylineDao<E>view - viewpublic <T extends MasterTable> LinkedHashMap<String,T> mtables(DataRuntime runtime, String random, boolean recover, boolean greedy, String catalog, String schema, String pattern, String types)
mtables 在接口中 AnylineDao<E>public List<String> ddl(DataRuntime runtime, String random, boolean recover, MasterTable table)
ddl 在接口中 AnylineDao<E>table - MasterTablepublic <T extends PartitionTable> LinkedHashMap<String,T> ptables(DataRuntime runtime, String random, boolean recover, boolean greedy, MasterTable master, Map<String,Object> tags, String name)
ptables 在接口中 AnylineDao<E>public List<String> ddl(DataRuntime runtime, String random, boolean recover, PartitionTable table)
ddl 在接口中 AnylineDao<E>table - PartitionTablepublic <T extends Column> LinkedHashMap<String,T> columns(DataRuntime runtime, String random, boolean recover, boolean greedy, Table table, boolean primary)
AnylineDaocolumns 在接口中 AnylineDao<E>primary - 是否检测列的主键标识public <T extends Tag> LinkedHashMap<String,T> tags(DataRuntime runtime, String random, boolean recover, boolean greedy, Table table)
tags 在接口中 AnylineDao<E>public PrimaryKey primary(DataRuntime runtime, String random, boolean recover, boolean greedy, Table table)
primary 在接口中 AnylineDao<E>table - 表public <T extends ForeignKey> LinkedHashMap<String,T> foreigns(DataRuntime runtime, String random, boolean recover, boolean greedy, Table table)
foreigns 在接口中 AnylineDao<E>public <T extends Index> LinkedHashMap<String,T> indexs(DataRuntime runtime, String random, boolean recover, boolean greedy, Table table, String name)
indexs 在接口中 AnylineDao<E>table - 表name - namepublic <T extends Constraint> LinkedHashMap<String,T> constraints(DataRuntime runtime, String random, boolean recover, boolean greedy, Table table, String name)
constraints 在接口中 AnylineDao<E>public <T extends Trigger> LinkedHashMap<String,T> triggers(DataRuntime runtime, String random, boolean recover, boolean greedy, Table table, List<Trigger.EVENT> events)
triggers 在接口中 AnylineDao<E>public <T extends Procedure> LinkedHashMap<String,T> procedures(DataRuntime runtime, String random, boolean recover, boolean greedy, String catalog, String schema, String name)
procedures 在接口中 AnylineDao<E>public List<String> ddl(DataRuntime runtime, String random, boolean recover, Procedure procedure)
ddl 在接口中 AnylineDao<E>procedure - Procedurepublic <T extends Function> LinkedHashMap<String,T> functions(DataRuntime runtime, String random, boolean recover, boolean greedy, String catalog, String schema, String name)
functions 在接口中 AnylineDao<E>public List<String> ddl(DataRuntime runtime, String random, boolean recover, Function function)
ddl 在接口中 AnylineDao<E>function - Functionpublic boolean create(Table meta) throws Exception
create 在接口中 AnylineDao<E>Exceptionpublic boolean alter(Table table) throws Exception
alter 在接口中 AnylineDao<E>Exceptionpublic boolean rename(Table origin, String name) throws Exception
rename 在接口中 AnylineDao<E>origin - 原表name - 新名称Exception - DDL异常protected boolean rename(DataRuntime runtime, String random, Table origin, String name) throws Exception
Exceptionpublic boolean create(View meta) throws Exception
create 在接口中 AnylineDao<E>Exceptionpublic boolean rename(View origin, String name) throws Exception
rename 在接口中 AnylineDao<E>Exceptionprotected boolean rename(DataRuntime runtime, View origin, String name) throws Exception
Exceptionpublic boolean create(MasterTable meta) throws Exception
create 在接口中 AnylineDao<E>Exceptionpublic boolean alter(MasterTable table) throws Exception
alter 在接口中 AnylineDao<E>Exceptionpublic boolean drop(MasterTable meta) throws Exception
drop 在接口中 AnylineDao<E>Exceptionpublic boolean rename(MasterTable origin, String name) throws Exception
rename 在接口中 AnylineDao<E>Exceptionpublic boolean rename(DataRuntime runtime, MasterTable origin, String name) throws Exception
Exceptionpublic boolean create(PartitionTable meta) throws Exception
create 在接口中 AnylineDao<E>Exceptionpublic boolean alter(PartitionTable table) throws Exception
alter 在接口中 AnylineDao<E>Exceptionpublic boolean drop(PartitionTable meta) throws Exception
drop 在接口中 AnylineDao<E>Exceptionpublic boolean rename(PartitionTable origin, String name) throws Exception
rename 在接口中 AnylineDao<E>Exceptionprotected boolean rename(DataRuntime runtime, String random, PartitionTable origin, String name) throws Exception
Exceptionpublic boolean alter(Table table, Column column) throws Exception
alter 在接口中 AnylineDao<E>Exceptionpublic boolean alter(Column column) throws Exception
alter 在接口中 AnylineDao<E>Exceptionpublic boolean rename(Column origin, String name) throws Exception
rename 在接口中 AnylineDao<E>Exceptionpublic boolean alter(Table table, Tag tag) throws Exception
alter 在接口中 AnylineDao<E>Exceptionpublic boolean rename(Tag origin, String name) throws Exception
rename 在接口中 AnylineDao<E>Exceptionpublic boolean add(PrimaryKey meta) throws Exception
add 在接口中 AnylineDao<E>Exceptionpublic boolean alter(PrimaryKey primary) throws Exception
alter 在接口中 AnylineDao<E>Exceptionpublic boolean alter(Table table, PrimaryKey meta) throws Exception
alter 在接口中 AnylineDao<E>Exceptionpublic boolean drop(PrimaryKey meta) throws Exception
drop 在接口中 AnylineDao<E>Exceptionpublic boolean rename(PrimaryKey origin, String name) throws Exception
rename 在接口中 AnylineDao<E>Exceptionpublic boolean add(ForeignKey meta) throws Exception
add 在接口中 AnylineDao<E>Exceptionpublic boolean alter(ForeignKey meta) throws Exception
alter 在接口中 AnylineDao<E>Exceptionpublic boolean alter(Table table, ForeignKey meta) throws Exception
alter 在接口中 AnylineDao<E>Exceptionpublic boolean drop(ForeignKey meta) throws Exception
drop 在接口中 AnylineDao<E>Exceptionpublic boolean rename(ForeignKey origin, String name) throws Exception
rename 在接口中 AnylineDao<E>Exceptionpublic boolean alter(Table table, Index index) throws Exception
alter 在接口中 AnylineDao<E>Exceptionpublic boolean rename(Index origin, String name) throws Exception
rename 在接口中 AnylineDao<E>Exceptionpublic boolean add(Constraint meta) throws Exception
add 在接口中 AnylineDao<E>Exceptionpublic boolean alter(Constraint meta) throws Exception
alter 在接口中 AnylineDao<E>Exceptionpublic boolean alter(Table table, Constraint meta) throws Exception
alter 在接口中 AnylineDao<E>Exceptionpublic boolean drop(Constraint meta) throws Exception
drop 在接口中 AnylineDao<E>Exceptionpublic boolean rename(Constraint origin, String name) throws Exception
rename 在接口中 AnylineDao<E>Exceptionpublic boolean add(Trigger meta) throws Exception
AnylineDaoadd 在接口中 AnylineDao<E>meta - 触发器Exception - 异常 Exceptionpublic boolean alter(Trigger meta) throws Exception
alter 在接口中 AnylineDao<E>Exceptionpublic boolean rename(Trigger origin, String name) throws Exception
rename 在接口中 AnylineDao<E>Exceptionpublic boolean create(Procedure meta) throws Exception
AnylineDaocreate 在接口中 AnylineDao<E>meta - 存储过程Exception - 异常 Exceptionpublic boolean alter(Procedure meta) throws Exception
alter 在接口中 AnylineDao<E>Exceptionpublic boolean drop(Procedure meta) throws Exception
drop 在接口中 AnylineDao<E>Exceptionpublic boolean rename(Procedure origin, String name) throws Exception
rename 在接口中 AnylineDao<E>Exceptionpublic boolean create(Function meta) throws Exception
AnylineDaocreate 在接口中 AnylineDao<E>meta - 函数Exception - 异常 Exceptionpublic boolean alter(Function meta) throws Exception
alter 在接口中 AnylineDao<E>Exceptionpublic boolean rename(Function origin, String name) throws Exception
rename 在接口中 AnylineDao<E>Exceptionpublic boolean execute(DataRuntime runtime, String random, ACTION.DDL action, Run run)
public boolean execute(DataRuntime runtime, String random, ACTION.DDL action, List<Run> runs)
public void checkSchema(DataRuntime runtime, Table table)
public void checkSchema(DataRuntime runtime, Column column)
public void checkSchema(DataRuntime runtime, Index index)
public void checkSchema(DataRuntime runtime, Constraint constraint)
public void checkSchema(DataRuntime runtime, Trigger trigger)
public void checkSchema(DataRuntime runtime, Procedure procedure)
public void checkSchema(DataRuntime runtime, Function function)
Copyright © 2023. All rights reserved.