public abstract class AbstractDriverAdapter extends Object implements DriverAdapter
DriverAdapter.SQL_BUILD_IN_VALUE| 限定符和类型 | 字段和说明 |
|---|---|
protected LinkedHashMap<String,TypeMetadata> |
alias |
protected DDListener |
ddListener |
protected String |
delimiterFr |
protected String |
delimiterTo |
protected DMListener |
dmListener |
protected PrimaryGenerator |
primaryGenerator |
protected static Map<String,String> |
spells |
protected DriverWorker |
worker |
BR, BR_TAB, log, TAB| 构造器和说明 |
|---|
AbstractDriverAdapter() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
add(DataRuntime runtime,
Column meta)
column[调用入口]
添加列,执行的命令通过meta.ddls()返回 |
boolean |
add(DataRuntime runtime,
Constraint meta)
constraint[调用入口]
添加约束 |
boolean |
add(DataRuntime runtime,
ForeignKey meta)
foreign[调用入口]
添加外键
|
boolean |
add(DataRuntime runtime,
Index meta)
index[调用入口]
添加索引 |
boolean |
add(DataRuntime runtime,
PrimaryKey meta)
primary[调用入口]
添加主键 |
boolean |
add(DataRuntime runtime,
Tag meta)
tag[调用入口]
添加标签 |
boolean |
add(DataRuntime runtime,
Trigger meta)
trigger[调用入口]
添加触发器 |
StringBuilder |
addColumnGuide(DataRuntime runtime,
StringBuilder builder,
Column meta)
column[命令合成-子流程]
添加列引导 alter table sso_user [add column] type_code int |
void |
addRunValue(DataRuntime runtime,
Run run,
Compare compare,
Column column,
Object value)
设置参数值,主要根据数据类型格执行式化,如对象,list,map等插入json列
|
StringBuilder |
aggregation(DataRuntime runtime,
StringBuilder builder,
Column meta)
column[命令合成-子流程]
定义列:聚合类型 |
LinkedHashMap<String,TypeMetadata> |
alias()
数据类型别名
|
protected void |
alias(String key,
TypeMetadata value) |
boolean |
alter(DataRuntime runtime,
Column meta)
column[调用入口]
修改列,执行的命令通过meta.ddls()返回 |
boolean |
alter(DataRuntime runtime,
Constraint meta)
constraint[调用入口]
修改约束 |
boolean |
alter(DataRuntime runtime,
ForeignKey meta)
foreign[调用入口]
修改外键
|
boolean |
alter(DataRuntime runtime,
Function meta)
function[调用入口]
修改函数
|
boolean |
alter(DataRuntime runtime,
Index meta)
index[调用入口]
修改索引 |
boolean |
alter(DataRuntime runtime,
MasterTable meta)
master table[调用入口]
修改主表,执行的命令通过meta.ddls()返回 |
boolean |
alter(DataRuntime runtime,
PartitionTable meta)
partition table[调用入口]
修改分区表,执行的命令通过meta.ddls()返回 |
boolean |
alter(DataRuntime runtime,
PrimaryKey meta)
primary[调用入口]
修改主键 |
boolean |
alter(DataRuntime runtime,
Procedure meta)
procedure[调用入口]
修改存储过程 |
boolean |
alter(DataRuntime runtime,
Sequence meta)
sequence[调用入口]
修改序列
|
boolean |
alter(DataRuntime runtime,
Table meta)
table[调用入口]
修改表,执行的命令通过meta.ddls()返回 |
boolean |
alter(DataRuntime runtime,
Table table,
Column meta,
boolean trigger)
column[调用入口]
修改列,执行的命令通过meta.ddls()返回 |
boolean |
alter(DataRuntime runtime,
Table table,
Constraint meta)
constraint[调用入口]
修改约束 |
boolean |
alter(DataRuntime runtime,
Table table,
ForeignKey meta)
foreign[调用入口]
修改外键
|
boolean |
alter(DataRuntime runtime,
Table table,
Index meta)
index[调用入口]
修改索引 |
boolean |
alter(DataRuntime runtime,
Table table,
PrimaryKey origin,
PrimaryKey meta)
primary[调用入口]
修改Table最后修改主键,注意不要与列上的主键标识重复,如果列上支持标识主键,这里不需要实现 |
boolean |
alter(DataRuntime runtime,
Table table,
Tag meta,
boolean trigger)
tag[调用入口]
修改标签 |
boolean |
alter(DataRuntime runtime,
Tag meta)
tag[调用入口]
修改标签 |
boolean |
alter(DataRuntime runtime,
Trigger meta)
trigger[调用入口]
修改触发器 |
boolean |
alter(DataRuntime runtime,
View meta)
view[调用入口]
修改视图,执行的命令通过meta.ddls()返回 |
String |
alterColumnKeyword(DataRuntime runtime)
column[命令合成-子流程]
修改表的关键字 |
String |
batchInsertSeparator()
insert [命令合成-子流程]
批量插入数据时,多行数据之间分隔符 |
StringBuilder |
body(DataRuntime runtime,
StringBuilder builder,
Table meta)
table[命令合成-子流程]
创建表 body部分包含column index |
List<Run> |
buildAddRun(DataRuntime runtime,
Column meta,
boolean slice)
column[命令合成]
添加列 |
List<Run> |
buildAddRun(DataRuntime runtime,
Constraint meta)
constraint[命令合成]
添加约束 |
List<Run> |
buildAddRun(DataRuntime runtime,
ForeignKey meta)
foreign[命令合成]
添加外键 |
List<Run> |
buildAddRun(DataRuntime runtime,
Index meta)
index[命令合成]
添加索引 |
List<Run> |
buildAddRun(DataRuntime runtime,
PrimaryKey meta,
boolean slice)
primary[命令合成]
添加主键 |
List<Run> |
buildAddRun(DataRuntime runtime,
Tag meta,
boolean slice)
tag[命令合成]
添加标签 |
List<Run> |
buildAlterRun(DataRuntime runtime,
Column meta,
boolean slice)
column[命令合成]
修改列 有可能生成多条SQL |
List<Run> |
buildAlterRun(DataRuntime runtime,
Constraint meta)
constraint[命令合成]
修改约束 有可能生成多条SQL |
List<Run> |
buildAlterRun(DataRuntime runtime,
ForeignKey meta)
添加外键
|
List<Run> |
buildAlterRun(DataRuntime runtime,
Function meta)
function[命令合成]
修改函数 有可能生成多条SQL |
List<Run> |
buildAlterRun(DataRuntime runtime,
Index meta)
index[命令合成]
修改索引 有可能生成多条SQL |
List<Run> |
buildAlterRun(DataRuntime runtime,
MasterTable meta)
master table[命令合成-子流程]
修改主表 |
List<Run> |
buildAlterRun(DataRuntime runtime,
PartitionTable meta)
partition table[命令合成]
修改分区表 |
List<Run> |
buildAlterRun(DataRuntime runtime,
PrimaryKey origin,
PrimaryKey meta,
boolean slice)
primary[命令合成]
修改主键 有可能生成多条SQL |
List<Run> |
buildAlterRun(DataRuntime runtime,
Procedure meta)
procedure[命令合成]
修改存储过程 有可能生成多条SQL |
List<Run> |
buildAlterRun(DataRuntime runtime,
Sequence meta)
sequence[命令合成]
修改序列 有可能生成多条SQL |
List<Run> |
buildAlterRun(DataRuntime runtime,
Table meta)
table[命令合成]
修改表 |
List<Run> |
buildAlterRun(DataRuntime runtime,
Table meta,
Collection<Column> columns,
boolean slice)
table[命令合成]
修改列 有可能生成多条SQL,根据数据库类型优先合并成一条执行 |
List<Run> |
buildAlterRun(DataRuntime runtime,
Tag meta,
boolean slice)
tag[命令合成]
修改标签 有可能生成多条SQL |
List<Run> |
buildAlterRun(DataRuntime runtime,
Trigger meta)
trigger[命令合成]
修改触发器 有可能生成多条SQL |
List<Run> |
buildAlterRun(DataRuntime runtime,
View meta)
view[命令合成]
修改视图 |
List<Run> |
buildAppendColumnCommentRun(DataRuntime runtime,
Table meta)
table[命令合成-子流程]
创建表完成后追加列备注,创建过程能添加备注的不需要实现与comment(DataRuntime runtime, StringBuilder builder, Column meta)二选一实现 |
List<Run> |
buildAppendCommentRun(DataRuntime runtime,
Column meta,
boolean slice)
创建表完成后追加表备注,创建过程能添加备注的不需要实现与comment(DataRuntime runtime, StringBuilder builder, Table meta)二选一实现
|
List<Run> |
buildAppendCommentRun(DataRuntime runtime,
MasterTable meta)
master table[命令合成-子流程]
创建表完成后追加表备注,创建过程能添加备注的不需要实现与comment(DataRuntime runtime, StringBuilder builder, Table meta)二选一实现 |
List<Run> |
buildAppendCommentRun(DataRuntime runtime,
PartitionTable meta)
partition table[命令合成]
创建表完成后追加表备注,创建过程能添加备注的不需要实现与comment(DataRuntime runtime, StringBuilder builder, Table meta)二选一实现 |
List<Run> |
buildAppendCommentRun(DataRuntime runtime,
Table meta)
table[命令合成-子流程]
创建表完成后追加表备注,创建过程能添加备注的不需要实现与comment(DataRuntime runtime, StringBuilder builder, Table meta)二选一实现 |
List<Run> |
buildAppendCommentRun(DataRuntime runtime,
View meta)
view[命令合成-子流程]
添加视图备注(视图创建完成后调用,创建过程能添加备注的不需要实现) |
List<Run> |
buildAppendIndexRun(DataRuntime runtime,
Table meta)
index[命令合成]
创建表过程添加索引,表创建完成后添加索引,于表内索引index(DataRuntime, StringBuilder, Table)二选一 |
List<Run> |
buildChangeCommentRun(DataRuntime runtime,
Column meta,
boolean slice)
column[命令合成-子流程]
修改备注 一般不直接调用,如果需要由buildAlterRun内部统一调用 |
List<Run> |
buildChangeCommentRun(DataRuntime runtime,
MasterTable meta)
master table[命令合成-子流程]
修改主表备注 |
List<Run> |
buildChangeCommentRun(DataRuntime runtime,
PartitionTable meta)
partition table[命令合成-子流程]
修改分区表备注 |
List<Run> |
buildChangeCommentRun(DataRuntime runtime,
Table meta)
table[命令合成-子流程]
修改备注 |
List<Run> |
buildChangeCommentRun(DataRuntime runtime,
Tag meta,
boolean slice)
tag[命令合成]
修改备注 一般不直接调用,如果需要由buildAlterRun内部统一调用 |
List<Run> |
buildChangeCommentRun(DataRuntime runtime,
View meta)
view[命令合成-子流程]
修改备注 |
List<Run> |
buildChangeDefaultRun(DataRuntime runtime,
Column meta,
boolean slice)
column[命令合成-子流程]
修改默认值 一般不直接调用,如果需要由buildAlterRun内部统一调用 |
List<Run> |
buildChangeDefaultRun(DataRuntime runtime,
Tag meta,
boolean slice)
tag[命令合成]
修改默认值 一般不直接调用,如果需要由buildAlterRun内部统一调用 |
List<Run> |
buildChangeNullableRun(DataRuntime runtime,
Column meta,
boolean slice)
column[命令合成-子流程]
修改非空限制 一般不直接调用,如果需要由buildAlterRun内部统一调用 |
List<Run> |
buildChangeNullableRun(DataRuntime runtime,
Tag meta,
boolean slice)
tag[命令合成]
修改非空限制 一般不直接调用,如果需要由buildAlterRun内部统一调用 |
List<Run> |
buildChangeTypeRun(DataRuntime runtime,
Column meta,
boolean slice)
column[命令合成-子流程]
修改数据类型 一般不直接调用,如果需要由buildAlterRun内部统一调用 |
List<Run> |
buildChangeTypeRun(DataRuntime runtime,
Tag meta,
boolean slice)
tag[命令合成]
修改数据类型 一般不直接调用,如果需要由buildAlterRun内部统一调用 |
List<Run> |
buildCreateRun(DataRuntime runtime,
Function meta)
function[命令合成]
添加函数 |
List<Run> |
buildCreateRun(DataRuntime runtime,
MasterTable meta)
master table[命令合成]
创建主表 |
List<Run> |
buildCreateRun(DataRuntime runtime,
PartitionTable meta)
partition table[命令合成]
创建分区表 |
List<Run> |
buildCreateRun(DataRuntime runtime,
Procedure meta)
procedure[命令合成]
添加存储过程 |
List<Run> |
buildCreateRun(DataRuntime runtime,
Sequence meta)
sequence[命令合成]
添加序列 |
List<Run> |
buildCreateRun(DataRuntime runtime,
Table meta)
table[命令合成]
创建表 关于创建主键的几个环节 1.1.定义列时 标识 primary(DataRuntime runtime, StringBuilder builder, Column column) 1.2.定义表时 标识 primary(DataRuntime runtime, StringBuilder builder, Table table) 1.3.定义完表DDL后,单独创建 primary(DataRuntime runtime, PrimaryKey primary)根据三选一情况调用buildCreateRun 2.单独创建 buildCreateRun(DataRuntime runtime, PrimaryKey primary) 其中1.x三选一 不要重复 |
List<Run> |
buildCreateRun(DataRuntime runtime,
Trigger meta)
trigger[命令合成]
添加触发器 |
List<Run> |
buildCreateRun(DataRuntime runtime,
View meta)
view[命令合成]
创建视图 |
StringBuilder |
buildCreateRunHead(DataRuntime runtime,
StringBuilder builder,
View meta)
view[命令合成-子流程]
创建视图头部 |
StringBuilder |
buildCreateRunOption(DataRuntime runtime,
StringBuilder builder,
View meta)
view[命令合成-子流程]
创建视图选项 |
Run |
buildDeleteRun(DataRuntime runtime,
int batch,
Table table,
ConfigStore configs,
String key,
Object values)
delete[命令合成]
合成 where column in (values) |
Run |
buildDeleteRun(DataRuntime runtime,
Table dest,
ConfigStore configs,
Object obj,
String... columns)
delete[命令合成]
合成 where k1 = v1 and k2 = v2 |
Run |
buildDeleteRunFromEntity(DataRuntime runtime,
Table table,
ConfigStore configs,
Object obj,
String... columns)
delete[命令合成-子流程]
合成 where k1 = v1 and k2 = v2 |
Run |
buildDeleteRunFromTable(DataRuntime runtime,
int batch,
Table table,
ConfigStore configs,
String column,
Object values)
delete[命令合成-子流程]
合成 where column in (values) |
List<Run> |
buildDropAutoIncrement(DataRuntime runtime,
Column meta,
boolean slice)
column[命令合成-子流程]
取消自增 |
List<Run> |
buildDropRun(DataRuntime runtime,
Column meta,
boolean slice)
column[命令合成]
删除列 |
List<Run> |
buildDropRun(DataRuntime runtime,
Constraint meta)
constraint[命令合成]
删除约束 |
List<Run> |
buildDropRun(DataRuntime runtime,
ForeignKey meta)
foreign[命令合成]
删除外键 |
List<Run> |
buildDropRun(DataRuntime runtime,
Function meta)
function[命令合成]
删除函数 |
List<Run> |
buildDropRun(DataRuntime runtime,
Index meta)
index[命令合成]
删除索引 |
List<Run> |
buildDropRun(DataRuntime runtime,
MasterTable meta)
master table[命令合成]
删除主表 |
List<Run> |
buildDropRun(DataRuntime runtime,
PartitionTable meta)
partition table[命令合成-]
删除分区表 |
List<Run> |
buildDropRun(DataRuntime runtime,
PrimaryKey meta,
boolean slice)
primary[命令合成]
删除主键 |
List<Run> |
buildDropRun(DataRuntime runtime,
Procedure meta)
procedure[命令合成]
删除存储过程 |
List<Run> |
buildDropRun(DataRuntime runtime,
Sequence meta)
sequence[命令合成]
删除序列 |
List<Run> |
buildDropRun(DataRuntime runtime,
Table meta)
table[命令合成]
删除表 |
List<Run> |
buildDropRun(DataRuntime runtime,
Tag meta,
boolean slice)
tag[命令合成]
删除标签 |
List<Run> |
buildDropRun(DataRuntime runtime,
Trigger meta)
trigger[命令合成]
删除触发器 |
List<Run> |
buildDropRun(DataRuntime runtime,
View meta)
view[命令合成]
删除视图 |
Run |
buildExecuteRun(DataRuntime runtime,
RunPrepare prepare,
ConfigStore configs,
String... conditions)
execute [命令合成]
创建执行SQL |
Run |
buildInsertRun(DataRuntime runtime,
int batch,
Table dest,
Object obj,
ConfigStore configs,
List<String> columns)
insert [命令合成]
填充inset命令内容(创建批量INSERT RunPrepare) |
Run |
buildInsertRun(DataRuntime runtime,
Table dest,
RunPrepare prepare,
ConfigStore configs,
Object obj,
String... conditions)
insert [命令合成]
填充inset命令内容(创建批量INSERT RunPrepare) |
List<Run> |
buildQueryCatalogRun(DataRuntime runtime,
String random)
catalog[命令合成]
查询当前catalog |
List<Run> |
buildQueryCatalogsRun(DataRuntime runtime,
boolean greedy,
String name)
catalog[命令合成]
查询全部catalog |
List<Run> |
buildQueryColumnsRun(DataRuntime runtime,
Catalog catalog,
Schema schema,
Collection<? extends Table> tables,
boolean metadata)
column[命令合成]
(方法1) 查询多个表的列 |
List<Run> |
buildQueryColumnsRun(DataRuntime runtime,
Table table,
boolean metadata)
column[命令合成]
查询表上的列 |
List<Run> |
buildQueryConstraintsRun(DataRuntime runtime,
Table table,
Column column,
String pattern)
constraint[命令合成]
查询表上的约束 |
List<Run> |
buildQueryDatabaseRun(DataRuntime runtime)
database[命令合成]
查询当前数据库 |
List<Run> |
buildQueryDatabasesRun(DataRuntime runtime,
boolean greedy,
String name)
database[命令合成]
查询全部数据库 |
List<Run> |
buildQueryDdlsRun(DataRuntime runtime,
EdgeTable meta)
edgeTable[命令合成]
查询表DDL |
List<Run> |
buildQueryDdlsRun(DataRuntime runtime,
Function meta)
function[命令合成]
查询函数DDL |
List<Run> |
buildQueryDdlsRun(DataRuntime runtime,
MasterTable masterTable)
masterTable[命令合成]
查询表DDL |
List<Run> |
buildQueryDdlsRun(DataRuntime runtime,
PartitionTable table)
partition table[命令合成]
查询 PartitionTable DDL |
List<Run> |
buildQueryDdlsRun(DataRuntime runtime,
Procedure procedure)
procedure[命令合成]
查询存储DDL |
List<Run> |
buildQueryDdlsRun(DataRuntime runtime,
Sequence meta)
sequence[命令合成]
查询序列DDL |
List<Run> |
buildQueryDdlsRun(DataRuntime runtime,
Table table)
table[命令合成]
查询表DDL |
List<Run> |
buildQueryDdlsRun(DataRuntime runtime,
VertexTable vertexTable)
vertexTable[命令合成]
查询表DDL |
List<Run> |
buildQueryDdlsRun(DataRuntime runtime,
View view)
view[命令合成]
查询视图DDL |
List<Run> |
buildQueryEdgeTablesCommentRun(DataRuntime runtime,
Catalog catalog,
Schema schema,
String pattern,
int types)
edgeTable[命令合成]
查询表备注 |
List<Run> |
buildQueryEdgeTablesRun(DataRuntime runtime,
boolean greedy,
Catalog catalog,
Schema schema,
String pattern,
int types,
ConfigStore configs)
edgeTable[命令合成]
查询表,不是查表中的数据 |
List<Run> |
buildQueryForeignsRun(DataRuntime runtime,
Table table)
foreign[命令合成]
查询表上的外键 |
List<Run> |
buildQueryFunctionsRun(DataRuntime runtime,
Catalog catalog,
Schema schema,
String pattern)
function[命令合成]
查询表上的 Function |
List<Run> |
buildQueryIndexesRun(DataRuntime runtime,
Collection<? extends Table> tables) |
List<Run> |
buildQueryIndexesRun(DataRuntime runtime,
Table table,
String name)
index[命令合成]
查询表上的索引 |
List<Run> |
buildQueryMasterTablesCommentRun(DataRuntime runtime,
Catalog catalog,
Schema schema,
String pattern,
int types)
masterTable[命令合成]
查询表备注 |
List<Run> |
buildQueryMasterTablesRun(DataRuntime runtime,
boolean greedy,
Catalog catalog,
Schema schema,
String pattern,
int types,
ConfigStore configs)
masterTable[命令合成]
查询表,不是查表中的数据 |
List<Run> |
buildQueryPartitionTablesRun(DataRuntime runtime,
Catalog catalog,
Schema schema,
String pattern,
int types)
partition table[命令合成]
查询分区表 |
List<Run> |
buildQueryPartitionTablesRun(DataRuntime runtime,
Table master)
partition table[命令合成]
根据主表查询分区表 |
List<Run> |
buildQueryPartitionTablesRun(DataRuntime runtime,
Table master,
Map<String,Object> tags)
partition table[命令合成]
根据主表查询分区表 |
List<Run> |
buildQueryPartitionTablesRun(DataRuntime runtime,
Table master,
Map<String,Object> tags,
String name)
partition table[命令合成]
根据主表查询分区表 |
List<Run> |
buildQueryPrimaryRun(DataRuntime runtime,
Table table)
primary[命令合成]
查询表上的主键 |
List<Run> |
buildQueryProceduresRun(DataRuntime runtime,
Catalog catalog,
Schema schema,
String pattern)
procedure[命令合成]
查询表上的 Trigger |
List<Run> |
buildQueryProductRun(DataRuntime runtime)
database[命令合成]
查询当前数据源 数据库产品说明(产品名称+版本号) |
Run |
buildQueryRun(DataRuntime runtime,
RunPrepare prepare,
ConfigStore configs,
String... conditions)
select[命令合成]
最终可执行命令 创建查询SQL |
List<Run> |
buildQuerySchemaRun(DataRuntime runtime,
String random)
schema[命令合成]
查询当前schema |
List<Run> |
buildQuerySchemasRun(DataRuntime runtime,
boolean greedy,
Catalog catalog,
String name)
catalog[命令合成]
查询全部数据库 |
List<Run> |
buildQuerySequence(DataRuntime runtime,
boolean next,
String... names)
查询序列cur 或 next value
|
List<Run> |
buildQuerySequencesRun(DataRuntime runtime,
Catalog catalog,
Schema schema,
String pattern)
sequence[命令合成]
查询表上的 Sequence |
List<Run> |
buildQueryTablesCommentRun(DataRuntime runtime,
Catalog catalog,
Schema schema,
String pattern,
int types)
table[命令合成]
查询表备注 |
List<Run> |
buildQueryTablesRun(DataRuntime runtime,
boolean greedy,
Catalog catalog,
Schema schema,
String pattern,
int types,
ConfigStore configs)
table[命令合成]
查询表,不是查表中的数据 |
List<Run> |
buildQueryTagsRun(DataRuntime runtime,
Table table,
boolean metadata)
tag[命令合成]
查询表上的列 |
List<Run> |
buildQueryTriggersRun(DataRuntime runtime,
Table table,
List<Trigger.EVENT> events)
trigger[命令合成]
查询表上的 Trigger |
List<Run> |
buildQueryVersionRun(DataRuntime runtime)
database[命令合成]
查询当前数据源 数据库版本 版本号比较复杂 不是全数字 |
List<Run> |
buildQueryVertexTablesCommentRun(DataRuntime runtime,
Catalog catalog,
Schema schema,
String pattern,
int types)
vertexTable[命令合成]
查询表备注 |
List<Run> |
buildQueryVertexTablesRun(DataRuntime runtime,
boolean greedy,
Catalog catalog,
Schema schema,
String pattern,
int types,
ConfigStore configs)
vertexTable[命令合成]
查询表,不是查表中的数据 |
List<Run> |
buildQueryViewsCommentRun(DataRuntime runtime,
Catalog catalog,
Schema schema,
String pattern,
int types)
view[命令合成]
查询视图备注 |
List<Run> |
buildQueryViewsRun(DataRuntime runtime,
boolean greedy,
Catalog catalog,
Schema schema,
String pattern,
int types,
ConfigStore configs)
view[命令合成]
查询视图,不是查视图中的数据 |
List<Run> |
buildRenameRun(DataRuntime runtime,
Column meta,
boolean slice)
column[命令合成]
修改列名 一般不直接调用,如果需要由buildAlterRun内部统一调用 |
List<Run> |
buildRenameRun(DataRuntime runtime,
Constraint meta)
constraint[命令合成]
修改约束名 一般不直接调用,如果需要由buildAlterRun内部统一调用 |
List<Run> |
buildRenameRun(DataRuntime runtime,
ForeignKey meta)
foreign[命令合成]
修改外键名 一般不直接调用,如果需要由buildAlterRun内部统一调用 |
List<Run> |
buildRenameRun(DataRuntime runtime,
Function meta)
function[命令合成]
修改函数名 一般不直接调用,如果需要由buildAlterRun内部统一调用 |
List<Run> |
buildRenameRun(DataRuntime runtime,
Index meta)
index[命令合成]
修改索引名 一般不直接调用,如果需要由buildAlterRun内部统一调用 |
List<Run> |
buildRenameRun(DataRuntime runtime,
MasterTable meta)
master table[命令合成-子流程]
主表重命名 |
List<Run> |
buildRenameRun(DataRuntime runtime,
PartitionTable meta)
partition table[命令合成]
分区表重命名 |
List<Run> |
buildRenameRun(DataRuntime runtime,
PrimaryKey meta)
primary[命令合成]
修改主键名 一般不直接调用,如果需要由buildAlterRun内部统一调用 |
List<Run> |
buildRenameRun(DataRuntime runtime,
Procedure meta)
procedure[命令合成]
修改存储过程名 一般不直接调用,如果需要由buildAlterRun内部统一调用 |
List<Run> |
buildRenameRun(DataRuntime runtime,
Sequence meta)
sequence[命令合成]
修改序列名 一般不直接调用,如果需要由buildAlterRun内部统一调用 |
List<Run> |
buildRenameRun(DataRuntime runtime,
Table meta)
table[命令合成]
重命名 子类实现 |
List<Run> |
buildRenameRun(DataRuntime runtime,
Tag meta,
boolean slice)
tag[命令合成]
修改标签名 一般不直接调用,如果需要由buildAlterRun内部统一调用 |
List<Run> |
buildRenameRun(DataRuntime runtime,
Trigger meta)
trigger[命令合成]
修改触发器名 一般不直接调用,如果需要由buildAlterRun内部统一调用 |
List<Run> |
buildRenameRun(DataRuntime runtime,
View meta)
view[命令合成]
重命名 一般不直接调用,如果需要由buildAlterRun内部统一调用 |
List<Run> |
buildTruncateRun(DataRuntime runtime,
Table table)
truncate[命令合成]
|
Run |
buildUpdateRun(DataRuntime runtime,
int batch,
Table dest,
Object obj,
ConfigStore configs,
List<String> columns)
update [命令合成]
|
Run |
buildUpdateRunFromCollection(DataRuntime runtime,
int batch,
Table dest,
Collection list,
ConfigStore configs,
LinkedHashMap<String,Column> columns) |
Run |
buildUpdateRunFromDataRow(DataRuntime runtime,
Table dest,
DataRow row,
ConfigStore configs,
LinkedHashMap<String,Column> columns) |
Run |
buildUpdateRunFromEntity(DataRuntime runtime,
Table dest,
Object obj,
ConfigStore configs,
LinkedHashMap<String,Column> columns) |
Run |
buildUpdateRunLimit(DataRuntime runtime,
Run run) |
Catalog |
catalog(DataRuntime runtime,
boolean create,
Catalog catalog)
catalog[结果集封装]
当前catalog 根据驱动内置接口补充 |
Catalog |
catalog(DataRuntime runtime,
int index,
boolean create,
Catalog catalog,
DataSet set)
catalog[结果集封装]
当前catalog 根据查询结果集 |
Catalog |
catalog(DataRuntime runtime,
String random)
catalog[调用入口]
当前Catalog |
<T extends Catalog> |
catalog(List<T> catalogs,
String name)
根据 name检测catalogs集合中是否存在
|
LinkedHashMap<String,Catalog> |
catalogs(DataRuntime runtime,
boolean create,
LinkedHashMap<String,Catalog> catalogs)
catalog[结果集封装]
根据驱动内置接口补充 catalog |
List<Catalog> |
catalogs(DataRuntime runtime,
boolean create,
List<Catalog> catalogs)
catalog[结果集封装]
根据驱动内置接口补充 catalog |
LinkedHashMap<String,Catalog> |
catalogs(DataRuntime runtime,
int index,
boolean create,
LinkedHashMap<String,Catalog> catalogs,
Catalog catalog,
Schema schema,
DataSet set)
catalog[结果集封装]
根据查询结果集构造 Database |
List<Catalog> |
catalogs(DataRuntime runtime,
int index,
boolean create,
List<Catalog> catalogs,
Catalog catalog,
Schema schema,
DataSet set) |
List<Catalog> |
catalogs(DataRuntime runtime,
String random,
boolean greedy,
String name)
catalog[调用入口]
|
LinkedHashMap<String,Catalog> |
catalogs(DataRuntime runtime,
String random,
String name)
catalog[调用入口]
|
StringBuilder |
charset(DataRuntime runtime,
StringBuilder builder,
Column meta)
column[命令合成-子流程]
列定义:编码 |
StringBuilder |
charset(DataRuntime runtime,
StringBuilder builder,
Table meta)
table[命令合成-子流程]
编码 |
protected List<Run> |
checkAutoIncrement(DataRuntime runtime,
String random,
Table table,
boolean slice)
修改主键前先 根据主键检测自增 如果数据库要求自增必须在主键上时才需要执行
|
protected LinkedHashMap<String,Column> |
checkColumnAction(DataRuntime runtime,
Table meta)
检测列的执行命令,all drop alter等
|
StringBuilder |
checkColumnExists(DataRuntime runtime,
StringBuilder builder,
boolean exists)
column[命令合成-子流程]
列定义:创建或删除列之前 检测表是否存在 IF NOT EXISTS |
StringBuilder |
checkIndexExists(DataRuntime runtime,
StringBuilder builder,
boolean exists)
table[命令合成-子流程]
创建或删除表之前 检测表是否存在 IF NOT EXISTS |
LinkedHashMap<String,Column> |
checkMetadata(DataRuntime runtime,
Table table,
ConfigStore configs,
LinkedHashMap<String,Column> columns)
过滤掉表结构中不存在的列
|
<T extends Metadata> |
checkName(DataRuntime runtime,
String random,
T meta)
检测name,name中可能包含catalog.schema.name
如果有一项或三项,在父类中解析 如果只有两项,需要根据不同数据库区分出最前一项是catalog还是schema,如果区分不出来的抛出异常 |
protected Boolean |
checkOverride(Object obj) |
void |
checkPrimary(DataRuntime runtime,
Table table)
table[命令合成-子流程]
检测表主键(在没有显式设置主键时根据其他条件判断如自增),同时根据主键对象给相关列设置主键标识 |
protected PrimaryGenerator |
checkPrimaryGenerator(DatabaseType type,
String table) |
protected Map<String,Object> |
checkPv(Object obj) |
StringBuilder |
checkTableExists(DataRuntime runtime,
StringBuilder builder,
boolean exists)
table[命令合成-子流程]
创建或删除表之前 检测表是否存在 IF NOT EXISTS |
StringBuilder |
checkTagExists(DataRuntime runtime,
StringBuilder builder,
boolean exists)
tag[命令合成]
创建或删除标签之前 检测表是否存在 IF NOT EXISTS |
StringBuilder |
checkViewExists(DataRuntime runtime,
StringBuilder builder,
boolean exists)
view[命令合成-子流程]
创建或删除视图之前 检测视图是否存在 IF NOT EXISTS |
ColumnMetadataAdapter |
columnMetadataAdapter(DataRuntime runtime)
column[结构集封装-依据]
读取column元数据结果集的依据 |
ColumnMetadataAdapter |
columnMetadataAdapter(DataRuntime runtime,
TypeMetadata meta)
column[结构集封装-依据]
读取column元数据结果集的依据(需要区分数据类型) |
int |
columnMetadataIgnoreLength(DataRuntime runtime,
TypeMetadata meta)
column[结果集封装]
(方法1) 是否忽略长度 不直接调用 用来覆盖columnMetadataAdapter(DataRuntime runtime, TypeMetadata meta) |
int |
columnMetadataIgnorePrecision(DataRuntime runtime,
TypeMetadata meta)
column[结果集封装]
(方法1) 是否忽略有效位数 不直接调用 用来覆盖columnMetadataAdapter(DataRuntime runtime, TypeMetadata meta) |
int |
columnMetadataIgnoreScale(DataRuntime runtime,
TypeMetadata meta)
column[结果集封装]
(方法1) 是否忽略小数位 不直接调用 用来覆盖columnMetadataAdapter(DataRuntime runtime, TypeMetadata meta) |
String |
columnMetadataLengthRefer(DataRuntime runtime,
TypeMetadata meta)
column[结果集封装]
(方法1) 元数据数字有效位数列 不直接调用 用来覆盖columnMetadataAdapter(DataRuntime runtime, TypeMetadata meta) |
String |
columnMetadataPrecisionRefer(DataRuntime runtime,
TypeMetadata meta)
column[结果集封装]
(方法1) 元数据长度列 不直接调用 用来覆盖columnMetadataAdapter(DataRuntime runtime, TypeMetadata meta) |
String |
columnMetadataScaleRefer(DataRuntime runtime,
TypeMetadata meta)
column[结果集封装]
(方法1) 元数据数字有效位数列 不直接调用 用来覆盖columnMetadataAdapter(DataRuntime runtime, TypeMetadata meta) |
<T extends Column> |
columns(DataRuntime runtime,
boolean create,
LinkedHashMap<String,T> columns,
Table table,
String pattern)
column[调用入口]
DatabaseMetaData(方法3) |
<T extends Column> |
columns(DataRuntime runtime,
int index,
boolean create,
Collection<? extends Table> tables,
List<T> columns,
DataSet set)
column[结果集封装]
(方法1) 根据系统表查询SQL获取表结构 根据查询结果集构造Column,并分配到各自的表中 |
<T extends Column> |
columns(DataRuntime runtime,
int index,
boolean create,
Table table,
LinkedHashMap<String,T> columns,
DataSet set)
column[结果集封装]
(方法1) 根据系统表查询SQL获取表结构 根据查询结果集构造Column |
<T extends Column> |
columns(DataRuntime runtime,
int index,
boolean create,
Table table,
List<T> columns,
DataSet set)
column[结果集封装]
(方法1) 根据系统表查询SQL获取表结构 根据查询结果集构造Column |
<T extends Column> |
columns(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
Collection<? extends Table> tables)
column[调用入口]
(方法1) 查询多个表列,并分配到每个表中,需要保持所有表的catalog,schema相同 |
<T extends Column> |
columns(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
Table table)
column[调用入口]
查询列 |
<T extends Column> |
columns(DataRuntime runtime,
String random,
boolean greedy,
Table table,
boolean primary)
column[调用入口]
查询表结构(多方法合成) |
StringBuilder |
columns(DataRuntime runtime,
StringBuilder builder,
Table table)
table[命令合成-子流程]
创建表 columns部分 |
StringBuilder |
comment(DataRuntime runtime,
StringBuilder builder,
Column meta)
column[命令合成-子流程]
列定义:备注 |
StringBuilder |
comment(DataRuntime runtime,
StringBuilder builder,
Index meta)
index[命令合成-子流程]
索引备注 |
StringBuilder |
comment(DataRuntime runtime,
StringBuilder builder,
Table meta)
table[命令合成-子流程]
备注 创建表的完整DDL拼接COMMENT部分,与buildAppendCommentRun二选一实现 |
StringBuilder |
comment(DataRuntime runtime,
StringBuilder builder,
View meta)
view[命令合成-子流程]
视图备注 |
<T extends Table> |
comments(DataRuntime runtime,
int index,
boolean create,
LinkedHashMap<String,T> tables,
Catalog catalog,
Schema schema,
DataSet set)
table[结果集封装]
表备注 |
<T extends Table> |
comments(DataRuntime runtime,
int index,
boolean create,
List<T> tables,
Catalog catalog,
Schema schema,
DataSet set)
table[结果集封装]
表备注 |
DatabaseType |
compatible()
对应的兼容模式,有些数据库会兼容oracle或pg,需要分别提供两个JDBCAdapter或者直接依赖oracle/pg的adapter
参考DefaultJDBCAdapterUtil定位adapter的方法
|
protected String |
concat(String prefix,
String split,
List<String> columns) |
protected String |
concatEqual(String master,
String data,
String split,
List<String> columns) |
LinkedHashMap<String,Column> |
confirmInsertColumns(DataRuntime runtime,
Table dest,
Object obj,
ConfigStore configs,
List<String> columns,
boolean batch)
insert [命令合成-子流程]
确认需要插入的列 |
LinkedHashMap<String,Column> |
confirmUpdateColumns(DataRuntime runtime,
Table dest,
DataRow row,
ConfigStore configs,
List<String> columns)
update [命令合成-子流程]
确认需要更新的列 |
LinkedHashMap<String,Column> |
confirmUpdateColumns(DataRuntime runtime,
Table dest,
Object obj,
ConfigStore configs,
List<String> columns) |
ConstraintMetadataAdapter |
constraintMetadataAdapter(DataRuntime runtime)
catalog[结构集封装-依据]
读取catalog元数据结果集的依据 |
<T extends Constraint> |
constraints(DataRuntime runtime,
int index,
boolean create,
Table table,
Column column,
LinkedHashMap<String,T> constraints,
DataSet set)
constraint[结果集封装]
根据查询结果集构造Constraint |
<T extends Constraint> |
constraints(DataRuntime runtime,
int index,
boolean create,
Table table,
List<T> constraints,
DataSet set)
constraint[结果集封装]
根据查询结果集构造Constraint |
<T extends Constraint> |
constraints(DataRuntime runtime,
String random,
boolean greedy,
Table table,
String pattern)
constraint[调用入口]
|
<T extends Constraint> |
constraints(DataRuntime runtime,
String random,
Table table,
Column column,
String pattern)
constraint[调用入口]
|
boolean |
convert(DataRuntime runtime,
Catalog catalog,
Schema schema,
String table,
RunValue value)
数据类型转换
子类先解析(有些同名的类型以子类为准)、失败后再调用默认转换
|
Object |
convert(DataRuntime runtime,
Column metadata,
Object value) |
boolean |
convert(DataRuntime runtime,
Column metadata,
RunValue run)
根据数据库列属性 类型转换(一般是在更新数据库时调用)
子类先解析(有些同名的类型以子类为准)、失败后再到这里解析
|
boolean |
convert(DataRuntime runtime,
ConfigStore configs,
Run run) |
boolean |
convert(DataRuntime runtime,
Map<String,Column> columns,
RunValue value)
数据类型转换
|
boolean |
convert(DataRuntime runtime,
Table table,
Run run) |
Object |
convert(DataRuntime runtime,
TypeMetadata columnType,
Object value) |
long |
count(DataRuntime runtime,
String random,
Run run)
count [命令执行]
|
long |
count(DataRuntime runtime,
String random,
RunPrepare prepare,
ConfigStore configs,
String... conditions)
count [调用入口]
|
boolean |
create(DataRuntime runtime,
Function meta)
function[调用入口]
添加函数
|
boolean |
create(DataRuntime runtime,
MasterTable meta)
master table[调用入口]
创建主表,执行的命令通过meta.ddls()返回 |
boolean |
create(DataRuntime runtime,
PartitionTable meta)
partition table[调用入口]
创建分区表,执行的命令通过meta.ddls()返回 |
boolean |
create(DataRuntime runtime,
Procedure meta)
procedure[调用入口]
添加存储过程 |
boolean |
create(DataRuntime runtime,
Sequence meta)
sequence[调用入口]
添加序列
|
boolean |
create(DataRuntime runtime,
Table meta)
table[调用入口]
创建表,执行的命令通过meta.ddls()返回 |
boolean |
create(DataRuntime runtime,
View meta)
view[调用入口]
创建视图,执行的命令通过meta.ddls()返回 |
StringBuilder |
createConditionIn(DataRuntime runtime,
StringBuilder builder,
Compare compare,
Object value,
boolean placeholder)
select[命令合成-子流程]
构造(NOT) IN 查询条件 |
RunValue |
createConditionLike(DataRuntime runtime,
StringBuilder builder,
Compare compare,
Object value,
boolean placeholder)
select[命令合成-子流程]
构造 LIKE 查询条件 如果不需要占位符 返回null 否则原样返回value |
protected Run |
createInsertRun(DataRuntime runtime,
Table dest,
Object obj,
ConfigStore configs,
List<String> columns)
insert [命令合成-子流程]
根据entity创建 INSERT RunPrepare由buildInsertRun调用 |
protected Run |
createInsertRunFromCollection(DataRuntime runtime,
int batch,
Table dest,
Collection list,
ConfigStore configs,
List<String> columns)
insert [命令合成-子流程]
根据collection创建 INSERT RunPrepare由buildInsertRun调用 |
Database |
database(DataRuntime runtime,
boolean create,
Database database)
database[结果集封装]
当前database 根据驱动内置接口补充 |
Database |
database(DataRuntime runtime,
int index,
boolean create,
Database database,
DataSet set)
database[结果集封装]
当前database 根据查询结果集 |
Database |
database(DataRuntime runtime,
String random)
database[调用入口]
当前数据库 |
<T extends Database> |
database(List<T> databases,
String name)
根据 name检测databases集合中是否存在
|
LinkedHashMap<String,Database> |
databases(DataRuntime runtime,
int index,
boolean create,
LinkedHashMap<String,Database> databases,
Catalog catalog,
Schema schema,
DataSet set)
database[结果集封装]
|
List<Database> |
databases(DataRuntime runtime,
int index,
boolean create,
List<Database> databases,
Catalog catalog,
Schema schema,
DataSet set) |
List<Database> |
databases(DataRuntime runtime,
String random,
boolean greedy,
String name)
database[调用入口]
|
LinkedHashMap<String,Database> |
databases(DataRuntime runtime,
String random,
String name)
database[调用入口]
|
List<String> |
ddl(DataRuntime runtime,
int index,
EdgeTable meta,
List<String> ddls,
DataSet set)
edgeTable[结果集封装]
查询表DDL |
List<String> |
ddl(DataRuntime runtime,
int index,
Function function,
List<String> ddls,
DataSet set)
function[结果集封装]
查询 Function DDL |
List<String> |
ddl(DataRuntime runtime,
int index,
MasterTable masterTable,
List<String> ddls,
DataSet set)
masterTable[结果集封装]
查询表DDL |
List<String> |
ddl(DataRuntime runtime,
int index,
PartitionTable table,
List<String> ddls,
DataSet set)
partition table[结果集封装]
查询 MasterTable DDL |
List<String> |
ddl(DataRuntime runtime,
int index,
Procedure procedure,
List<String> ddls,
DataSet set)
procedure[结果集封装]
查询 Procedure DDL |
List<String> |
ddl(DataRuntime runtime,
int index,
Sequence sequence,
List<String> ddls,
DataSet set)
sequence[结果集封装]
查询 Sequence DDL |
List<String> |
ddl(DataRuntime runtime,
int index,
Table table,
List<String> ddls,
DataSet set)
table[结果集封装]
查询表DDL |
List<String> |
ddl(DataRuntime runtime,
int index,
VertexTable vertexTable,
List<String> ddls,
DataSet set)
vertexTable[结果集封装]
查询表DDL |
List<String> |
ddl(DataRuntime runtime,
int index,
View view,
List<String> ddls,
DataSet set)
view[结果集封装]
查询视图DDL |
List<String> |
ddl(DataRuntime runtime,
String random,
EdgeTable meta,
boolean init)
edgeTable[调用入口]
|
List<String> |
ddl(DataRuntime runtime,
String random,
Function meta)
function[调用入口]
|
List<String> |
ddl(DataRuntime runtime,
String random,
MasterTable meta,
boolean init)
masterTable[调用入口]
|
List<String> |
ddl(DataRuntime runtime,
String random,
PartitionTable table)
partition table[调用入口]
|
List<String> |
ddl(DataRuntime runtime,
String random,
Procedure procedure)
procedure[调用入口]
|
List<String> |
ddl(DataRuntime runtime,
String random,
Sequence meta)
sequence[调用入口]
|
List<String> |
ddl(DataRuntime runtime,
String random,
Table table,
boolean init)
table[调用入口]
|
List<String> |
ddl(DataRuntime runtime,
String random,
VertexTable vertexTable,
boolean init)
vertexTable[调用入口]
|
List<String> |
ddl(DataRuntime runtime,
String random,
View view,
boolean init)
view[调用入口]
|
StringBuilder |
defaultValue(DataRuntime runtime,
StringBuilder builder,
Column meta)
column[命令合成-子流程]
列定义:默认值 |
StringBuilder |
define(DataRuntime runtime,
StringBuilder builder,
Column meta,
ACTION.DDL action)
column[命令合成-子流程]
定义列,依次拼接下面几个属性注意不同数据库可能顺序不一样 |
long |
delete(DataRuntime runtime,
String random,
ConfigStore configs,
Run run)
delete[命令执行]
|
long |
delete(DataRuntime runtime,
String random,
Table dest,
ConfigStore configs,
Object obj,
String... columns)
delete [调用入口]
合成 where k1 = v1 and k2 = v2 |
long |
delete(DataRuntime runtime,
String random,
Table table,
ConfigStore configs,
String... conditions)
delete [调用入口]
根据configs和conditions过滤条件 |
<T> long |
deletes(DataRuntime runtime,
String random,
int batch,
Table table,
ConfigStore configs,
String key,
Collection<T> values)
delete [调用入口]
合成 where column in (values) |
StringBuilder |
delimiter(StringBuilder builder,
List<String> list) |
StringBuilder |
delimiter(StringBuilder builder,
String src) |
<T extends Column> |
detail(DataRuntime runtime,
int index,
T meta,
Catalog catalog,
Schema schema,
DataRow row)
column[结果集封装]
(方法1) 列详细属性 |
<T extends Constraint> |
detail(DataRuntime runtime,
int index,
T meta,
Catalog catalog,
Schema schema,
DataRow row)
catalog[结果集封装]
根据查询结果封装Constraint对象,更多属性 |
<T extends Function> |
detail(DataRuntime runtime,
int index,
T meta,
Catalog catalog,
Schema schema,
DataRow row)
function[结果集封装]
根据查询结果封装function对象,更多属性 |
<T extends EdgeTable> |
detail(DataRuntime runtime,
int index,
T meta,
Catalog catalog,
Schema schema,
DataRow row)
edgeTable[结果集封装]
根据查询结果封装EdgeTable对象,更多属性 |
<T extends VertexTable> |
detail(DataRuntime runtime,
int index,
T meta,
Catalog catalog,
Schema schema,
DataRow row)
vertexTable[结果集封装]
根据查询结果封装VertexTable对象,更多属性 |
<T extends MasterTable> |
detail(DataRuntime runtime,
int index,
T meta,
Catalog catalog,
Schema schema,
DataRow row)
masterTable[结果集封装]
根据查询结果封装MasterTable对象,更多属性 |
<T extends PartitionTable> |
detail(DataRuntime runtime,
int index,
T meta,
Catalog catalog,
Schema schema,
DataRow row)
partition table[结果集封装]
根据查询结果封装PartitionTable对象,更多属性 |
<T extends Procedure> |
detail(DataRuntime runtime,
int index,
T meta,
Catalog catalog,
Schema schema,
DataRow row)
procedure[结果集封装]
根据查询结果封装procedure对象,更多属性 |
<T extends Sequence> |
detail(DataRuntime runtime,
int index,
T meta,
Catalog catalog,
Schema schema,
DataRow row)
sequence[结果集封装]
根据查询结果封装sequence对象,更多属性 |
<T extends Table> |
detail(DataRuntime runtime,
int index,
T meta,
Catalog catalog,
Schema schema,
DataRow row)
table[结果集封装]
根据查询结果封装Table对象,更多属性 |
<T extends Tag> |
detail(DataRuntime runtime,
int index,
T meta,
Catalog catalog,
Schema schema,
DataRow row)
tag[结果集封装]
列详细属性 |
<T extends Trigger> |
detail(DataRuntime runtime,
int index,
T meta,
Catalog catalog,
Schema schema,
DataRow row)
trigger[结果集封装]
根据查询结果封装trigger对象,更多属性 |
<T extends View> |
detail(DataRuntime runtime,
int index,
T meta,
Catalog catalog,
Schema schema,
DataRow row)
view[结果集封装]
根据查询结果封装View对象,更多属性 |
<T extends ForeignKey> |
detail(DataRuntime runtime,
int index,
T meta,
Table table,
DataRow row)
foreign[结构集封装]
根据查询结果集构造ForeignKey更多属性 |
<T extends Index> |
detail(DataRuntime runtime,
int index,
T meta,
Table table,
DataRow row)
index[结构集封装]
根据查询结果集构造index更多属性(column,order, position) |
<T extends PrimaryKey> |
detail(DataRuntime runtime,
int index,
T meta,
Table table,
DataSet set)
primary[结构集封装]
根据查询结果集构造PrimaryKey更多属性 |
StringBuilder |
distribution(DataRuntime runtime,
StringBuilder builder,
Table meta)
table[命令合成-子流程]
分桶方式 |
boolean |
drop(DataRuntime runtime,
Column meta)
column[调用入口]
删除列,执行的命令通过meta.ddls()返回 |
boolean |
drop(DataRuntime runtime,
Constraint meta)
constraint[调用入口]
删除约束 |
boolean |
drop(DataRuntime runtime,
ForeignKey meta)
foreign[调用入口]
删除外键
|
boolean |
drop(DataRuntime runtime,
Function meta)
function[调用入口]
删除函数
|
boolean |
drop(DataRuntime runtime,
Index meta)
index[调用入口]
删除索引 |
boolean |
drop(DataRuntime runtime,
MasterTable meta)
master table[调用入口]
删除主表,执行的命令通过meta.ddls()返回 |
boolean |
drop(DataRuntime runtime,
PartitionTable meta)
partition table[调用入口]
删除分区表,执行的命令通过meta.ddls()返回 |
boolean |
drop(DataRuntime runtime,
PrimaryKey meta)
primary[调用入口]
删除主键 |
boolean |
drop(DataRuntime runtime,
Procedure meta)
procedure[调用入口]
删除存储过程 |
boolean |
drop(DataRuntime runtime,
Sequence meta)
sequence[调用入口]
删除序列
|
boolean |
drop(DataRuntime runtime,
Table meta)
table[调用入口]
删除表,执行的命令通过meta.ddls()返回 |
boolean |
drop(DataRuntime runtime,
Tag meta)
tag[调用入口]
删除标签 |
boolean |
drop(DataRuntime runtime,
Trigger meta)
trigger[调用入口]
删除触发器 |
boolean |
drop(DataRuntime runtime,
View meta)
view[调用入口]
删除视图,执行的命令通过meta.ddls()返回 |
StringBuilder |
dropColumnGuide(DataRuntime runtime,
StringBuilder builder,
Column meta)
column[命令合成-子流程]
删除列引导 alter table sso_user [drop column] type_code |
StringBuilder |
each(DataRuntime runtime,
StringBuilder builder,
Trigger meta)
trigger[命令合成-子流程]
触发级别(行或整个命令) |
protected void |
edgeTableMap(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
ConfigStore configs)
edgeTable[结果集封装-子流程]
查出所有key并以大写缓存 用来实现忽略大小写 |
EdgeTableMetadataAdapter |
edgeTableMetadataAdapter(DataRuntime runtime)
edgeTable[结构集封装-依据]
读取edgeTable元数据结果集的依据 |
<T extends EdgeTable> |
edgeTables(DataRuntime runtime,
boolean create,
LinkedHashMap<String,T> edgeTables,
Catalog catalog,
Schema schema,
String pattern,
int types)
edgeTable[结果集封装]
根据驱动内置方法补充 |
<T extends EdgeTable> |
edgeTables(DataRuntime runtime,
boolean create,
List<T> edgeTables,
Catalog catalog,
Schema schema,
String pattern,
int types)
edgeTable[结果集封装]
根据驱动内置方法补充 |
<T extends EdgeTable> |
edgeTables(DataRuntime runtime,
int index,
boolean create,
LinkedHashMap<String,T> edgeTables,
Catalog catalog,
Schema schema,
DataSet set)
edgeTable[结果集封装]
根据查询结果集构造EdgeTable |
<T extends EdgeTable> |
edgeTables(DataRuntime runtime,
int index,
boolean create,
List<T> edgeTables,
Catalog catalog,
Schema schema,
DataSet set)
edgeTable[结果集封装]
根据查询结果集构造EdgeTable |
<T extends EdgeTable> |
edgeTables(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
String pattern,
int types,
int struct,
ConfigStore configs)
edgeTable[调用入口]
|
<T extends EdgeTable> |
edgeTables(DataRuntime runtime,
String random,
Catalog catalog,
Schema schema,
String pattern,
int types,
int struct,
ConfigStore configs) |
StringBuilder |
engine(DataRuntime runtime,
StringBuilder builder,
Table meta)
table[命令合成-子流程]
创建表 engine |
long |
execute(DataRuntime runtime,
String random,
ConfigStore configs,
Run run)
execute [命令执行]
|
long |
execute(DataRuntime runtime,
String random,
int batch,
ConfigStore configs,
RunPrepare prepare,
Collection<Object> values) |
long |
execute(DataRuntime runtime,
String random,
int batch,
int vol,
ConfigStore configs,
RunPrepare prepare,
Collection<Object> values) |
boolean |
execute(DataRuntime runtime,
String random,
Metadata meta,
ACTION.DDL action,
List<Run> runs)
执行命令
|
boolean |
execute(DataRuntime runtime,
String random,
Metadata meta,
ACTION.DDL action,
Run run)
ddl [执行命令]
|
boolean |
execute(DataRuntime runtime,
String random,
Procedure procedure)
procedure [命令执行]
|
long |
execute(DataRuntime runtime,
String random,
RunPrepare prepare,
ConfigStore configs,
String... conditions)
execute [调用入口]
|
boolean |
exists(DataRuntime runtime,
String random,
RunPrepare prepare,
ConfigStore configs,
String... conditions)
exists [调用入口]
|
void |
fillDeleteRunContent(DataRuntime runtime,
Run run)
delete[命令合成-子流程]
构造查询主体 拼接where group等(不含分页 ORDER) |
void |
fillExecuteContent(DataRuntime runtime,
Run run)
execute [命令合成-子流程]
填充 execute 命令内容 |
protected void |
fillExecuteContent(DataRuntime runtime,
TableRun run) |
protected void |
fillExecuteContent(DataRuntime runtime,
TextRun run) |
protected void |
fillExecuteContent(DataRuntime runtime,
XMLRun run) |
void |
fillInsertContent(DataRuntime runtime,
Run run,
Table dest,
Collection list,
ConfigStore configs,
LinkedHashMap<String,Column> columns)
insert [命令合成-子流程]
填充inset命令内容(创建批量INSERT RunPrepare) |
void |
fillInsertContent(DataRuntime runtime,
Run run,
Table dest,
DataSet set,
ConfigStore configs,
LinkedHashMap<String,Column> columns)
insert [命令合成-子流程]
填充inset命令内容(创建批量INSERT RunPrepare) |
void |
fillQueryContent(DataRuntime runtime,
Run run)
select[命令合成-子流程]
构造查询主体 |
void |
fillQueryContent(DataRuntime runtime,
StringBuilder builder,
Run run)
select[命令合成-子流程]
构造查询主体 |
protected void |
fillQueryContent(DataRuntime runtime,
StringBuilder builder,
TableRun run) |
protected void |
fillQueryContent(DataRuntime runtime,
StringBuilder builder,
TextRun run) |
protected void |
fillQueryContent(DataRuntime runtime,
StringBuilder builder,
XMLRun run) |
protected void |
fillQueryContent(DataRuntime runtime,
TableRun run) |
protected void |
fillQueryContent(DataRuntime runtime,
TextRun run) |
protected void |
fillQueryContent(DataRuntime runtime,
XMLRun run) |
<T extends ForeignKey> |
foreigns(DataRuntime runtime,
int index,
Table table,
LinkedHashMap<String,T> foreigns,
DataSet set)
foreign[结构集封装]
根据查询结果集构造PrimaryKey |
<T extends ForeignKey> |
foreigns(DataRuntime runtime,
String random,
boolean greedy,
Table table)
foreign[调用入口]
查询外键 |
FunctionMetadataAdapter |
functionMetadataAdapter(DataRuntime runtime)
function[结构集封装-依据]
读取 function 元数据结果集的依据 |
<T extends Function> |
functions(DataRuntime runtime,
boolean create,
LinkedHashMap<String,T> functions)
function[结果集封装]
根据驱动内置接口补充 Function |
<T extends Function> |
functions(DataRuntime runtime,
boolean create,
List<T> functions)
function[结果集封装]
根据驱动内置接口补充 Function |
<T extends Function> |
functions(DataRuntime runtime,
int index,
boolean create,
LinkedHashMap<String,T> functions,
Catalog catalog,
Schema schema,
DataSet set)
function[结果集封装]
根据查询结果集构造 Function |
<T extends Function> |
functions(DataRuntime runtime,
int index,
boolean create,
List<T> functions,
Catalog catalog,
Schema schema,
DataSet set)
function[结果集封装]
根据查询结果集构造 Function |
<T extends Function> |
functions(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
String pattern)
function[调用入口]
|
<T extends Function> |
functions(DataRuntime runtime,
String random,
Catalog catalog,
Schema schema,
String pattern)
function[调用入口]
|
String |
generatedKey()
insert [after]
执行insert后返回自增主键的key |
DDListener |
getDDListener() |
String |
getDelimiterFr()
界定符(分隔符)
|
String |
getDelimiterTo() |
DMListener |
getDMListener() |
protected DMListener |
getListener() |
PrimaryGenerator |
getPrimaryGenerator() |
DriverWorker |
getWorker() |
int |
ignoreLength(DataRuntime runtime,
TypeMetadata type)
column[命令合成-子流程]
定义列:是否忽略有长度 不直接调用 用来覆盖columnMetadataAdapter(DataRuntime runtime, TypeMetadata meta) |
int |
ignorePrecision(DataRuntime runtime,
TypeMetadata type)
column[命令合成-子流程]
定义列:是否忽略有效位数 不直接调用 用来覆盖columnMetadataAdapter(DataRuntime runtime, TypeMetadata meta) |
int |
ignoreScale(DataRuntime runtime,
TypeMetadata type)
column[命令合成-子流程]
定义列:定义列:是否忽略小数位 不直接调用 用来覆盖columnMetadataAdapter(DataRuntime runtime, TypeMetadata meta) |
StringBuilder |
increment(DataRuntime runtime,
StringBuilder builder,
Column meta)
column[命令合成-子流程]
列定义:递增列,需要通过serial实现递增的在type(DataRuntime runtime, StringBuilder builder, Column meta)中实现 |
<T extends Index> |
indexes(DataRuntime runtime,
boolean create,
LinkedHashMap<String,T> indexes,
Table table,
boolean unique,
boolean approximate)
index[结果集封装]
根据驱动内置接口 |
<T extends Index> |
indexes(DataRuntime runtime,
boolean create,
List<T> indexes,
Table table,
boolean unique,
boolean approximate)
index[结果集封装]
根据驱动内置接口 |
<T extends Index> |
indexes(DataRuntime runtime,
int index,
boolean create,
Collection<? extends Table> tables,
List<T> indexes,
DataSet set) |
<T extends Index> |
indexes(DataRuntime runtime,
int index,
boolean create,
Table table,
LinkedHashMap<String,T> indexes,
DataSet set)
index[结果集封装]
根据查询结果集构造Index |
<T extends Index> |
indexes(DataRuntime runtime,
int index,
boolean create,
Table table,
List<T> indexes,
DataSet set)
index[结果集封装]
根据查询结果集构造Index |
<T extends Index> |
indexes(DataRuntime runtime,
String random,
boolean greedy,
Collection<? extends Table> tables)
index[调用入口]
|
<T extends Index> |
indexes(DataRuntime runtime,
String random,
boolean greedy,
Table table,
String pattern)
index[调用入口]
|
StringBuilder |
indexes(DataRuntime runtime,
StringBuilder builder,
Table meta)
table[命令合成-子流程]
创建表 索引部分,与buildAppendIndexRun二选一 |
<T extends Index> |
indexes(DataRuntime runtime,
String random,
Table table,
String pattern)
index[调用入口]
|
IndexMetadataAdapter |
indexMetadataAdapter(DataRuntime runtime)
index[结构集封装-依据]
读取index元数据结果集的依据 |
StringBuilder |
inherit(DataRuntime runtime,
StringBuilder builder,
Table meta)
table[命令合成-子流程]
继承自table.getInherit |
<T extends Constraint> |
init(DataRuntime runtime,
int index,
T meta,
Catalog catalog,
Schema schema,
DataRow row)
catalog[结果集封装]
根据查询结果封装Constraint对象,只封装catalog,schema,name等基础属性 |
<T extends Function> |
init(DataRuntime runtime,
int index,
T meta,
Catalog catalog,
Schema schema,
DataRow row)
function[结果集封装]
根据查询结果封装function对象,只封装catalog,schema,name等基础属性 |
<T extends EdgeTable> |
init(DataRuntime runtime,
int index,
T meta,
Catalog catalog,
Schema schema,
DataRow row)
edgeTable[结果集封装]
根据查询结果封装EdgeTable对象,只封装catalog,schema,name等基础属性 |
<T extends VertexTable> |
init(DataRuntime runtime,
int index,
T meta,
Catalog catalog,
Schema schema,
DataRow row)
vertexTable[结果集封装]
根据查询结果封装VertexTable对象,只封装catalog,schema,name等基础属性 |
<T extends MasterTable> |
init(DataRuntime runtime,
int index,
T meta,
Catalog catalog,
Schema schema,
DataRow row)
masterTable[结果集封装]
根据查询结果封装MasterTable对象,只封装catalog,schema,name等基础属性 |
<T extends PartitionTable> |
init(DataRuntime runtime,
int index,
T meta,
Catalog catalog,
Schema schema,
DataRow row)
partition table[结果集封装]
根据查询结果封装PartitionTable对象,只封装catalog,schema,name等基础属性 |
<T extends Procedure> |
init(DataRuntime runtime,
int index,
T meta,
Catalog catalog,
Schema schema,
DataRow row)
procedure[结果集封装]
根据查询结果封装procedure对象,只封装catalog,schema,name等基础属性 |
<T extends Sequence> |
init(DataRuntime runtime,
int index,
T meta,
Catalog catalog,
Schema schema,
DataRow row)
sequence[结果集封装]
根据查询结果封装sequence对象,只封装catalog,schema,name等基础属性 |
<T extends Table> |
init(DataRuntime runtime,
int index,
T meta,
Catalog catalog,
Schema schema,
DataRow row)
table[结果集封装]
根据查询结果封装Table对象,只封装catalog,schema,name等基础属性 |
<T extends Trigger> |
init(DataRuntime runtime,
int index,
T meta,
Catalog catalog,
Schema schema,
DataRow row)
trigger[结果集封装]
根据查询结果封装trigger对象,只封装catalog,schema,name等基础属性 |
<T extends View> |
init(DataRuntime runtime,
int index,
T meta,
Catalog catalog,
Schema schema,
DataRow row)
view[结果集封装]
根据查询结果封装View对象,只封装catalog,schema,name等基础属性 |
<T extends Column> |
init(DataRuntime runtime,
int index,
T meta,
Table table,
DataRow row)
column[结果集封装]
(方法1) |
<T extends ForeignKey> |
init(DataRuntime runtime,
int index,
T meta,
Table table,
DataRow row)
foreign[结构集封装]
根据查询结果集构造ForeignKey基础属性 |
<T extends Index> |
init(DataRuntime runtime,
int index,
T meta,
Table table,
DataRow row)
index[结构集封装]
根据查询结果集构造index基础属性(name,table,schema,catalog) |
<T extends Tag> |
init(DataRuntime runtime,
int index,
T meta,
Table table,
DataRow row)
tag[结果集封装]
列基础属性 |
<T extends PrimaryKey> |
init(DataRuntime runtime,
int index,
T meta,
Table table,
DataSet set)
primary[结构集封装]
根据查询结果集构造PrimaryKey基础属性 |
void |
init(DataRuntime runtime,
Run run,
ConfigStore configs,
String... conditions) |
long |
insert(DataRuntime runtime,
String random,
int batch,
Table dest,
Object data,
ConfigStore configs,
List<String> columns)
insert [调用入口]
执行前根据主键生成器补充主键值,执行完成后会补齐自增主键值 |
long |
insert(DataRuntime runtime,
String random,
Object data,
ConfigStore configs,
Run run,
String[] pks)
insert [命令执行]
执行完成后会补齐自增主键值 |
long |
insert(DataRuntime runtime,
String random,
Table dest,
RunPrepare prepare,
ConfigStore configs,
Object obj,
String... conditions)
insert into table select * from table
与query参数一致
|
boolean |
isBooleanColumn(DataRuntime runtime,
Column column)
是否是boolean列
|
boolean |
isCharColumn(DataRuntime runtime,
Column column)
是否是字符类型
决定值是否需要加单引号
number boolean 返回false
其他返回true
|
protected boolean |
isMultipleValue(Column column) |
protected boolean |
isMultipleValue(DataRuntime runtime,
TableRun run,
String key)
是否是可以接收数组类型的值
|
boolean |
isNumberColumn(DataRuntime runtime,
Column column)
是否同数字
|
List<String> |
keyHolders(DataRuntime runtime,
ConfigStore configs)
自增主键值keys
|
StringBuilder |
keys(DataRuntime runtime,
StringBuilder builder,
Table meta)
table[命令合成-子流程]
数据模型 |
String |
keyword(Metadata meta)
table[命令合成-子流程]
部分数据库在创建主表时用主表关键字(默认),部分数据库普通表主表子表都用table,部分数据库用collection、timeseries等 |
Map<String,Object> |
map(DataRuntime runtime,
String random,
ConfigStore configs,
Run run)
select [命令执行]
|
List<Map<String,Object>> |
maps(DataRuntime runtime,
String random,
ConfigStore configs,
Run run)
select [命令执行]
|
List<Map<String,Object>> |
maps(DataRuntime runtime,
String random,
RunPrepare prepare,
ConfigStore configs,
String... conditions)
query [调用入口]
对性能有要求的场景调用,返回java原生map集合,结果中不包含元数据信息 |
protected void |
masterTableMap(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
ConfigStore configs)
masterTable[结果集封装-子流程]
查出所有key并以大写缓存 用来实现忽略大小写 |
MasterTableMetadataAdapter |
masterTableMetadataAdapter(DataRuntime runtime)
masterTable[结构集封装-依据]
读取masterTable元数据结果集的依据 |
<T extends MasterTable> |
masterTables(DataRuntime runtime,
boolean create,
LinkedHashMap<String,T> masterTables,
Catalog catalog,
Schema schema,
String pattern,
int types)
masterTable[结果集封装]
根据驱动内置方法补充 |
<T extends MasterTable> |
masterTables(DataRuntime runtime,
boolean create,
List<T> masterTables,
Catalog catalog,
Schema schema,
String pattern,
int types)
masterTable[结果集封装]
根据驱动内置方法补充 |
<T extends MasterTable> |
masterTables(DataRuntime runtime,
int index,
boolean create,
LinkedHashMap<String,T> masterTables,
Catalog catalog,
Schema schema,
DataSet set)
masterTable[结果集封装]
根据查询结果集构造MasterTable |
<T extends MasterTable> |
masterTables(DataRuntime runtime,
int index,
boolean create,
List<T> masterTables,
Catalog catalog,
Schema schema,
DataSet set)
masterTable[结果集封装]
根据查询结果集构造MasterTable |
<T extends MasterTable> |
masterTables(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
String pattern,
int types,
int struct,
ConfigStore configs)
masterTable[调用入口]
|
<T extends MasterTable> |
masterTables(DataRuntime runtime,
String random,
Catalog catalog,
Schema schema,
String pattern,
int types,
int struct,
ConfigStore configs) |
StringBuilder |
materialize(DataRuntime runtime,
StringBuilder builder,
Table meta)
table[命令合成-子流程]
物化视图 |
List<Run> |
merge(DataRuntime runtime,
Table meta,
List<Run> slices)
合关DDL片段
|
String |
mergeFinalExists(DataRuntime runtime,
Run run)
exists [命令合成]
合成最终 exists 命令 |
String |
mergeFinalQuery(DataRuntime runtime,
Run run)
select[命令合成-子流程]
合成最终 select 命令 包含分页 排序 |
String |
mergeFinalTotal(DataRuntime runtime,
Run run)
count [命令合成]
合成最终 select count 命令 |
StringBuilder |
name(DataRuntime runtime,
StringBuilder builder,
Column meta) |
StringBuilder |
name(DataRuntime runtime,
StringBuilder builder,
Metadata meta)
构造完整表名
|
String |
name(Metadata meta) |
StringBuilder |
nullable(DataRuntime runtime,
StringBuilder builder,
Column meta,
ACTION.DDL action)
column[命令合成-子流程]
列定义:非空 |
String |
objectName(DataRuntime runtime,
String name)
对象名称格式化(大小写转换),在查询系统表时需要
|
StringBuilder |
onupdate(DataRuntime runtime,
StringBuilder builder,
Column meta)
column[命令合成-子流程]
列定义:更新行事件 |
StringBuilder |
parameter(DataRuntime runtime,
StringBuilder builder,
Parameter parameter)
procedure[命令合成-子流程]
生在输入输出参数 |
protected Boolean |
parseBoolean(DataRow row,
String[] cols,
String[] vals)
parse boolean
|
void |
parseText(DataRuntime runtime,
TextRun run)
解析文本中的占位符
|
StringBuilder |
partitionBy(DataRuntime runtime,
StringBuilder builder,
Table meta)
table[命令合成-子流程]
主表设置分区依据(根据哪几列分区) |
StringBuilder |
partitionFor(DataRuntime runtime,
StringBuilder builder,
Table meta)
table[命令合成-子流程]
子表执行分区依据(分区依据值)如CREATE TABLE hr_user_fi PARTITION OF hr_user FOR VALUES IN ('FI') |
StringBuilder |
partitionOf(DataRuntime runtime,
StringBuilder builder,
Table meta)
table[命令合成-子流程]
子表执行分区依据(相关主表) 如CREATE TABLE hr_user_fi PARTITION OF hr_user FOR VALUES IN ('FI') |
<T extends PartitionTable> |
partitionTables(DataRuntime runtime,
boolean create,
LinkedHashMap<String,T> tables,
Catalog catalog,
Schema schema,
MasterTable master)
partition table[结果集封装]
根据根据驱动内置接口 |
<T extends PartitionTable> |
partitionTables(DataRuntime runtime,
int total,
int index,
boolean create,
MasterTable master,
LinkedHashMap<String,T> tables,
Catalog catalog,
Schema schema,
DataSet set)
partition table[结果集封装]
根据查询结果集构造Table |
<T extends PartitionTable> |
partitionTables(DataRuntime runtime,
String random,
boolean greedy,
MasterTable master,
Map<String,Object> tags,
String pattern)
partition table[调用入口]
查询主表 |
StringBuilder |
position(DataRuntime runtime,
StringBuilder builder,
Column meta)
column[命令合成-子流程]
列定义:位置 |
PrimaryKey |
primary(DataRuntime runtime,
String random,
boolean greedy,
Table table)
primary[调用入口]
查询主键 |
StringBuilder |
primary(DataRuntime runtime,
StringBuilder builder,
Column meta)
column[命令合成-子流程]
列定义:定义列的主键标识(注意不要跟表定义中的主键重复) |
StringBuilder |
primary(DataRuntime runtime,
StringBuilder builder,
Table meta)
table[命令合成-子流程]
定义表的主键标识,在创建表的DDL结尾部分(注意不要跟列定义中的主键重复) |
PrimaryKey |
primary(DataRuntime runtime,
Table table)
primary[结构集封装]
根据驱动内置接口补充PrimaryKey |
PrimaryMetadataAdapter |
primaryMetadataAdapter(DataRuntime runtime)
primary[结构集封装-依据]
primary元数据名称依据 |
ProcedureMetadataAdapter |
procedureMetadataAdapter(DataRuntime runtime)
procedure[结构集封装-依据]
读取 procedure 元数据结果集的依据 |
<T extends Procedure> |
procedures(DataRuntime runtime,
boolean create,
LinkedHashMap<String,T> procedures)
procedure[结果集封装]
根据驱动内置接口补充 Procedure |
<T extends Procedure> |
procedures(DataRuntime runtime,
boolean create,
List<T> procedures)
procedure[结果集封装]
根据驱动内置接口补充 Procedure |
<T extends Procedure> |
procedures(DataRuntime runtime,
int index,
boolean create,
LinkedHashMap<String,T> procedures,
DataSet set)
procedure[结果集封装]
根据查询结果集构造 Trigger |
<T extends Procedure> |
procedures(DataRuntime runtime,
int index,
boolean create,
List<T> procedures,
DataSet set)
procedure[结果集封装]
根据查询结果集构造 Trigger |
<T extends Procedure> |
procedures(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
String pattern)
procedure[调用入口]
|
<T extends Procedure> |
procedures(DataRuntime runtime,
String random,
Catalog catalog,
Schema schema,
String pattern)
procedure[调用入口]
|
List<Map<String,Object>> |
process(DataRuntime runtime,
List<Map<String,Object>> list)
select [结果集封装-子流程]
JDBC执行完成后的结果处理 |
String |
product(DataRuntime runtime,
boolean create,
String product)
database[结果集封装]
根据JDBC内置接口 product |
String |
product(DataRuntime runtime,
int index,
boolean create,
String product,
DataSet set)
database[结果集封装]
根据查询结果集构造 product |
String |
product(DataRuntime runtime,
String random)
database[调用入口]
当前数据源 数据库描述(产品名称+版本号) |
StringBuilder |
property(DataRuntime runtime,
StringBuilder builder,
Index meta)
index[命令合成-子流程]
索引属性 |
StringBuilder |
property(DataRuntime runtime,
StringBuilder builder,
Table meta)
table[命令合成-子流程]
扩展属性 |
DataSet |
querys(DataRuntime runtime,
String random,
Procedure procedure,
PageNavi navi)
query procedure [调用入口]
|
DataSet |
querys(DataRuntime runtime,
String random,
RunPrepare prepare,
ConfigStore configs,
String... conditions)
query [调用入口]
返回DataSet中包含元数据信息,如果性能有要求换成maps |
protected String |
random(DataRuntime runtime) |
Object |
read(DataRuntime runtime,
Column metadata,
Object value,
Class clazz)
从数据库中读取数据
先由子类根据metadata.typeName(CHAR,INT)定位到具体的数据库类型ColumnType 如果定位成功由CoumnType根据class转换(class可不提供) 如果没有定位到ColumnType再根据className(String,BigDecimal)定位到JavaType 如果定位失败或转换失败(返回null)再由父类转换 如果没有提供metadata和class则根据value.class 常用类型jdbc可以自动转换直接返回就可以(一般子类DataType返回null父类原样返回) 不常用的如json/point/polygon/blob等转换成anyline对应的类型 |
TypeMetadata.Config |
reg(String type,
TypeMetadata.Config config)
注册数据类型配置
要从配置项中取出每个属性检测合并,不要整个覆盖
|
TypeMetadata.Config |
reg(TypeMetadataAlias alias)
注册数据类型别名(包含对应的标准类型、length/precision/scale等配置)
|
TypeMetadata.Config |
reg(TypeMetadata type,
TypeMetadata.Config config)
注册数据类型配置
要从配置项中取出每个属性检测合并,不要整个覆盖
|
boolean |
rename(DataRuntime runtime,
Column origin,
String name)
column[调用入口]
重命名列,执行的命令通过meta.ddls()返回 |
boolean |
rename(DataRuntime runtime,
Constraint origin,
String name)
constraint[调用入口]
重命名约束 |
boolean |
rename(DataRuntime runtime,
ForeignKey origin,
String name)
foreign[调用入口]
重命名外键
|
boolean |
rename(DataRuntime runtime,
Function origin,
String name)
function[调用入口]
重命名函数
|
boolean |
rename(DataRuntime runtime,
Index origin,
String name)
index[调用入口]
重命名索引 |
boolean |
rename(DataRuntime runtime,
MasterTable origin,
String name)
master table[调用入口]
重命名主表,执行的命令通过meta.ddls()返回 |
boolean |
rename(DataRuntime runtime,
PartitionTable origin,
String name)
partition table[调用入口]
创建分区表,执行的命令通过meta.ddls()返回 |
boolean |
rename(DataRuntime runtime,
PrimaryKey origin,
String name)
primary[调用入口]
添加主键 |
boolean |
rename(DataRuntime runtime,
Procedure origin,
String name)
procedure[调用入口]
重命名存储过程 |
boolean |
rename(DataRuntime runtime,
Sequence origin,
String name)
sequence[调用入口]
重命名序列
|
boolean |
rename(DataRuntime runtime,
Table origin,
String name)
table[调用入口]
重命名表,执行的命令通过meta.ddls()返回 |
boolean |
rename(DataRuntime runtime,
Tag origin,
String name)
tag[调用入口]
重命名标签 |
boolean |
rename(DataRuntime runtime,
Trigger origin,
String name)
trigger[调用入口]
重命名触发器 |
boolean |
rename(DataRuntime runtime,
View origin,
String name)
view[调用入口]
重命名视图,执行的命令通过meta.ddls()返回 |
protected void |
replaceVariable(DataRuntime runtime,
TextRun run) |
long |
save(DataRuntime runtime,
String random,
Table dest,
Object data,
ConfigStore configs,
List<String> columns)
save [调用入口]
根据是否有主键值确认insert | update 执行完成后会补齐自增主键值 |
protected long |
saveCollection(DataRuntime runtime,
String random,
Table dest,
Collection<?> data,
ConfigStore configs,
List<String> columns) |
protected long |
saveObject(DataRuntime runtime,
String random,
Table dest,
Object data,
ConfigStore configs,
List<String> columns) |
Schema |
schema(DataRuntime runtime,
boolean create,
Schema schema)
schema[结果集封装]
当前schema 根据驱动内置接口补充 |
Schema |
schema(DataRuntime runtime,
int index,
boolean create,
Schema schema,
DataSet set)
schema[结果集封装]
当前schema 根据查询结果集 |
Schema |
schema(DataRuntime runtime,
String random)
schema[调用入口]
当前Schema |
<T extends Schema> |
schema(List<T> schemas,
Catalog catalog,
String name)
根据 catalog, name检测schemas集合中是否存在
|
LinkedHashMap<String,Schema> |
schemas(DataRuntime runtime,
boolean create,
LinkedHashMap<String,Schema> schemas)
schema[结果集封装]
根据驱动内置接口补充 Schema |
List<Schema> |
schemas(DataRuntime runtime,
boolean create,
List<Schema> schemas)
schema[结果集封装]
根据驱动内置接口补充 Schema |
LinkedHashMap<String,Schema> |
schemas(DataRuntime runtime,
int index,
boolean create,
LinkedHashMap<String,Schema> schemas,
Catalog catalog,
Schema schema,
DataSet set)
schema[结果集封装]
根据查询结果集构造 Schema |
List<Schema> |
schemas(DataRuntime runtime,
int index,
boolean create,
List<Schema> schemas,
Catalog catalog,
Schema schema,
DataSet set) |
List<Schema> |
schemas(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
String name)
schema[调用入口]
|
LinkedHashMap<String,Schema> |
schemas(DataRuntime runtime,
String random,
Catalog catalog,
String name)
schema[调用入口]
|
<T extends Metadata> |
search(List<T> list,
Catalog catalog,
Schema schema,
String name)
根据 catalog, schema, name检测tables集合中是否存在
|
<T extends Metadata> |
search(List<T> list,
String name) |
<T extends Metadata> |
search(List<T> list,
String catalog,
String name) |
<T extends Metadata> |
search(List<T> list,
String catalog,
String schema,
String name) |
DataSet |
select(DataRuntime runtime,
String random,
boolean system,
Table table,
ConfigStore configs,
Run run)
select [命令执行]
|
protected <T> EntitySet<T> |
select(DataRuntime runtime,
String random,
Class<T> clazz,
Table table,
ConfigStore configs,
Run run)
select [命令执行-子流程]
DataRow转换成Entity |
<T> EntitySet<T> |
selects(DataRuntime runtime,
String random,
RunPrepare prepare,
Class<T> clazz,
ConfigStore configs,
String... conditions)
query [调用入口]
|
DataRow |
sequence(DataRuntime runtime,
String random,
boolean next,
String... names)
select [命令执行]
|
SequenceMetadataAdapter |
sequenceMetadataAdapter(DataRuntime runtime)
sequence[结构集封装-依据]
读取 sequence 元数据结果集的依据 |
<T extends Sequence> |
sequences(DataRuntime runtime,
boolean create,
LinkedHashMap<String,T> sequences)
sequence[结果集封装]
根据驱动内置接口补充 Sequence |
<T extends Sequence> |
sequences(DataRuntime runtime,
boolean create,
List<T> sequences)
sequence[结果集封装]
根据驱动内置接口补充 Sequence |
<T extends Sequence> |
sequences(DataRuntime runtime,
int index,
boolean create,
LinkedHashMap<String,T> sequences,
DataSet set)
sequence[结果集封装]
根据查询结果集构造 Sequence |
<T extends Sequence> |
sequences(DataRuntime runtime,
int index,
boolean create,
List<T> sequences,
DataSet set)
sequence[结果集封装]
根据查询结果集构造 Sequence |
<T extends Sequence> |
sequences(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
String pattern)
sequence[调用入口]
|
<T extends Sequence> |
sequences(DataRuntime runtime,
String random,
Catalog catalog,
Schema schema,
String pattern)
sequence[调用入口]
|
void |
setDelimiter(String delimiter) |
void |
setGenerator(PrimaryGenerator generator) |
void |
setListener(DDListener listener) |
void |
setListener(DMListener listener) |
protected void |
setPrimaryValue(Object obj,
Object value)
insert [命令合成-子流程]
设置主键值 |
void |
setWorker(DriverWorker worker) |
TypeMetadata |
spell(String name) |
boolean |
supportInsertPlaceholder()
insert [命令合成-子流程]
插入数据时是否支持占位符 |
boolean |
supportKeyHolder(DataRuntime runtime,
ConfigStore configs)
是否支持返回自增主键值
|
protected void |
tableMap(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
ConfigStore configs)
table[结果集封装-子流程]
查出所有key并以大写缓存 用来实现忽略大小写 |
TableMetadataAdapter |
tableMetadataAdapter(DataRuntime runtime)
table[结构集封装-依据]
读取table元数据结果集的依据 |
<T extends Table> |
tables(DataRuntime runtime,
boolean create,
LinkedHashMap<String,T> tables,
Catalog catalog,
Schema schema,
String pattern,
int types)
table[结果集封装]
根据驱动内置方法补充 |
<T extends Table> |
tables(DataRuntime runtime,
boolean create,
List<T> tables,
Catalog catalog,
Schema schema,
String pattern,
int types)
table[结果集封装]
根据驱动内置方法补充 |
<T extends Table> |
tables(DataRuntime runtime,
int index,
boolean create,
LinkedHashMap<String,T> tables,
Catalog catalog,
Schema schema,
DataSet set)
table[结果集封装]
根据查询结果集构造Table |
<T extends Table> |
tables(DataRuntime runtime,
int index,
boolean create,
List<T> tables,
Catalog catalog,
Schema schema,
DataSet set)
table[结果集封装]
根据查询结果集构造Table |
<T extends Table> |
tables(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
String pattern,
int types,
int struct,
ConfigStore configs)
table[调用入口]
|
<T extends Table> |
tables(DataRuntime runtime,
String random,
Catalog catalog,
Schema schema,
String pattern,
int types,
int struct,
ConfigStore configs) |
<T extends Tag> |
tags(DataRuntime runtime,
boolean create,
LinkedHashMap<String,T> tags,
Table table,
String pattern)
tag[结果集封装]
解析JDBC get columns结果 |
<T extends Tag> |
tags(DataRuntime runtime,
int index,
boolean create,
Table table,
LinkedHashMap<String,T> tags,
DataSet set)
tag[结果集封装]
根据查询结果集构造Tag |
<T extends Tag> |
tags(DataRuntime runtime,
String random,
boolean greedy,
Table table)
tag[调用入口]
查询表结构 |
TriggerMetadataAdapter |
triggerMetadataAdapter(DataRuntime runtime)
trigger[结构集封装-依据]
读取 trigger 元数据结果集的依据 |
<T extends Trigger> |
triggers(DataRuntime runtime,
int index,
boolean create,
Table table,
LinkedHashMap<String,T> triggers,
DataSet set)
trigger[结果集封装]
根据查询结果集构造 Trigger |
<T extends Trigger> |
triggers(DataRuntime runtime,
String random,
boolean greedy,
Table table,
List<Trigger.EVENT> events)
trigger[调用入口]
|
long |
truncate(DataRuntime runtime,
String random,
Table table)
truncate [调用入口]
|
StringBuilder |
type(DataRuntime runtime,
StringBuilder builder,
Column meta)
column[命令合成-子流程]
列定义:数据类型 |
StringBuilder |
type(DataRuntime runtime,
StringBuilder builder,
Column meta,
String type,
int ignoreLength,
int ignorePrecision,
int ignoreScale)
column[命令合成-子流程]
列定义:数据类型定义 |
StringBuilder |
type(DataRuntime runtime,
StringBuilder builder,
Index meta)
index[命令合成-子流程]
索引类型 |
TypeMetadata |
typeMetadata(DataRuntime runtime,
Column meta)
转换成相应数据库类型
把编码时输入的数据类型如(long)转换成具体数据库中对应的数据类型 同时解析长度、有效位数、精度 如有些数据库中用bigint有些数据库中有long |
TypeMetadata |
typeMetadata(DataRuntime runtime,
String type)
转换成相应数据库类型
把编码时输入的数据类型如(long)转换成具体数据库中对应的数据类型,如有些数据库中用bigint有些数据库中有long |
StringBuilder |
unique(DataRuntime runtime,
StringBuilder builder,
Column meta)
column[命令合成-子流程]
列定义:唯一索引 |
long |
update(DataRuntime runtime,
String random,
int batch,
Table dest,
Object data,
ConfigStore configs,
List<String> columns)
UPDATE [调用入口]
|
long |
update(DataRuntime runtime,
String random,
Table dest,
Object data,
ConfigStore configs,
Run run)
update [命令执行]
|
String |
value(DataRuntime runtime,
Column column,
DriverAdapter.SQL_BUILD_IN_VALUE value)
内置函数
|
void |
value(DataRuntime runtime,
StringBuilder builder,
Object obj,
String key)
在不检测数据库结构时才生效,否则会被convert代替
生成value格式 主要确定是否需要单引号 或 类型转换
有些数据库不提供默认的 隐式转换 需要显示的把String转换成相应的数据类型
如 TO_DATE('')
|
String |
version(DataRuntime runtime,
boolean create,
String version)
database[结果集封装]
根据JDBC内置接口 version |
String |
version(DataRuntime runtime,
int index,
boolean create,
String version,
DataSet set)
database[结果集封装]
根据查询结果集构造 version |
String |
version(DataRuntime runtime,
String random)
database[调用入口]
当前数据源 数据库类型 |
protected void |
vertexTableMap(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
ConfigStore configs)
vertexTable[结果集封装-子流程]
查出所有key并以大写缓存 用来实现忽略大小写 |
VertexTableMetadataAdapter |
vertexTableMetadataAdapter(DataRuntime runtime)
vertexTable[结构集封装-依据]
读取vertexTable元数据结果集的依据 |
<T extends VertexTable> |
vertexTables(DataRuntime runtime,
boolean create,
LinkedHashMap<String,T> vertexTables,
Catalog catalog,
Schema schema,
String pattern,
int types)
vertexTable[结果集封装]
根据驱动内置方法补充 |
<T extends VertexTable> |
vertexTables(DataRuntime runtime,
boolean create,
List<T> vertexTables,
Catalog catalog,
Schema schema,
String pattern,
int types)
vertexTable[结果集封装]
根据驱动内置方法补充 |
<T extends VertexTable> |
vertexTables(DataRuntime runtime,
int index,
boolean create,
LinkedHashMap<String,T> vertexTables,
Catalog catalog,
Schema schema,
DataSet set)
vertexTable[结果集封装]
根据查询结果集构造VertexTable |
<T extends VertexTable> |
vertexTables(DataRuntime runtime,
int index,
boolean create,
List<T> vertexTables,
Catalog catalog,
Schema schema,
DataSet set)
vertexTable[结果集封装]
根据查询结果集构造VertexTable |
<T extends VertexTable> |
vertexTables(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
String pattern,
int types,
int struct,
ConfigStore configs)
vertexTable[调用入口]
|
<T extends VertexTable> |
vertexTables(DataRuntime runtime,
String random,
Catalog catalog,
Schema schema,
String pattern,
int types,
int struct,
ConfigStore configs) |
protected void |
viewMap(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
ConfigStore configs)
view[结果集封装-子流程]
查出所有key并以大写缓存 用来实现忽略大小写 |
ViewMetadataAdapter |
viewMetadataAdapter(DataRuntime runtime)
view[结构集封装-依据]
读取view元数据结果集的依据 |
<T extends View> |
views(DataRuntime runtime,
boolean create,
LinkedHashMap<String,T> views,
Catalog catalog,
Schema schema,
String pattern,
int types)
view[结果集封装]
根据驱动内置方法补充 |
<T extends View> |
views(DataRuntime runtime,
boolean create,
List<T> views,
Catalog catalog,
Schema schema,
String pattern,
int types)
view[结果集封装]
根据驱动内置方法补充 |
<T extends View> |
views(DataRuntime runtime,
int index,
boolean create,
LinkedHashMap<String,T> views,
Catalog catalog,
Schema schema,
DataSet set)
view[结果集封装]
根据查询结果集构造View |
<T extends View> |
views(DataRuntime runtime,
int index,
boolean create,
List<T> views,
Catalog catalog,
Schema schema,
DataSet set)
view[结果集封装]
根据查询结果集构造View |
<T extends View> |
views(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
String pattern,
int types,
int struct,
ConfigStore configs)
view[调用入口]
|
<T extends View> |
views(DataRuntime runtime,
String random,
Catalog catalog,
Schema schema,
String pattern,
int types,
int struct,
ConfigStore configs) |
Object |
write(DataRuntime runtime,
Column metadata,
Object value,
boolean placeholder)
写入数据库前类型转换
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitalter, alter, alter, buildAddCommentRun, buildAlterRun, buildAlterRun, buildAlterRun, buildAppendPrimaryRun, buildChangeTypeRun, buildDeleteRun, buildDeleteRun, buildDeleteRun, buildDeleteRun, buildDeleteRunFromEntity, buildDeleteRunFromTable, buildDropRun, buildInsertRun, buildInsertRun, buildInsertRun, buildInsertRun, buildInsertRun, buildInsertRun, buildInsertRun, buildInsertRun, buildInsertRun, buildInsertRun, buildQueryCatalogsRun, buildQueryDatabaseRun, buildQueryDatabaseRun, buildQuerySchemasRun, buildQuerySchemasRun, buildTruncateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRunFromCollection, buildUpdateRunFromDataRow, buildUpdateRunFromEntity, catalog, checkDefaultBuildInValue, checkSchema, columns, columns, compressCondition, concat, conditionHead, confirmInsertColumns, confirmUpdateColumns, confirmUpdateColumns, correctSchemaFromJDBC, correctSchemaFromJDBC, correctSchemaFromJDBC, createConditionFindInSet, createConditionJsonContains, createConditionJsonContainsPath, database, ddl, ddl, ddl, defaultValue, delete, delete, deletes, deletes, deletes, deletes, deletes, deletes, deletes, deletes, deletes, deletes, deletes, deletes, deletes, deletes, deletes, edgeTables, edgeTables, edgeTables, edgeTables, edgeTables, edgeTables, edgeTables, edgeTables, empty, empty, equals, equals, equals, fillInsertContent, fillInsertContent, fillInsertContent, fillInsertContent, fillInsertContent, fillInsertContent, formula, in, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, masterTables, masterTables, masterTables, masterTables, masterTables, masterTables, masterTables, masterTables, match, match, matchByAdapter, metadata, name, names, reader, reg, reg, reg, reg, save, save, save, save, save, save, save, schema, schemas, schemas, select, slice, slice, supportCatalog, supportSchema, supportSqlVarPlaceholderRegexExt, tables, tables, tables, tables, tables, tables, tables, tables, truncate, type, types, update, update, update, update, update, update, update, update, update, update, update, update, update, update, update, update, update, update, update, update, update, update, update, update, update, update, vertexTables, vertexTables, vertexTables, vertexTables, vertexTables, vertexTables, vertexTables, vertexTables, views, views, views, views, views, views, views, views, writerprotected DMListener dmListener
protected DDListener ddListener
protected PrimaryGenerator primaryGenerator
protected DriverWorker worker
protected String delimiterFr
protected String delimiterTo
protected LinkedHashMap<String,TypeMetadata> alias
protected DMListener getListener()
public void setListener(DMListener listener)
setListener 在接口中 DriverAdapterpublic DMListener getDMListener()
getDMListener 在接口中 DriverAdapterpublic void setListener(DDListener listener)
setListener 在接口中 DriverAdapterpublic DDListener getDDListener()
getDDListener 在接口中 DriverAdapterpublic void setGenerator(PrimaryGenerator generator)
setGenerator 在接口中 DriverAdapterpublic PrimaryGenerator getPrimaryGenerator()
public void setWorker(DriverWorker worker)
setWorker 在接口中 DriverAdapterpublic DriverWorker getWorker()
getWorker 在接口中 DriverAdapterpublic String getDelimiterFr()
DriverAdaptergetDelimiterFr 在接口中 DriverAdapterpublic String getDelimiterTo()
getDelimiterTo 在接口中 DriverAdapterpublic void setDelimiter(String delimiter)
setDelimiter 在接口中 DriverAdapterpublic DatabaseType compatible()
DriverAdaptercompatible 在接口中 DriverAdapterpublic LinkedHashMap<String,TypeMetadata> alias()
DriverAdapteralias 在接口中 DriverAdapterpublic TypeMetadata.Config reg(TypeMetadataAlias alias)
reg 在接口中 DriverAdapteralias - 数据类型别名protected void alias(String key, TypeMetadata value)
public TypeMetadata.Config reg(TypeMetadata type, TypeMetadata.Config config)
reg 在接口中 DriverAdaptertype - 数据类型config - 配置项public TypeMetadata.Config reg(String type, TypeMetadata.Config config)
reg 在接口中 DriverAdaptertype - 类型名称或别名config - 配置项public long insert(DataRuntime runtime, String random, int batch, Table dest, Object data, ConfigStore configs, List<String> columns)
insert 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令dest - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源data - 需要插入入的数据columns - 需要插入的列,如果不指定则根据data或configs获取注意会受到ConfigTable中是否插入更新空值的几个配置项影响
列可以加前缀public long insert(DataRuntime runtime, String random, Table dest, RunPrepare prepare, ConfigStore configs, Object obj, String... conditions)
insert 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端dest - 插入表prepare - 查询表configs - 查询条件及相关配置obj - 查询条件conditions - 查询条件public Run buildInsertRun(DataRuntime runtime, int batch, Table dest, Object obj, ConfigStore configs, List<String> columns)
buildInsertRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端dest - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源obj - 需要插入的数据columns - 需要插入的列,如果不指定则根据data或configs获取注意会受到ConfigTable中是否插入更新空值的几个配置项影响public Run buildInsertRun(DataRuntime runtime, Table dest, RunPrepare prepare, ConfigStore configs, Object obj, String... conditions)
DriverAdapterbuildInsertRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端dest - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源prepare - 查询configs - 过滤条件及相关配置public void fillInsertContent(DataRuntime runtime, Run run, Table dest, DataSet set, ConfigStore configs, LinkedHashMap<String,Column> columns)
fillInsertContent 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端run - 最终待执行的命令和参数(如果是JDBC环境就是SQL)dest - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源set - 需要插入的数据集合columns - 需要插入的列,如果不指定则根据data或configs获取注意会受到ConfigTable中是否插入更新空值的几个配置项影响public void fillInsertContent(DataRuntime runtime, Run run, Table dest, Collection list, ConfigStore configs, LinkedHashMap<String,Column> columns)
fillInsertContent 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端run - 最终待执行的命令和参数(如果是JDBC环境就是SQL)dest - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源list - 需要插入的数据集合columns - 需要插入的列,如果不指定则根据data或configs获取注意会受到ConfigTable中是否插入更新空值的几个配置项影响public LinkedHashMap<String,Column> confirmInsertColumns(DataRuntime runtime, Table dest, Object obj, ConfigStore configs, List<String> columns, boolean batch)
confirmInsertColumns 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端dest - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源obj - Entity或DataRowbatch - 是否批量,批量时不检测值是否为空columns - 需要插入的列,如果不指定则根据data或configs获取注意会受到ConfigTable中是否插入更新空值的几个配置项影响
列可以加前缀public String batchInsertSeparator()
batchInsertSeparator 在接口中 DriverAdapterpublic boolean supportInsertPlaceholder()
supportInsertPlaceholder 在接口中 DriverAdapterprotected void setPrimaryValue(Object obj, Object value)
obj - objvalue - valueprotected Run createInsertRun(DataRuntime runtime, Table dest, Object obj, ConfigStore configs, List<String> columns)
runtime - 运行环境主要包含驱动适配器 数据源或客户端dest - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源obj - 数据columns - 需要插入的列,如果不指定则根据data或configs获取注意会受到ConfigTable中是否插入更新空值的几个配置项影响protected Run createInsertRunFromCollection(DataRuntime runtime, int batch, Table dest, Collection list, ConfigStore configs, List<String> columns)
runtime - 运行环境主要包含驱动适配器 数据源或客户端dest - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源list - 对象集合columns - 需要插入的列,如果不指定则根据data或configs获取注意会受到ConfigTable中是否插入更新空值的几个配置项影响public String generatedKey()
generatedKey 在接口中 DriverAdapterpublic long insert(DataRuntime runtime, String random, Object data, ConfigStore configs, Run run, String[] pks)
insert 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令data - datarun - 最终待执行的命令和参数(如果是JDBC环境就是SQL)pks - 需要返回的主键public boolean supportKeyHolder(DataRuntime runtime, ConfigStore configs)
supportKeyHolder 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端configs - configs中也可能禁用返回public List<String> keyHolders(DataRuntime runtime, ConfigStore configs)
keyHolders 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端configs - configs中也可能禁用返回public long update(DataRuntime runtime, String random, int batch, Table dest, Object data, ConfigStore configs, List<String> columns)
update 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令dest - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源data - 数据configs - 条件columns - 需要插入或更新的列,如果不指定则根据data或configs获取注意会受到ConfigTable中是否插入更新空值的几个配置项影响
列可以加前缀public Run buildUpdateRun(DataRuntime runtime, int batch, Table dest, Object obj, ConfigStore configs, List<String> columns)
buildUpdateRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端dest - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源obj - Entity或DtaRowconfigs - 更新条件columns - 需要插入或更新的列,如果不指定则根据data或configs获取注意会受到ConfigTable中是否插入更新空值的几个配置项影响
列可以加前缀public Run buildUpdateRunLimit(DataRuntime runtime, Run run)
buildUpdateRunLimit 在接口中 DriverAdapterpublic Run buildUpdateRunFromEntity(DataRuntime runtime, Table dest, Object obj, ConfigStore configs, LinkedHashMap<String,Column> columns)
buildUpdateRunFromEntity 在接口中 DriverAdapterpublic Run buildUpdateRunFromDataRow(DataRuntime runtime, Table dest, DataRow row, ConfigStore configs, LinkedHashMap<String,Column> columns)
buildUpdateRunFromDataRow 在接口中 DriverAdapterpublic Run buildUpdateRunFromCollection(DataRuntime runtime, int batch, Table dest, Collection list, ConfigStore configs, LinkedHashMap<String,Column> columns)
buildUpdateRunFromCollection 在接口中 DriverAdapterpublic LinkedHashMap<String,Column> confirmUpdateColumns(DataRuntime runtime, Table dest, DataRow row, ConfigStore configs, List<String> columns)
confirmUpdateColumns 在接口中 DriverAdapterrow - DataRowconfigs - 更新条件columns - 需要插入或更新的列,如果不指定则根据data或configs获取注意会受到ConfigTable中是否插入更新空值的几个配置项影响
列可以加前缀public LinkedHashMap<String,Column> confirmUpdateColumns(DataRuntime runtime, Table dest, Object obj, ConfigStore configs, List<String> columns)
confirmUpdateColumns 在接口中 DriverAdapterpublic long update(DataRuntime runtime, String random, Table dest, Object data, ConfigStore configs, Run run)
update 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令dest - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源data - 数据run - 最终待执行的命令和参数(如果是JDBC环境就是SQL)public long save(DataRuntime runtime, String random, Table dest, Object data, ConfigStore configs, List<String> columns)
save 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令dest - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源data - 数据configs - 更新条件columns - 需要插入或更新的列,如果不指定则根据data或configs获取注意会受到ConfigTable中是否插入更新空值的几个配置项影响
列可以加前缀protected long saveCollection(DataRuntime runtime, String random, Table dest, Collection<?> data, ConfigStore configs, List<String> columns)
protected long saveObject(DataRuntime runtime, String random, Table dest, Object data, ConfigStore configs, List<String> columns)
protected boolean isMultipleValue(DataRuntime runtime, TableRun run, String key)
run - 最终待执行的命令和参数(如果是JDBC环境就是SQL)key - keyprotected boolean isMultipleValue(Column column)
public LinkedHashMap<String,Column> checkMetadata(DataRuntime runtime, Table table, ConfigStore configs, LinkedHashMap<String,Column> columns)
table - 表columns - columnspublic DataSet querys(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions)
querys 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令prepare - 构建最终执行命令的全部参数,包含表(或视图|函数|自定义SQL)查询条件 排序 分页等configs - 过滤条件及相关配置conditions - 简单过滤条件public DataSet querys(DataRuntime runtime, String random, Procedure procedure, PageNavi navi)
querys 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令procedure - 存储过程navi - 分页public <T> EntitySet<T> selects(DataRuntime runtime, String random, RunPrepare prepare, Class<T> clazz, ConfigStore configs, String... conditions)
selects 在接口中 DriverAdapterT - Entityruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令clazz - 类prepare - 构建最终执行命令的全部参数,包含表(或视图|函数|自定义SQL)查询条件 排序 分页等configs - 过滤条件及相关配置conditions - 简单过滤条件protected <T> EntitySet<T> select(DataRuntime runtime, String random, Class<T> clazz, Table table, ConfigStore configs, Run run)
T - entity.classruntime - 运行环境主要包含驱动适配器 数据源或客户端clazz - entity classtable - tablerun - 最终待执行的命令和参数(如果是JDBC环境就是SQL)public List<Map<String,Object>> maps(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions)
maps 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令prepare - 构建最终执行命令的全部参数,包含表(或视图|函数|自定义SQL)查询条件 排序 分页等configs - 过滤条件及相关配置conditions - 简单过滤条件public Run buildQueryRun(DataRuntime runtime, RunPrepare prepare, ConfigStore configs, String... conditions)
buildQueryRun 在接口中 DriverAdapterprepare - 构建最终执行命令的全部参数,包含表(或视图|函数|自定义SQL)查询条件 排序 分页等configs - 过滤条件及相关配置conditions - 简单过滤条件runtime - 运行环境主要包含驱动适配器 数据源或客户端public void init(DataRuntime runtime, Run run, ConfigStore configs, String... conditions)
public void parseText(DataRuntime runtime, TextRun run)
parseText 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端run - runpublic List<Run> buildQuerySequence(DataRuntime runtime, boolean next, String... names)
buildQuerySequence 在接口中 DriverAdapternext - 是否生成返回下一个序列 false:cur true:nextnames - 序列名runtime - 运行环境主要包含驱动适配器 数据源或客户端public void fillQueryContent(DataRuntime runtime, Run run)
fillQueryContent 在接口中 DriverAdapterrun - 最终待执行的命令和参数(如果是JDBC环境就是SQL)public void fillQueryContent(DataRuntime runtime, StringBuilder builder, Run run)
fillQueryContent 在接口中 DriverAdapterrun - 最终待执行的命令和参数(如果是JDBC环境就是SQL)protected void fillQueryContent(DataRuntime runtime, XMLRun run)
protected void fillQueryContent(DataRuntime runtime, StringBuilder builder, XMLRun run)
protected void fillQueryContent(DataRuntime runtime, TextRun run)
protected void fillQueryContent(DataRuntime runtime, StringBuilder builder, TextRun run)
protected void fillQueryContent(DataRuntime runtime, TableRun run)
protected void fillQueryContent(DataRuntime runtime, StringBuilder builder, TableRun run)
public String mergeFinalQuery(DataRuntime runtime, Run run)
mergeFinalQuery 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端run - 最终待执行的命令和参数(如果是JDBC环境就是SQL)public RunValue createConditionLike(DataRuntime runtime, StringBuilder builder, Compare compare, Object value, boolean placeholder)
createConditionLike 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildercompare - 比较方式 默认 equal 多个值默认 invalue - valuepublic StringBuilder createConditionIn(DataRuntime runtime, StringBuilder builder, Compare compare, Object value, boolean placeholder)
createConditionIn 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildercompare - 比较方式 默认 equal 多个值默认 invalue - valuepublic DataSet select(DataRuntime runtime, String random, boolean system, Table table, ConfigStore configs, Run run)
select 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令system - 系统表不检测列属性table - 表run - 最终待执行的命令和参数(如果是JDBC环境就是SQL)public List<Map<String,Object>> maps(DataRuntime runtime, String random, ConfigStore configs, Run run)
maps 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令run - 最终待执行的命令和参数(如果是JDBC环境就是SQL)public Map<String,Object> map(DataRuntime runtime, String random, ConfigStore configs, Run run)
map 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令run - 最终待执行的命令和参数(如果是JDBC环境就是SQL)public DataRow sequence(DataRuntime runtime, String random, boolean next, String... names)
sequence 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令next - 是否查下一个序列值names - 存储过程名称spublic List<Map<String,Object>> process(DataRuntime runtime, List<Map<String,Object>> list)
process 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端list - JDBC执行返回的结果集public long count(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions)
count 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令prepare - 构建最终执行命令的全部参数,包含表(或视图|函数|自定义SQL)查询条件 排序 分页等configs - 过滤条件及相关配置conditions - 简单过滤条件public String mergeFinalTotal(DataRuntime runtime, Run run)
mergeFinalTotal 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端run - 最终待执行的命令和参数(如果是JDBC环境就是SQL)public long count(DataRuntime runtime, String random, Run run)
count 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令run - 最终待执行的命令和参数(如果是JDBC环境就是SQL)public boolean exists(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions)
exists 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令prepare - 构建最终执行命令的全部参数,包含表(或视图|函数|自定义SQL)查询条件 排序 分页等configs - 查询条件及相关设置conditions - 简单过滤条件public String mergeFinalExists(DataRuntime runtime, Run run)
DriverAdaptermergeFinalExists 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端run - 最终待执行的命令和参数(如果是JDBC环境就是SQL)public long execute(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions)
execute 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令prepare - 构建最终执行命令的全部参数,包含表(或视图|函数|自定义SQL)查询条件 排序 分页等configs - 查询条件及相关设置conditions - 简单过滤条件public long execute(DataRuntime runtime, String random, int batch, ConfigStore configs, RunPrepare prepare, Collection<Object> values)
execute 在接口中 DriverAdapterpublic long execute(DataRuntime runtime, String random, int batch, int vol, ConfigStore configs, RunPrepare prepare, Collection<Object> values)
execute 在接口中 DriverAdapterpublic boolean execute(DataRuntime runtime, String random, Procedure procedure)
execute 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端procedure - 存储过程random - randompublic Run buildExecuteRun(DataRuntime runtime, RunPrepare prepare, ConfigStore configs, String... conditions)
buildExecuteRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端prepare - 构建最终执行命令的全部参数,包含表(或视图|函数|自定义SQL)查询条件 排序 分页等configs - 查询条件及相关设置conditions - 简单过滤条件protected void fillExecuteContent(DataRuntime runtime, XMLRun run)
protected void fillExecuteContent(DataRuntime runtime, TextRun run)
protected void fillExecuteContent(DataRuntime runtime, TableRun run)
public void fillExecuteContent(DataRuntime runtime, Run run)
fillExecuteContent 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端run - 最终待执行的命令和参数(如果是JDBC环境就是SQL)public long execute(DataRuntime runtime, String random, ConfigStore configs, Run run)
execute 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令run - 最终待执行的命令和参数(如果是JDBC环境就是SQL)protected void replaceVariable(DataRuntime runtime, TextRun run)
public <T> long deletes(DataRuntime runtime, String random, int batch, Table table, ConfigStore configs, String key, Collection<T> values)
deletes 在接口中 DriverAdapterT - Truntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令table - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源values - 列对应的值key - 列public long delete(DataRuntime runtime, String random, Table dest, ConfigStore configs, Object obj, String... columns)
delete 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令obj - entity或DataRowcolumns - 删除条件的列或属性,根据columns取obj值并合成删除条件dest - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源public long delete(DataRuntime runtime, String random, Table table, ConfigStore configs, String... conditions)
delete 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令table - 表configs - 查询条件及相关设置conditions - 简单过滤条件public long truncate(DataRuntime runtime, String random, Table table)
truncate 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令table - 表public Run buildDeleteRun(DataRuntime runtime, Table dest, ConfigStore configs, Object obj, String... columns)
buildDeleteRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端dest - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源obj - entity或DataRowcolumns - 删除条件的列或属性,根据columns取obj值并合成删除条件public Run buildDeleteRun(DataRuntime runtime, int batch, Table table, ConfigStore configs, String key, Object values)
buildDeleteRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端table - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源key - 列values - valuespublic List<Run> buildTruncateRun(DataRuntime runtime, Table table)
DriverAdapterbuildTruncateRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端table - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源public Run buildDeleteRunFromTable(DataRuntime runtime, int batch, Table table, ConfigStore configs, String column, Object values)
buildDeleteRunFromTable 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端table - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源column - 列values - valuespublic Run buildDeleteRunFromEntity(DataRuntime runtime, Table table, ConfigStore configs, Object obj, String... columns)
buildDeleteRunFromEntity 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端table - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源 如果为空 可以根据obj解析obj - entity或DataRowcolumns - 删除条件的列或属性,根据columns取obj值并合成删除条件public void fillDeleteRunContent(DataRuntime runtime, Run run)
fillDeleteRunContent 在接口中 DriverAdapterrun - 最终待执行的命令和参数(如果是JDBC环境就是SQL)public long delete(DataRuntime runtime, String random, ConfigStore configs, Run run)
delete 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令configs - 查询条件及相关设置run - 最终待执行的命令和参数(如果是JDBC环境就是SQL)public Database database(DataRuntime runtime, String random)
database 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令public String product(DataRuntime runtime, String random)
product 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令public String version(DataRuntime runtime, String random)
version 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令public List<Database> databases(DataRuntime runtime, String random, boolean greedy, String name)
databases 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令greedy - 贪婪模式 true:查询权限范围内尽可能多的数据name - 名称统配符或正则public LinkedHashMap<String,Database> databases(DataRuntime runtime, String random, String name)
databases 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令name - 名称统配符或正则public List<Run> buildQueryDatabaseRun(DataRuntime runtime) throws Exception
buildQueryDatabaseRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端Exception - 异常public List<Run> buildQueryProductRun(DataRuntime runtime) throws Exception
buildQueryProductRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端Exception - 异常public List<Run> buildQueryVersionRun(DataRuntime runtime) throws Exception
buildQueryVersionRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端Exception - 异常public List<Run> buildQueryDatabasesRun(DataRuntime runtime, boolean greedy, String name) throws Exception
buildQueryDatabasesRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端name - 名称统配符或正则greedy - 贪婪模式 true:查询权限范围内尽可能多的数据Exception - 异常public LinkedHashMap<String,Database> databases(DataRuntime runtime, int index, boolean create, LinkedHashMap<String,Database> databases, Catalog catalog, Schema schema, DataSet set) throws Exception
databases 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照 buildQueryDatabaseRun 返回顺序create - 上一步没有查到的,这一步是否需要新创建databases - 上一步查询结果set - 查询结果集Exceptionpublic List<Database> databases(DataRuntime runtime, int index, boolean create, List<Database> databases, Catalog catalog, Schema schema, DataSet set) throws Exception
databases 在接口中 DriverAdapterExceptionpublic Database database(DataRuntime runtime, int index, boolean create, Database database, DataSet set) throws Exception
database 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照 buildQueryDatabaseRun 返回顺序create - 上一步没有查到的,这一步是否需要新创建database - 上一步查询结果set - 查询结果集Exception - 异常public Database database(DataRuntime runtime, boolean create, Database database) throws Exception
database 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建database - 上一步查询结果Exception - 异常public String product(DataRuntime runtime, int index, boolean create, String product, DataSet set)
product 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建product - 上一步查询结果set - 查询结果集Exception - 异常public String product(DataRuntime runtime, boolean create, String product)
product 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建product - 上一步查询结果Exception - 异常public String version(DataRuntime runtime, int index, boolean create, String version, DataSet set)
version 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建version - 上一步查询结果set - 查询结果集Exception - 异常public String version(DataRuntime runtime, boolean create, String version)
version 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建version - 上一步查询结果Exception - 异常public Catalog catalog(DataRuntime runtime, String random)
catalog 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令public LinkedHashMap<String,Catalog> catalogs(DataRuntime runtime, String random, String name)
catalogs 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令name - 名称统配符或正则public List<Catalog> catalogs(DataRuntime runtime, String random, boolean greedy, String name)
catalogs 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令name - 名称统配符或正则public List<Run> buildQueryCatalogRun(DataRuntime runtime, String random) throws Exception
buildQueryCatalogRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端Exception - 异常public List<Run> buildQueryCatalogsRun(DataRuntime runtime, boolean greedy, String name) throws Exception
buildQueryCatalogsRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端name - 名称统配符或正则greedy - 贪婪模式 true:查询权限范围内尽可能多的数据Exception - 异常public LinkedHashMap<String,Catalog> catalogs(DataRuntime runtime, int index, boolean create, LinkedHashMap<String,Catalog> catalogs, Catalog catalog, Schema schema, DataSet set) throws Exception
catalogs 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照 buildQueryDatabaseRun 返回顺序create - 上一步没有查到的,这一步是否需要新创建catalogs - 上一步查询结果set - 查询结果集Exception - 异常public List<Catalog> catalogs(DataRuntime runtime, int index, boolean create, List<Catalog> catalogs, Catalog catalog, Schema schema, DataSet set) throws Exception
catalogs 在接口中 DriverAdapterExceptionpublic LinkedHashMap<String,Catalog> catalogs(DataRuntime runtime, boolean create, LinkedHashMap<String,Catalog> catalogs) throws Exception
catalogs 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建catalogs - 上一步查询结果Exception - 异常public List<Catalog> catalogs(DataRuntime runtime, boolean create, List<Catalog> catalogs) throws Exception
catalogs 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建catalogs - 上一步查询结果Exception - 异常public Catalog catalog(DataRuntime runtime, int index, boolean create, Catalog catalog, DataSet set) throws Exception
catalog 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照 buildQueryDatabaseRun 返回顺序create - 上一步没有查到的,这一步是否需要新创建catalog - 上一步查询结果set - 查询结果集Exception - 异常public Catalog catalog(DataRuntime runtime, boolean create, Catalog catalog) throws Exception
catalog 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建catalog - 上一步查询结果Exception - 异常public Schema schema(DataRuntime runtime, String random)
schema 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令public LinkedHashMap<String,Schema> schemas(DataRuntime runtime, String random, Catalog catalog, String name)
schemas 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令catalog - catalogname - 名称统配符或正则public List<Schema> schemas(DataRuntime runtime, String random, boolean greedy, Catalog catalog, String name)
schemas 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令catalog - catalogname - 名称统配符或正则public List<Run> buildQuerySchemaRun(DataRuntime runtime, String random) throws Exception
buildQuerySchemaRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端Exception - 异常public List<Run> buildQuerySchemasRun(DataRuntime runtime, boolean greedy, Catalog catalog, String name) throws Exception
buildQuerySchemasRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端name - 名称统配符或正则greedy - 贪婪模式 true:查询权限范围内尽可能多的数据catalog - catalogException - 异常public LinkedHashMap<String,Schema> schemas(DataRuntime runtime, int index, boolean create, LinkedHashMap<String,Schema> schemas, Catalog catalog, Schema schema, DataSet set) throws Exception
schemas 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照 buildQueryDatabaseRun 返回顺序create - 上一步没有查到的,这一步是否需要新创建schemas - 上一步查询结果set - 查询结果集Exception - 异常public List<Schema> schemas(DataRuntime runtime, int index, boolean create, List<Schema> schemas, Catalog catalog, Schema schema, DataSet set) throws Exception
schemas 在接口中 DriverAdapterExceptionpublic LinkedHashMap<String,Schema> schemas(DataRuntime runtime, boolean create, LinkedHashMap<String,Schema> schemas) throws Exception
schemas 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建schemas - 上一步查询结果Exception - 异常public List<Schema> schemas(DataRuntime runtime, boolean create, List<Schema> schemas) throws Exception
schemas 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建schemas - 上一步查询结果Exception - 异常public Schema schema(DataRuntime runtime, int index, boolean create, Schema schema, DataSet set) throws Exception
schema 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照 buildQuerySchemaRun 返回顺序create - 上一步没有查到的,这一步是否需要新创建schema - 上一步查询结果set - 查询结果集Exception - 异常public Schema schema(DataRuntime runtime, boolean create, Schema schema) throws Exception
schema 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建schema - 上一步查询结果Exception - 异常public <T extends Metadata> T checkName(DataRuntime runtime, String random, T meta) throws RuntimeException
checkName 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令meta - 表,视图等Exception - 如果区分不出来的抛出异常RuntimeExceptionpublic <T extends Table> List<T> tables(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, int struct, ConfigStore configs)
tables 在接口中 DriverAdapterT - Tableruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令greedy - 贪婪模式 true:查询权限范围内尽可能多的数据catalog - catalogschema - schemapattern - 名称统配符或正则types - Metadata.TYPE.struct - 是否查询表结构protected void tableMap(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, ConfigStore configs)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令catalog - catalogschema - schemapublic <T extends Table> LinkedHashMap<String,T> tables(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern, int types, int struct, ConfigStore configs)
tables 在接口中 DriverAdapterpublic List<Run> buildQueryTablesRun(DataRuntime runtime, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, ConfigStore configs) throws Exception
buildQueryTablesRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端greedy - 贪婪模式 true:查询权限范围内尽可能多的数据catalog - catalogschema - schemapattern - 名称统配符或正则types - Metadata.TYPE.Exception - Exceptionpublic List<Run> buildQueryTablesCommentRun(DataRuntime runtime, Catalog catalog, Schema schema, String pattern, int types) throws Exception
buildQueryTablesCommentRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端catalog - catalogschema - schemapattern - 名称统配符或正则types - types Metadata.TYPE.Exception - Exceptionpublic <T extends Table> LinkedHashMap<String,T> tables(DataRuntime runtime, int index, boolean create, LinkedHashMap<String,T> tables, Catalog catalog, Schema schema, DataSet set) throws Exception
tables 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照buildQueryTablesRun返回顺序create - 上一步没有查到的,这一步是否需要新创建catalog - catalogschema - schematables - 上一步查询结果set - 查询结果集Exception - 异常public <T extends Table> List<T> tables(DataRuntime runtime, int index, boolean create, List<T> tables, Catalog catalog, Schema schema, DataSet set) throws Exception
tables 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照buildQueryTablesRun返回顺序create - 上一步没有查到的,这一步是否需要新创建catalog - catalogschema - schematables - 上一步查询结果set - 查询结果集Exception - 异常public <T extends Table> LinkedHashMap<String,T> tables(DataRuntime runtime, boolean create, LinkedHashMap<String,T> tables, Catalog catalog, Schema schema, String pattern, int types) throws Exception
tables 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建tables - 上一步查询结果catalog - catalogschema - schemapattern - 名称统配符或正则types - types Metadata.TYPE.Exception - 异常public <T extends Table> List<T> tables(DataRuntime runtime, boolean create, List<T> tables, Catalog catalog, Schema schema, String pattern, int types) throws Exception
tables 在接口中 DriverAdapterT - Tableruntime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建tables - 上一步查询结果catalog - catalogschema - schemapattern - 名称统配符或正则types - types Metadata.TYPE.Exception - 异常public <T extends Table> T init(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
init 在接口中 DriverAdapterT - Tableruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果catalog - catalogschema - schemarow - 查询结果集public <T extends Table> T detail(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
detail 在接口中 DriverAdapterT - Tableruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果row - 查询结果集public TableMetadataAdapter tableMetadataAdapter(DataRuntime runtime)
tableMetadataAdapter 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端public <T extends Table> LinkedHashMap<String,T> comments(DataRuntime runtime, int index, boolean create, LinkedHashMap<String,T> tables, Catalog catalog, Schema schema, DataSet set) throws Exception
comments 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照buildQueryTablesRun返回顺序create - 上一步没有查到的,这一步是否需要新创建catalog - catalogschema - schematables - 上一步查询结果set - 查询结果集Exception - 异常public <T extends Table> List<T> comments(DataRuntime runtime, int index, boolean create, List<T> tables, Catalog catalog, Schema schema, DataSet set) throws Exception
comments 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照buildQueryTablesRun返回顺序create - 上一步没有查到的,这一步是否需要新创建catalog - catalogschema - schematables - 上一步查询结果set - 查询结果集Exception - 异常public List<String> ddl(DataRuntime runtime, String random, Table table, boolean init)
ddl 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令table - 表init - 是否还原初始状态 如自增状态public List<Run> buildQueryDdlsRun(DataRuntime runtime, Table table) throws Exception
buildQueryDdlsRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端table - 表Exceptionpublic List<String> ddl(DataRuntime runtime, int index, Table table, List<String> ddls, DataSet set)
ddl 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照 buildQueryDdlsRun 返回顺序table - 表ddls - 上一步查询结果set - sql执行的结果集public <T extends VertexTable> List<T> vertexTables(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, int struct, ConfigStore configs)
vertexTables 在接口中 DriverAdapterT - VertexTableruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令greedy - 贪婪模式 true:查询权限范围内尽可能多的数据catalog - catalogschema - schemapattern - 名称统配符或正则types - Metadata.TYPE.struct - 是否查询表结构protected void vertexTableMap(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, ConfigStore configs)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令catalog - catalogschema - schemapublic <T extends VertexTable> LinkedHashMap<String,T> vertexTables(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern, int types, int struct, ConfigStore configs)
vertexTables 在接口中 DriverAdapterpublic List<Run> buildQueryVertexTablesRun(DataRuntime runtime, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, ConfigStore configs) throws Exception
buildQueryVertexTablesRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端greedy - 贪婪模式 true:查询权限范围内尽可能多的数据catalog - catalogschema - schemapattern - 名称统配符或正则types - Metadata.TYPE.Exception - Exceptionpublic List<Run> buildQueryVertexTablesCommentRun(DataRuntime runtime, Catalog catalog, Schema schema, String pattern, int types) throws Exception
buildQueryVertexTablesCommentRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端catalog - catalogschema - schemapattern - 名称统配符或正则types - types Metadata.TYPE.Exception - Exceptionpublic <T extends VertexTable> LinkedHashMap<String,T> vertexTables(DataRuntime runtime, int index, boolean create, LinkedHashMap<String,T> vertexTables, Catalog catalog, Schema schema, DataSet set) throws Exception
vertexTables 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照buildQueryVertexTablesRun返回顺序create - 上一步没有查到的,这一步是否需要新创建catalog - catalogschema - schemavertexTables - 上一步查询结果set - 查询结果集Exception - 异常public <T extends VertexTable> List<T> vertexTables(DataRuntime runtime, int index, boolean create, List<T> vertexTables, Catalog catalog, Schema schema, DataSet set) throws Exception
vertexTables 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照buildQueryVertexTablesRun返回顺序create - 上一步没有查到的,这一步是否需要新创建catalog - catalogschema - schemavertexTables - 上一步查询结果set - 查询结果集Exception - 异常public <T extends VertexTable> LinkedHashMap<String,T> vertexTables(DataRuntime runtime, boolean create, LinkedHashMap<String,T> vertexTables, Catalog catalog, Schema schema, String pattern, int types) throws Exception
vertexTables 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建vertexTables - 上一步查询结果catalog - catalogschema - schemapattern - 名称统配符或正则types - types Metadata.TYPE.Exception - 异常public <T extends VertexTable> List<T> vertexTables(DataRuntime runtime, boolean create, List<T> vertexTables, Catalog catalog, Schema schema, String pattern, int types) throws Exception
vertexTables 在接口中 DriverAdapterT - VertexTableruntime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建vertexTables - 上一步查询结果catalog - catalogschema - schemapattern - 名称统配符或正则types - types Metadata.TYPE.Exception - 异常public <T extends VertexTable> T init(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
init 在接口中 DriverAdapterT - VertexTableruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果catalog - catalogschema - schemarow - 查询结果集public <T extends VertexTable> T detail(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
detail 在接口中 DriverAdapterT - VertexTableruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果row - 查询结果集public VertexTableMetadataAdapter vertexTableMetadataAdapter(DataRuntime runtime)
vertexTableMetadataAdapter 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端public List<String> ddl(DataRuntime runtime, String random, VertexTable vertexTable, boolean init)
ddl 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令vertexTable - 表init - 是否还原初始状态 如自增状态public List<Run> buildQueryDdlsRun(DataRuntime runtime, VertexTable vertexTable) throws Exception
buildQueryDdlsRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端vertexTable - 表Exceptionpublic List<String> ddl(DataRuntime runtime, int index, VertexTable vertexTable, List<String> ddls, DataSet set)
ddl 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照 buildQueryDdlsRun 返回顺序vertexTable - 表ddls - 上一步查询结果set - sql执行的结果集public <T extends EdgeTable> List<T> edgeTables(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, int struct, ConfigStore configs)
edgeTables 在接口中 DriverAdapterT - EdgeTableruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令greedy - 贪婪模式 true:查询权限范围内尽可能多的数据catalog - catalogschema - schemapattern - 名称统配符或正则types - Metadata.TYPE.struct - 是否查询表结构protected void edgeTableMap(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, ConfigStore configs)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令catalog - catalogschema - schemapublic <T extends EdgeTable> LinkedHashMap<String,T> edgeTables(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern, int types, int struct, ConfigStore configs)
edgeTables 在接口中 DriverAdapterpublic List<Run> buildQueryEdgeTablesRun(DataRuntime runtime, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, ConfigStore configs) throws Exception
buildQueryEdgeTablesRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端greedy - 贪婪模式 true:查询权限范围内尽可能多的数据catalog - catalogschema - schemapattern - 名称统配符或正则types - Metadata.TYPE.Exception - Exceptionpublic List<Run> buildQueryEdgeTablesCommentRun(DataRuntime runtime, Catalog catalog, Schema schema, String pattern, int types) throws Exception
buildQueryEdgeTablesCommentRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端catalog - catalogschema - schemapattern - 名称统配符或正则types - types Metadata.TYPE.Exception - Exceptionpublic <T extends EdgeTable> LinkedHashMap<String,T> edgeTables(DataRuntime runtime, int index, boolean create, LinkedHashMap<String,T> edgeTables, Catalog catalog, Schema schema, DataSet set) throws Exception
edgeTables 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照buildQueryEdgeTablesRun返回顺序create - 上一步没有查到的,这一步是否需要新创建catalog - catalogschema - schemaedgeTables - 上一步查询结果set - 查询结果集Exception - 异常public <T extends EdgeTable> List<T> edgeTables(DataRuntime runtime, int index, boolean create, List<T> edgeTables, Catalog catalog, Schema schema, DataSet set) throws Exception
edgeTables 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照buildQueryEdgeTablesRun返回顺序create - 上一步没有查到的,这一步是否需要新创建catalog - catalogschema - schemaedgeTables - 上一步查询结果set - 查询结果集Exception - 异常public <T extends EdgeTable> LinkedHashMap<String,T> edgeTables(DataRuntime runtime, boolean create, LinkedHashMap<String,T> edgeTables, Catalog catalog, Schema schema, String pattern, int types) throws Exception
edgeTables 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建edgeTables - 上一步查询结果catalog - catalogschema - schemapattern - 名称统配符或正则types - types Metadata.TYPE.Exception - 异常public <T extends EdgeTable> List<T> edgeTables(DataRuntime runtime, boolean create, List<T> edgeTables, Catalog catalog, Schema schema, String pattern, int types) throws Exception
edgeTables 在接口中 DriverAdapterT - EdgeTableruntime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建edgeTables - 上一步查询结果catalog - catalogschema - schemapattern - 名称统配符或正则types - types Metadata.TYPE.Exception - 异常public <T extends EdgeTable> T init(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
init 在接口中 DriverAdapterT - EdgeTableruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果catalog - catalogschema - schemarow - 查询结果集public <T extends EdgeTable> T detail(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
detail 在接口中 DriverAdapterT - EdgeTableruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果row - 查询结果集public EdgeTableMetadataAdapter edgeTableMetadataAdapter(DataRuntime runtime)
edgeTableMetadataAdapter 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端public List<String> ddl(DataRuntime runtime, String random, EdgeTable meta, boolean init)
ddl 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令meta - 表init - 是否还原初始状态 如自增状态public List<Run> buildQueryDdlsRun(DataRuntime runtime, EdgeTable meta) throws Exception
buildQueryDdlsRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表Exceptionpublic List<String> ddl(DataRuntime runtime, int index, EdgeTable meta, List<String> ddls, DataSet set)
ddl 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照 buildQueryDdlsRun 返回顺序meta - 表ddls - 上一步查询结果set - sql执行的结果集public <T extends View> List<T> views(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, int struct, ConfigStore configs)
views 在接口中 DriverAdapterT - Viewruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令greedy - 贪婪模式 true:查询权限范围内尽可能多的数据catalog - catalogschema - schemapattern - 名称统配符或正则types - Metadata.TYPE.struct - 是否查询视图结构protected void viewMap(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, ConfigStore configs)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令catalog - catalogschema - schemapublic <T extends View> LinkedHashMap<String,T> views(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern, int types, int struct, ConfigStore configs)
views 在接口中 DriverAdapterpublic List<Run> buildQueryViewsRun(DataRuntime runtime, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, ConfigStore configs) throws Exception
buildQueryViewsRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端greedy - 贪婪模式 true:查询权限范围内尽可能多的数据catalog - catalogschema - schemapattern - 名称统配符或正则types - Metadata.TYPE.Exception - Exceptionpublic List<Run> buildQueryViewsCommentRun(DataRuntime runtime, Catalog catalog, Schema schema, String pattern, int types) throws Exception
buildQueryViewsCommentRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端catalog - catalogschema - schemapattern - 名称统配符或正则types - types Metadata.TYPE.Exception - Exceptionpublic <T extends View> LinkedHashMap<String,T> views(DataRuntime runtime, int index, boolean create, LinkedHashMap<String,T> views, Catalog catalog, Schema schema, DataSet set) throws Exception
views 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照buildQueryViewsRun返回顺序create - 上一步没有查到的,这一步是否需要新创建catalog - catalogschema - schemaviews - 上一步查询结果set - 查询结果集Exception - 异常public <T extends View> List<T> views(DataRuntime runtime, int index, boolean create, List<T> views, Catalog catalog, Schema schema, DataSet set) throws Exception
views 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照buildQueryViewsRun返回顺序create - 上一步没有查到的,这一步是否需要新创建catalog - catalogschema - schemaviews - 上一步查询结果set - 查询结果集Exception - 异常public <T extends View> LinkedHashMap<String,T> views(DataRuntime runtime, boolean create, LinkedHashMap<String,T> views, Catalog catalog, Schema schema, String pattern, int types) throws Exception
views 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建views - 上一步查询结果catalog - catalogschema - schemapattern - 名称统配符或正则types - types Metadata.TYPE.Exception - 异常public <T extends View> List<T> views(DataRuntime runtime, boolean create, List<T> views, Catalog catalog, Schema schema, String pattern, int types) throws Exception
views 在接口中 DriverAdapterT - Viewruntime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建views - 上一步查询结果catalog - catalogschema - schemapattern - 名称统配符或正则types - types Metadata.TYPE.Exception - 异常public <T extends View> T init(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
init 在接口中 DriverAdapterT - Viewruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果catalog - catalogschema - schemarow - 查询结果集public <T extends View> T detail(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
detail 在接口中 DriverAdapterT - Viewruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果row - 查询结果集public ViewMetadataAdapter viewMetadataAdapter(DataRuntime runtime)
viewMetadataAdapter 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端public List<String> ddl(DataRuntime runtime, String random, View view, boolean init)
ddl 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令view - 视图init - 是否还原初始状态 如自增状态public List<Run> buildQueryDdlsRun(DataRuntime runtime, View view) throws Exception
buildQueryDdlsRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端view - 视图Exceptionpublic List<String> ddl(DataRuntime runtime, int index, View view, List<String> ddls, DataSet set)
ddl 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照 buildQueryDdlsRun 返回顺序view - 视图ddls - 上一步查询结果set - sql执行的结果集public <T extends MasterTable> List<T> masterTables(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, int struct, ConfigStore configs)
masterTables 在接口中 DriverAdapterT - MasterTableruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令greedy - 贪婪模式 true:查询权限范围内尽可能多的数据catalog - catalogschema - schemapattern - 名称统配符或正则types - Metadata.TYPE.struct - 是否查询表结构protected void masterTableMap(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, ConfigStore configs)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令catalog - catalogschema - schemapublic <T extends MasterTable> LinkedHashMap<String,T> masterTables(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern, int types, int struct, ConfigStore configs)
masterTables 在接口中 DriverAdapterpublic List<Run> buildQueryMasterTablesRun(DataRuntime runtime, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, ConfigStore configs) throws Exception
buildQueryMasterTablesRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端greedy - 贪婪模式 true:查询权限范围内尽可能多的数据catalog - catalogschema - schemapattern - 名称统配符或正则types - Metadata.TYPE.Exception - Exceptionpublic List<Run> buildQueryMasterTablesCommentRun(DataRuntime runtime, Catalog catalog, Schema schema, String pattern, int types) throws Exception
buildQueryMasterTablesCommentRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端catalog - catalogschema - schemapattern - 名称统配符或正则types - types Metadata.TYPE.Exception - Exceptionpublic <T extends MasterTable> LinkedHashMap<String,T> masterTables(DataRuntime runtime, int index, boolean create, LinkedHashMap<String,T> masterTables, Catalog catalog, Schema schema, DataSet set) throws Exception
masterTables 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照buildQueryMasterTablesRun返回顺序create - 上一步没有查到的,这一步是否需要新创建catalog - catalogschema - schemamasterTables - 上一步查询结果set - 查询结果集Exception - 异常public <T extends MasterTable> List<T> masterTables(DataRuntime runtime, int index, boolean create, List<T> masterTables, Catalog catalog, Schema schema, DataSet set) throws Exception
masterTables 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照buildQueryMasterTablesRun返回顺序create - 上一步没有查到的,这一步是否需要新创建catalog - catalogschema - schemamasterTables - 上一步查询结果set - 查询结果集Exception - 异常public <T extends MasterTable> LinkedHashMap<String,T> masterTables(DataRuntime runtime, boolean create, LinkedHashMap<String,T> masterTables, Catalog catalog, Schema schema, String pattern, int types) throws Exception
masterTables 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建masterTables - 上一步查询结果catalog - catalogschema - schemapattern - 名称统配符或正则types - types Metadata.TYPE.Exception - 异常public <T extends MasterTable> List<T> masterTables(DataRuntime runtime, boolean create, List<T> masterTables, Catalog catalog, Schema schema, String pattern, int types) throws Exception
masterTables 在接口中 DriverAdapterT - MasterTableruntime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建masterTables - 上一步查询结果catalog - catalogschema - schemapattern - 名称统配符或正则types - types Metadata.TYPE.Exception - 异常public <T extends MasterTable> T init(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
init 在接口中 DriverAdapterT - MasterTableruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果catalog - catalogschema - schemarow - 查询结果集public <T extends MasterTable> T detail(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
detail 在接口中 DriverAdapterT - MasterTableruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果row - 查询结果集public MasterTableMetadataAdapter masterTableMetadataAdapter(DataRuntime runtime)
masterTableMetadataAdapter 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端public List<String> ddl(DataRuntime runtime, String random, MasterTable meta, boolean init)
ddl 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令meta - 表init - 是否还原初始状态 如自增状态public List<Run> buildQueryDdlsRun(DataRuntime runtime, MasterTable masterTable) throws Exception
buildQueryDdlsRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端masterTable - 表Exceptionpublic List<String> ddl(DataRuntime runtime, int index, MasterTable masterTable, List<String> ddls, DataSet set)
ddl 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照 buildQueryDdlsRun 返回顺序masterTable - 表ddls - 上一步查询结果set - sql执行的结果集public <T extends PartitionTable> LinkedHashMap<String,T> partitionTables(DataRuntime runtime, String random, boolean greedy, MasterTable master, Map<String,Object> tags, String pattern)
partitionTables 在接口中 DriverAdapterT - MasterTableruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令greedy - 贪婪模式 true:查询权限范围内尽可能多的数据master - 主表pattern - 名称统配符或正则public List<Run> buildQueryPartitionTablesRun(DataRuntime runtime, Catalog catalog, Schema schema, String pattern, int types) throws Exception
buildQueryPartitionTablesRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端catalog - catalogschema - schemapattern - 名称统配符或正则types - typesExceptionpublic List<Run> buildQueryPartitionTablesRun(DataRuntime runtime, Table master, Map<String,Object> tags, String name) throws Exception
buildQueryPartitionTablesRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端master - 主表tags - 标签名+标签值name - 名称统配符或正则Exception - 异常public List<Run> buildQueryPartitionTablesRun(DataRuntime runtime, Table master, Map<String,Object> tags) throws Exception
buildQueryPartitionTablesRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端master - 主表tags - 标签名+标签值Exception - 异常public List<Run> buildQueryPartitionTablesRun(DataRuntime runtime, Table master) throws Exception
buildQueryPartitionTablesRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端master - 主表Exception - 异常public <T extends PartitionTable> LinkedHashMap<String,T> partitionTables(DataRuntime runtime, int total, int index, boolean create, MasterTable master, LinkedHashMap<String,T> tables, Catalog catalog, Schema schema, DataSet set) throws Exception
partitionTables 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端total - 合计SQL数量index - 第几条SQL 对照 buildQueryMasterTablesRun返回顺序create - 上一步没有查到的,这一步是否需要新创建master - 主表catalog - catalogschema - schematables - 上一步查询结果set - 查询结果集Exception - 异常public <T extends PartitionTable> LinkedHashMap<String,T> partitionTables(DataRuntime runtime, boolean create, LinkedHashMap<String,T> tables, Catalog catalog, Schema schema, MasterTable master) throws Exception
partitionTables 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建master - 主表catalog - catalogschema - schematables - 上一步查询结果Exception - 异常public List<String> ddl(DataRuntime runtime, String random, PartitionTable table)
ddl 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令table - PartitionTablepublic List<Run> buildQueryDdlsRun(DataRuntime runtime, PartitionTable table) throws Exception
buildQueryDdlsRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端table - PartitionTableExceptionpublic List<String> ddl(DataRuntime runtime, int index, PartitionTable table, List<String> ddls, DataSet set)
ddl 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照 buildQueryDdlsRun 返回顺序table - MasterTableddls - 上一步查询结果set - sql执行的结果集public <T extends PartitionTable> T init(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
init 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果catalog - catalogschema - schemarow - 查询结果集public <T extends PartitionTable> T detail(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
detail 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果row - 查询结果集public <T extends Column> LinkedHashMap<String,T> columns(DataRuntime runtime, String random, boolean greedy, Table table, boolean primary)
columns 在接口中 DriverAdapterT - Columnruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令greedy - 贪婪模式 true:如果不填写catalog或schema则查询全部 false:只在当前catalog和schema中查询table - 表primary - 是否检测主键public <T extends Column> List<T> columns(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, Table table)
columns 在接口中 DriverAdapterT - Columnruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令greedy - 贪婪模式 true:如果不填写catalog或schema则查询全部 false:只在当前catalog和schema中查询catalog - catalogschema - schematable - 查询全部表时 输入nullpublic <T extends Column> List<T> columns(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, Collection<? extends Table> tables)
columns 在接口中 DriverAdapterT - Columnruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令greedy - 贪婪模式 true:如果不填写catalog或schema则查询全部 false:只在当前catalog和schema中查询catalog - catalogschema - schematables - 表public <T extends Column> LinkedHashMap<String,T> columns(DataRuntime runtime, boolean create, LinkedHashMap<String,T> columns, Table table, String pattern) throws Exception
columns 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建table - 表Exception - 异常public List<Run> buildQueryColumnsRun(DataRuntime runtime, Table table, boolean metadata) throws Exception
buildQueryColumnsRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端table - 表metadata - 是否根据metadata(true:SELECT * FROM T WHERE 1=0,false:查询系统表)Exceptionpublic List<Run> buildQueryColumnsRun(DataRuntime runtime, Catalog catalog, Schema schema, Collection<? extends Table> tables, boolean metadata) throws Exception
buildQueryColumnsRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端catalog - catalogschema - schematables - 表metadata - 是否根据metadata(true:SELECT * FROM T WHERE 1=0,false:查询系统表)Exceptionpublic <T extends Column> LinkedHashMap<String,T> columns(DataRuntime runtime, int index, boolean create, Table table, LinkedHashMap<String,T> columns, DataSet set) throws Exception
columns 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照 buildQueryColumnsRun返回顺序create - 上一步没有查到的,这一步是否需要新创建table - 表columns - 上一步查询结果set - 系统表查询SQL结果集Exception - 异常public <T extends Column> List<T> columns(DataRuntime runtime, int index, boolean create, Table table, List<T> columns, DataSet set) throws Exception
columns 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照 buildQueryColumnsRun返回顺序create - 上一步没有查到的,这一步是否需要新创建table - 表columns - 上一步查询结果set - 系统表查询SQL结果集Exception - 异常public <T extends Column> List<T> columns(DataRuntime runtime, int index, boolean create, Collection<? extends Table> tables, List<T> columns, DataSet set) throws Exception
columns 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照 buildQueryColumnsRun返回顺序create - 上一步没有查到的,这一步是否需要新创建tables - 表columns - 上一步查询结果set - 系统表查询SQL结果集Exception - 异常public <T extends Column> T init(DataRuntime runtime, int index, T meta, Table table, DataRow row)
init 在接口中 DriverAdapterT - Columnruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果table - 表row - 系统表查询SQL结果集public <T extends Column> T detail(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
detail 在接口中 DriverAdapterT - Columnruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果row - 系统表查询SQL结果集public ColumnMetadataAdapter columnMetadataAdapter(DataRuntime runtime)
columnMetadataAdapter 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端public ColumnMetadataAdapter columnMetadataAdapter(DataRuntime runtime, TypeMetadata meta)
columnMetadataAdapter 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 具体数据类型,length/precisoin/scale三个属性需要根据数据类型覆盖通用配置public String columnMetadataLengthRefer(DataRuntime runtime, TypeMetadata meta)
columnMetadataLengthRefer 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - TypeMetadatapublic String columnMetadataPrecisionRefer(DataRuntime runtime, TypeMetadata meta)
columnMetadataPrecisionRefer 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - TypeMetadatapublic String columnMetadataScaleRefer(DataRuntime runtime, TypeMetadata meta)
columnMetadataScaleRefer 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - TypeMetadatapublic int columnMetadataIgnoreLength(DataRuntime runtime, TypeMetadata meta)
columnMetadataIgnoreLength 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - TypeMetadatapublic int columnMetadataIgnorePrecision(DataRuntime runtime, TypeMetadata meta)
columnMetadataIgnorePrecision 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - TypeMetadatapublic int columnMetadataIgnoreScale(DataRuntime runtime, TypeMetadata meta)
columnMetadataIgnoreScale 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - TypeMetadatapublic <T extends Tag> LinkedHashMap<String,T> tags(DataRuntime runtime, String random, boolean greedy, Table table)
tags 在接口中 DriverAdapterT - Tagruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令greedy - 贪婪模式 true:如果不填写catalog或schema则查询全部 false:只在当前catalog和schema中查询table - 表public List<Run> buildQueryTagsRun(DataRuntime runtime, Table table, boolean metadata) throws Exception
buildQueryTagsRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端table - 表metadata - 是否需要根据metadataExceptionpublic <T extends Tag> LinkedHashMap<String,T> tags(DataRuntime runtime, int index, boolean create, Table table, LinkedHashMap<String,T> tags, DataSet set) throws Exception
tags 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条查询SQL 对照 buildQueryTagsRun返回顺序create - 上一步没有查到的,这一步是否需要新创建table - 表tags - 上一步查询结果set - 查询结果集Exception - 异常public <T extends Tag> LinkedHashMap<String,T> tags(DataRuntime runtime, boolean create, LinkedHashMap<String,T> tags, Table table, String pattern) throws Exception
tags 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建table - 表tags - 上一步查询结果pattern - 名称统配符或正则Exception - 异常public <T extends Tag> T init(DataRuntime runtime, int index, T meta, Table table, DataRow row)
init 在接口中 DriverAdapterT - Tagruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果table - 表row - 系统表查询SQL结果集public <T extends Tag> T detail(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
detail 在接口中 DriverAdapterT - Tagruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果row - 系统表查询SQL结果集public PrimaryKey primary(DataRuntime runtime, String random, boolean greedy, Table table)
primary 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令greedy - 贪婪模式 true:如果不填写catalog或schema则查询全部 false:只在当前catalog和schema中查询table - 表public List<Run> buildQueryPrimaryRun(DataRuntime runtime, Table table) throws Exception
buildQueryPrimaryRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端table - 表Exceptionpublic <T extends PrimaryKey> T init(DataRuntime runtime, int index, T meta, Table table, DataSet set) throws Exception
init 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端table - 表set - sql查询结果index - 第几条查询SQL 对照 buildQueryIndexesRun 返回顺序meta - 上一步封装结果Exception - 异常public <T extends PrimaryKey> T detail(DataRuntime runtime, int index, T meta, Table table, DataSet set) throws Exception
detail 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端table - 表set - sql查询结果index - 第几条查询SQL 对照 buildQueryIndexesRun 返回顺序meta - 上一步封装结果Exception - 异常public PrimaryMetadataAdapter primaryMetadataAdapter(DataRuntime runtime)
primaryMetadataAdapter 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端public PrimaryKey primary(DataRuntime runtime, Table table) throws Exception
primary 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端table - 表Exception - 异常public <T extends ForeignKey> LinkedHashMap<String,T> foreigns(DataRuntime runtime, String random, boolean greedy, Table table)
foreigns 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令greedy - 贪婪模式 true:如果不填写catalog或schema则查询全部 false:只在当前catalog和schema中查询table - 表public List<Run> buildQueryForeignsRun(DataRuntime runtime, Table table) throws Exception
buildQueryForeignsRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端table - 表Exceptionpublic <T extends ForeignKey> LinkedHashMap<String,T> foreigns(DataRuntime runtime, int index, Table table, LinkedHashMap<String,T> foreigns, DataSet set) throws Exception
foreigns 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条查询SQL 对照 buildQueryForeignsRun 返回顺序table - 表foreigns - 上一步查询结果set - sql查询结果Exception - 异常public <T extends ForeignKey> T init(DataRuntime runtime, int index, T meta, Table table, DataRow row) throws Exception
init 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条查询SQL 对照 buildQueryIndexesRun 返回顺序meta - 上一步封装结果table - 表row - sql查询结果Exception - 异常public <T extends ForeignKey> T detail(DataRuntime runtime, int index, T meta, Table table, DataRow row) throws Exception
detail 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条查询SQL 对照 buildQueryIndexesRun 返回顺序meta - 上一步封装结果table - 表row - sql查询结果Exception - 异常public <T extends Index> List<T> indexes(DataRuntime runtime, String random, boolean greedy, Collection<? extends Table> tables)
indexes 在接口中 DriverAdapterT - Indexruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令greedy - 贪婪模式 true:如果不填写catalog或schema则查询全部 false:只在当前catalog和schema中查询tables - 表public <T extends Index> List<T> indexes(DataRuntime runtime, String random, boolean greedy, Table table, String pattern)
DriverAdapterindexes 在接口中 DriverAdapterT - Indexruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令greedy - 贪婪模式 true:如果不填写catalog或schema则查询全部 false:只在当前catalog和schema中查询table - 表pattern - 名称统配符或正则public <T extends Index> LinkedHashMap<String,T> indexes(DataRuntime runtime, String random, Table table, String pattern)
indexes 在接口中 DriverAdapterT - Indexruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令table - 表pattern - 名称统配符或正则public List<Run> buildQueryIndexesRun(DataRuntime runtime, Table table, String name)
buildQueryIndexesRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端table - 表name - 名称public List<Run> buildQueryIndexesRun(DataRuntime runtime, Collection<? extends Table> tables)
buildQueryIndexesRun 在接口中 DriverAdapterpublic <T extends Index> LinkedHashMap<String,T> indexes(DataRuntime runtime, int index, boolean create, Table table, LinkedHashMap<String,T> indexes, DataSet set) throws Exception
indexes 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条查询SQL 对照 buildQueryIndexesRun 返回顺序create - 上一步没有查到的,这一步是否需要新创建table - 表indexes - 上一步查询结果set - 查询结果集Exception - 异常public <T extends Index> List<T> indexes(DataRuntime runtime, int index, boolean create, Table table, List<T> indexes, DataSet set) throws Exception
indexes 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条查询SQL 对照 buildQueryIndexesRun 返回顺序create - 上一步没有查到的,这一步是否需要新创建table - 表indexes - 上一步查询结果set - 查询结果集Exception - 异常public <T extends Index> List<T> indexes(DataRuntime runtime, int index, boolean create, Collection<? extends Table> tables, List<T> indexes, DataSet set) throws Exception
indexes 在接口中 DriverAdapterExceptionpublic <T extends Index> List<T> indexes(DataRuntime runtime, boolean create, List<T> indexes, Table table, boolean unique, boolean approximate) throws Exception
indexes 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建table - 表unique - 是否唯一approximate - 索引允许结果反映近似值Exception - 异常public <T extends Index> LinkedHashMap<String,T> indexes(DataRuntime runtime, boolean create, LinkedHashMap<String,T> indexes, Table table, boolean unique, boolean approximate) throws Exception
indexes 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建table - 表unique - 是否唯一approximate - 索引允许结果反映近似值Exception - 异常public <T extends Index> T init(DataRuntime runtime, int index, T meta, Table table, DataRow row) throws Exception
init 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条查询SQL 对照 buildQueryIndexesRun 返回顺序meta - 上一步封装结果table - 表row - sql查询结果Exception - 异常protected Boolean parseBoolean(DataRow row, String[] cols, String[] vals)
row - 结果集cols - 检测的我vals - 匹配true的值S(只要一项匹配就返回true)public <T extends Index> T detail(DataRuntime runtime, int index, T meta, Table table, DataRow row) throws Exception
detail 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条查询SQL 对照 buildQueryIndexesRun 返回顺序meta - 上一步封装结果table - 表row - sql查询结果Exception - 异常public IndexMetadataAdapter indexMetadataAdapter(DataRuntime runtime)
indexMetadataAdapter 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端public <T extends Constraint> List<T> constraints(DataRuntime runtime, String random, boolean greedy, Table table, String pattern)
constraints 在接口中 DriverAdapterT - Indexruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令greedy - 贪婪模式 true:如果不填写catalog或schema则查询全部 false:只在当前catalog和schema中查询table - 表pattern - 名称统配符或正则public <T extends Constraint> LinkedHashMap<String,T> constraints(DataRuntime runtime, String random, Table table, Column column, String pattern)
constraints 在接口中 DriverAdapterT - Indexruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令table - 表column - 列pattern - 名称统配符或正则public List<Run> buildQueryConstraintsRun(DataRuntime runtime, Table table, Column column, String pattern)
buildQueryConstraintsRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端table - 表pattern - 名称通配符或正则public <T extends Constraint> List<T> constraints(DataRuntime runtime, int index, boolean create, Table table, List<T> constraints, DataSet set) throws Exception
constraints 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条查询SQL 对照 buildQueryConstraintsRun 返回顺序create - 上一步没有查到的,这一步是否需要新创建table - 表constraints - 上一步查询结果set - DataSetException - 异常public <T extends Constraint> LinkedHashMap<String,T> constraints(DataRuntime runtime, int index, boolean create, Table table, Column column, LinkedHashMap<String,T> constraints, DataSet set) throws Exception
constraints 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条查询SQL 对照 buildQueryConstraintsRun 返回顺序create - 上一步没有查到的,这一步是否需要新创建table - 表column - 列constraints - 上一步查询结果set - DataSetException - 异常public <T extends Constraint> T init(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
init 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果catalog - catalogschema - schemarow - 查询结果集public <T extends Constraint> T detail(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
detail 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果row - 查询结果集public ConstraintMetadataAdapter constraintMetadataAdapter(DataRuntime runtime)
constraintMetadataAdapter 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端public <T extends Trigger> LinkedHashMap<String,T> triggers(DataRuntime runtime, String random, boolean greedy, Table table, List<Trigger.EVENT> events)
triggers 在接口中 DriverAdapterT - Indexruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令greedy - 贪婪模式 true:如果不填写catalog或schema则查询全部 false:只在当前catalog和schema中查询table - 表events - 事件 INSERT|UPDATE|DELETEpublic List<Run> buildQueryTriggersRun(DataRuntime runtime, Table table, List<Trigger.EVENT> events)
buildQueryTriggersRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端table - 表events - 事件 INSERT|UPDATE|DELETEpublic <T extends Trigger> LinkedHashMap<String,T> triggers(DataRuntime runtime, int index, boolean create, Table table, LinkedHashMap<String,T> triggers, DataSet set) throws Exception
triggers 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条查询SQL 对照 buildQueryConstraintsRun 返回顺序create - 上一步没有查到的,这一步是否需要新创建table - 表triggers - 上一步查询结果set - 查询结果集Exception - 异常public <T extends Trigger> T init(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
init 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果catalog - catalogschema - schemarow - 查询结果集public <T extends Trigger> T detail(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
detail 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果row - 查询结果集public TriggerMetadataAdapter triggerMetadataAdapter(DataRuntime runtime)
triggerMetadataAdapter 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端public <T extends Procedure> List<T> procedures(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern)
procedures 在接口中 DriverAdapterT - Indexruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令greedy - 贪婪模式 true:如果不填写catalog或schema则查询全部 false:只在当前catalog和schema中查询catalog - catalogschema - schemapattern - 名称统配符或正则public <T extends Procedure> LinkedHashMap<String,T> procedures(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern)
procedures 在接口中 DriverAdapterT - Indexruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令catalog - catalogschema - schemapattern - 名称统配符或正则public List<Run> buildQueryProceduresRun(DataRuntime runtime, Catalog catalog, Schema schema, String pattern)
buildQueryProceduresRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端catalog - catalogschema - schemapattern - 名称统配符或正则public <T extends Procedure> List<T> procedures(DataRuntime runtime, int index, boolean create, List<T> procedures, DataSet set) throws Exception
procedures 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条查询SQL 对照 buildQueryConstraintsRun 返回顺序create - 上一步没有查到的,这一步是否需要新创建procedures - 上一步查询结果set - 查询结果集Exception - 异常public <T extends Procedure> LinkedHashMap<String,T> procedures(DataRuntime runtime, int index, boolean create, LinkedHashMap<String,T> procedures, DataSet set) throws Exception
procedures 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条查询SQL 对照 buildQueryConstraintsRun 返回顺序create - 上一步没有查到的,这一步是否需要新创建procedures - 上一步查询结果set - 查询结果集Exception - 异常public <T extends Procedure> List<T> procedures(DataRuntime runtime, boolean create, List<T> procedures) throws Exception
procedures 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建procedures - 上一步查询结果Exception - 异常public <T extends Procedure> LinkedHashMap<String,T> procedures(DataRuntime runtime, boolean create, LinkedHashMap<String,T> procedures) throws Exception
procedures 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建procedures - 上一步查询结果Exception - 异常public List<String> ddl(DataRuntime runtime, String random, Procedure procedure)
ddl 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令procedure - Procedurepublic List<Run> buildQueryDdlsRun(DataRuntime runtime, Procedure procedure) throws Exception
buildQueryDdlsRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端procedure - 存储过程Exceptionpublic List<String> ddl(DataRuntime runtime, int index, Procedure procedure, List<String> ddls, DataSet set)
ddl 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照 buildQueryDdlsRun 返回顺序procedure - Procedureddls - 上一步查询结果set - 查询结果集public <T extends Procedure> T init(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
init 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果catalog - catalogschema - schemarow - 查询结果集public <T extends Procedure> T detail(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
detail 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果row - 查询结果集public ProcedureMetadataAdapter procedureMetadataAdapter(DataRuntime runtime)
procedureMetadataAdapter 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端public <T extends Function> List<T> functions(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern)
functions 在接口中 DriverAdapterT - Indexruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令greedy - 贪婪模式 true:如果不填写catalog或schema则查询全部 false:只在当前catalog和schema中查询catalog - catalogschema - schemapattern - 名称统配符或正则public <T extends Function> LinkedHashMap<String,T> functions(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern)
functions 在接口中 DriverAdapterT - Indexruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令catalog - catalogschema - schemapattern - 名称统配符或正则public List<Run> buildQueryFunctionsRun(DataRuntime runtime, Catalog catalog, Schema schema, String pattern)
buildQueryFunctionsRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端catalog - catalogschema - schemapattern - 名称统配符或正则public <T extends Function> List<T> functions(DataRuntime runtime, int index, boolean create, List<T> functions, Catalog catalog, Schema schema, DataSet set) throws Exception
functions 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条查询SQL 对照 buildQueryConstraintsRun 返回顺序create - 上一步没有查到的,这一步是否需要新创建functions - 上一步查询结果set - 查询结果集Exception - 异常public <T extends Function> LinkedHashMap<String,T> functions(DataRuntime runtime, int index, boolean create, LinkedHashMap<String,T> functions, Catalog catalog, Schema schema, DataSet set) throws Exception
functions 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条查询SQL 对照 buildQueryConstraintsRun 返回顺序create - 上一步没有查到的,这一步是否需要新创建functions - 上一步查询结果set - 查询结果集Exception - 异常public <T extends Function> List<T> functions(DataRuntime runtime, boolean create, List<T> functions) throws Exception
functions 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建functions - 上一步查询结果Exception - 异常public <T extends Function> LinkedHashMap<String,T> functions(DataRuntime runtime, boolean create, LinkedHashMap<String,T> functions) throws Exception
functions 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建functions - 上一步查询结果Exception - 异常public List<String> ddl(DataRuntime runtime, String random, Function meta)
ddl 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令meta - Functionpublic List<Run> buildQueryDdlsRun(DataRuntime runtime, Function meta) throws Exception
buildQueryDdlsRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 函数Exceptionpublic List<String> ddl(DataRuntime runtime, int index, Function function, List<String> ddls, DataSet set)
ddl 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照 buildQueryDdlsRun 返回顺序function - Functionddls - 上一步查询结果set - 查询结果集public <T extends Function> T init(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
init 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果catalog - catalogschema - schemarow - 查询结果集public <T extends Function> T detail(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
detail 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果row - 查询结果集public FunctionMetadataAdapter functionMetadataAdapter(DataRuntime runtime)
functionMetadataAdapter 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端public <T extends Sequence> List<T> sequences(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern)
sequences 在接口中 DriverAdapterT - Indexruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令greedy - 贪婪模式 true:如果不填写catalog或schema则查询全部 false:只在当前catalog和schema中查询catalog - catalogschema - schemapattern - 名称统配符或正则public <T extends Sequence> LinkedHashMap<String,T> sequences(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern)
sequences 在接口中 DriverAdapterT - Indexruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令catalog - catalogschema - schemapattern - 名称统配符或正则public List<Run> buildQuerySequencesRun(DataRuntime runtime, Catalog catalog, Schema schema, String pattern)
buildQuerySequencesRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端catalog - catalogschema - schemapattern - 名称统配符或正则public <T extends Sequence> List<T> sequences(DataRuntime runtime, int index, boolean create, List<T> sequences, DataSet set) throws Exception
sequences 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条查询SQL 对照 buildQueryConstraintsRun 返回顺序create - 上一步没有查到的,这一步是否需要新创建sequences - 上一步查询结果set - 查询结果集Exception - 异常public <T extends Sequence> LinkedHashMap<String,T> sequences(DataRuntime runtime, int index, boolean create, LinkedHashMap<String,T> sequences, DataSet set) throws Exception
sequences 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条查询SQL 对照 buildQueryConstraintsRun 返回顺序create - 上一步没有查到的,这一步是否需要新创建sequences - 上一步查询结果set - 查询结果集Exception - 异常public <T extends Sequence> List<T> sequences(DataRuntime runtime, boolean create, List<T> sequences) throws Exception
sequences 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建sequences - 上一步查询结果Exception - 异常public <T extends Sequence> LinkedHashMap<String,T> sequences(DataRuntime runtime, boolean create, LinkedHashMap<String,T> sequences) throws Exception
sequences 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建sequences - 上一步查询结果Exception - 异常public List<String> ddl(DataRuntime runtime, String random, Sequence meta)
ddl 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令meta - Sequencepublic List<Run> buildQueryDdlsRun(DataRuntime runtime, Sequence meta) throws Exception
buildQueryDdlsRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 序列Exceptionpublic List<String> ddl(DataRuntime runtime, int index, Sequence sequence, List<String> ddls, DataSet set)
ddl 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照 buildQueryDdlsRun 返回顺序sequence - Sequenceddls - 上一步查询结果set - 查询结果集public <T extends Sequence> T init(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
init 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果catalog - catalogschema - schemarow - 查询结果集public <T extends Sequence> T detail(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
detail 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果row - 查询结果集public SequenceMetadataAdapter sequenceMetadataAdapter(DataRuntime runtime)
sequenceMetadataAdapter 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端public <T extends Schema> T schema(List<T> schemas, Catalog catalog, String name)
T - Tableschemas - schemascatalog - catalogname - namepublic <T extends Catalog> T catalog(List<T> catalogs, String name)
T - Tablecatalogs - catalogsname - namepublic <T extends Database> T database(List<T> databases, String name)
T - Tabledatabases - databasesname - namepublic boolean execute(DataRuntime runtime, String random, Metadata meta, ACTION.DDL action, Run run)
execute 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令meta - Metadata(表,列等)action - 执行命令run - 最终待执行的命令和参数(如果是JDBC环境就是SQL)public boolean execute(DataRuntime runtime, String random, Metadata meta, ACTION.DDL action, List<Run> runs)
execute 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令meta - Metadata(表,列等)action - 执行命令runs - 最终待执行的命令和参数(如果是JDBC环境就是SQL)public boolean create(DataRuntime runtime, Table meta) throws Exception
create 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表Exception - DDL异常protected LinkedHashMap<String,Column> checkColumnAction(DataRuntime runtime, Table meta)
meta - 表protected List<Run> checkAutoIncrement(DataRuntime runtime, String random, Table table, boolean slice) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令table - 表Exception - 异常public List<Run> merge(DataRuntime runtime, Table meta, List<Run> slices)
merge 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表slices - slicespublic boolean alter(DataRuntime runtime, Table meta) throws Exception
alter 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表Exception - DDL异常public boolean drop(DataRuntime runtime, Table meta) throws Exception
drop 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表Exception - DDL异常public boolean rename(DataRuntime runtime, Table origin, String name) throws Exception
rename 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端origin - 原表name - 新名称Exception - DDL异常public String keyword(Metadata meta)
keyword 在接口中 DriverAdaptermeta - 表public List<Run> buildCreateRun(DataRuntime runtime, Table meta) throws Exception
buildCreateRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表Exceptionpublic List<Run> buildAlterRun(DataRuntime runtime, Table meta) throws Exception
buildAlterRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表Exception - 异常public List<Run> buildAlterRun(DataRuntime runtime, Table meta, Collection<Column> columns, boolean slice) throws Exception
buildAlterRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表columns - 列slice - 是否只生成片段(true:不含alter table部分,用于DDL合并)Exceptionpublic List<Run> buildRenameRun(DataRuntime runtime, Table meta) throws Exception
buildRenameRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表Exception - 异常public List<Run> buildDropRun(DataRuntime runtime, Table meta) throws Exception
buildDropRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表Exception - 异常public List<Run> buildAppendCommentRun(DataRuntime runtime, Table meta) throws Exception
buildAppendCommentRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表Exception - 异常public List<Run> buildAppendColumnCommentRun(DataRuntime runtime, Table meta) throws Exception
buildAppendColumnCommentRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表Exception - 异常public List<Run> buildChangeCommentRun(DataRuntime runtime, Table meta) throws Exception
buildChangeCommentRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表Exception - 异常public StringBuilder checkTableExists(DataRuntime runtime, StringBuilder builder, boolean exists)
checkTableExists 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - builderexists - existspublic void checkPrimary(DataRuntime runtime, Table table)
checkPrimary 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端table - 表public StringBuilder primary(DataRuntime runtime, StringBuilder builder, Table meta)
primary 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 表public StringBuilder engine(DataRuntime runtime, StringBuilder builder, Table meta)
engine 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 表public StringBuilder body(DataRuntime runtime, StringBuilder builder, Table meta)
body 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 表public StringBuilder columns(DataRuntime runtime, StringBuilder builder, Table table)
columns 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildertable - 表public StringBuilder indexes(DataRuntime runtime, StringBuilder builder, Table meta)
indexes 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 表public StringBuilder charset(DataRuntime runtime, StringBuilder builder, Table meta)
charset 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 表public StringBuilder comment(DataRuntime runtime, StringBuilder builder, Table meta)
comment 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 表public StringBuilder keys(DataRuntime runtime, StringBuilder builder, Table meta)
keys 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 表public StringBuilder distribution(DataRuntime runtime, StringBuilder builder, Table meta)
distribution 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 表public StringBuilder materialize(DataRuntime runtime, StringBuilder builder, Table meta)
materialize 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 表public StringBuilder property(DataRuntime runtime, StringBuilder builder, Table meta)
property 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 表public StringBuilder partitionBy(DataRuntime runtime, StringBuilder builder, Table meta) throws Exception
partitionBy 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 表Exception - 异常public StringBuilder partitionOf(DataRuntime runtime, StringBuilder builder, Table meta) throws Exception
partitionOf 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 表Exception - 异常public StringBuilder partitionFor(DataRuntime runtime, StringBuilder builder, Table meta) throws Exception
partitionFor 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 表Exception - 异常public StringBuilder inherit(DataRuntime runtime, StringBuilder builder, Table meta) throws Exception
inherit 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 表Exception - 异常public boolean create(DataRuntime runtime, View meta) throws Exception
create 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 视图Exception - DDL异常public boolean alter(DataRuntime runtime, View meta) throws Exception
alter 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 视图Exception - DDL异常public boolean drop(DataRuntime runtime, View meta) throws Exception
drop 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 视图Exception - DDL异常public boolean rename(DataRuntime runtime, View origin, String name) throws Exception
rename 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端origin - 视图name - 新名称Exception - DDL异常public List<Run> buildCreateRun(DataRuntime runtime, View meta) throws Exception
buildCreateRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 视图Exception - 异常public StringBuilder buildCreateRunHead(DataRuntime runtime, StringBuilder builder, View meta) throws Exception
buildCreateRunHead 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 视图Exception - 异常public StringBuilder buildCreateRunOption(DataRuntime runtime, StringBuilder builder, View meta) throws Exception
buildCreateRunOption 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 视图Exception - 异常public List<Run> buildAlterRun(DataRuntime runtime, View meta) throws Exception
buildAlterRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 视图Exception - 异常public List<Run> buildRenameRun(DataRuntime runtime, View meta) throws Exception
buildRenameRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 视图Exception - 异常public List<Run> buildDropRun(DataRuntime runtime, View meta) throws Exception
buildDropRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 视图Exception - 异常public List<Run> buildAppendCommentRun(DataRuntime runtime, View meta) throws Exception
buildAppendCommentRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 视图Exception - 异常public List<Run> buildChangeCommentRun(DataRuntime runtime, View meta) throws Exception
buildChangeCommentRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 视图Exception - 异常public StringBuilder checkViewExists(DataRuntime runtime, StringBuilder builder, boolean exists)
checkViewExists 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - builderexists - existspublic StringBuilder comment(DataRuntime runtime, StringBuilder builder, View meta)
comment 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 视图public boolean create(DataRuntime runtime, MasterTable meta) throws Exception
create 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 主表Exception - DDL异常public boolean alter(DataRuntime runtime, MasterTable meta) throws Exception
alter 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 主表Exception - DDL异常public boolean drop(DataRuntime runtime, MasterTable meta) throws Exception
drop 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 主表Exception - DDL异常public boolean rename(DataRuntime runtime, MasterTable origin, String name) throws Exception
rename 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端origin - 原表name - 新名称Exception - DDL异常public List<Run> buildCreateRun(DataRuntime runtime, MasterTable meta) throws Exception
buildCreateRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表Exception - 异常public List<Run> buildDropRun(DataRuntime runtime, MasterTable meta) throws Exception
buildDropRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表Exception - 异常public List<Run> buildAlterRun(DataRuntime runtime, MasterTable meta) throws Exception
buildAlterRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表Exception - 异常public List<Run> buildRenameRun(DataRuntime runtime, MasterTable meta) throws Exception
buildRenameRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表Exception - 异常public List<Run> buildAppendCommentRun(DataRuntime runtime, MasterTable meta) throws Exception
buildAppendCommentRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表Exception - 异常public List<Run> buildChangeCommentRun(DataRuntime runtime, MasterTable meta) throws Exception
buildChangeCommentRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表Exception - 异常public boolean create(DataRuntime runtime, PartitionTable meta) throws Exception
create 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表Exception - DDL异常public boolean alter(DataRuntime runtime, PartitionTable meta) throws Exception
alter 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表Exception - DDL异常public boolean drop(DataRuntime runtime, PartitionTable meta) throws Exception
drop 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表Exception - DDL异常public boolean rename(DataRuntime runtime, PartitionTable origin, String name) throws Exception
rename 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端origin - 原表name - 新名称Exception - DDL异常public List<Run> buildCreateRun(DataRuntime runtime, PartitionTable meta) throws Exception
buildCreateRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表Exception - 异常public List<Run> buildAppendCommentRun(DataRuntime runtime, PartitionTable meta) throws Exception
buildAppendCommentRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表Exception - 异常public List<Run> buildAlterRun(DataRuntime runtime, PartitionTable meta) throws Exception
buildAlterRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表Exception - 异常public List<Run> buildDropRun(DataRuntime runtime, PartitionTable meta) throws Exception
buildDropRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表Exception - 异常public List<Run> buildRenameRun(DataRuntime runtime, PartitionTable meta) throws Exception
buildRenameRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表Exception - 异常public List<Run> buildChangeCommentRun(DataRuntime runtime, PartitionTable meta) throws Exception
buildChangeCommentRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表Exception - 异常public boolean add(DataRuntime runtime, Column meta) throws Exception
add 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 列Exception - DDL异常public boolean alter(DataRuntime runtime, Table table, Column meta, boolean trigger) throws Exception
alter 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 列trigger - 修改异常时,是否触发监听器Exception - DDL异常public boolean alter(DataRuntime runtime, Column meta) throws Exception
alter 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 列Exception - DDL异常public boolean drop(DataRuntime runtime, Column meta) throws Exception
drop 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 列Exception - DDL异常public boolean rename(DataRuntime runtime, Column origin, String name) throws Exception
rename 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端origin - 列name - 新名称Exception - DDL异常public List<Run> buildAddRun(DataRuntime runtime, Column meta, boolean slice) throws Exception
buildAddRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 列slice - 是否只生成片段(不含alter table部分,用于DDL合并)Exceptionpublic List<Run> buildAlterRun(DataRuntime runtime, Column meta, boolean slice) throws Exception
buildAlterRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 列slice - 是否只生成片段(不含alter table部分,用于DDL合并)Exceptionpublic List<Run> buildDropRun(DataRuntime runtime, Column meta, boolean slice) throws Exception
buildDropRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 列slice - 是否只生成片段(不含alter table部分,用于DDL合并)Exceptionpublic List<Run> buildRenameRun(DataRuntime runtime, Column meta, boolean slice) throws Exception
buildRenameRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 列Exceptionpublic List<Run> buildChangeTypeRun(DataRuntime runtime, Column meta, boolean slice) throws Exception
buildChangeTypeRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 列Exceptionpublic String alterColumnKeyword(DataRuntime runtime)
alterColumnKeyword 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端public StringBuilder addColumnGuide(DataRuntime runtime, StringBuilder builder, Column meta)
addColumnGuide 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - StringBuildermeta - 列public StringBuilder dropColumnGuide(DataRuntime runtime, StringBuilder builder, Column meta)
dropColumnGuide 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - StringBuildermeta - 列public List<Run> buildChangeDefaultRun(DataRuntime runtime, Column meta, boolean slice) throws Exception
buildChangeDefaultRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 列Exceptionpublic List<Run> buildChangeNullableRun(DataRuntime runtime, Column meta, boolean slice) throws Exception
buildChangeNullableRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 列Exceptionpublic List<Run> buildChangeCommentRun(DataRuntime runtime, Column meta, boolean slice) throws Exception
buildChangeCommentRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 列Exceptionpublic List<Run> buildAppendCommentRun(DataRuntime runtime, Column meta, boolean slice) throws Exception
buildAppendCommentRun 在接口中 DriverAdaptermeta - 列runtime - 运行环境主要包含驱动适配器 数据源或客户端Exception - 异常public List<Run> buildDropAutoIncrement(DataRuntime runtime, Column meta, boolean slice) throws Exception
buildDropAutoIncrement 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 列Exception - 异常public StringBuilder define(DataRuntime runtime, StringBuilder builder, Column meta, ACTION.DDL action)
define 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 列action - 区分 创建与修改过程有区别 如有些数据库修改时不支持NULL NOT NULL(如clickhouse)public StringBuilder checkColumnExists(DataRuntime runtime, StringBuilder builder, boolean exists)
checkColumnExists 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - builderexists - existspublic StringBuilder type(DataRuntime runtime, StringBuilder builder, Column meta)
type 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 列public StringBuilder aggregation(DataRuntime runtime, StringBuilder builder, Column meta)
aggregation 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 列public StringBuilder type(DataRuntime runtime, StringBuilder builder, Column meta, String type, int ignoreLength, int ignorePrecision, int ignoreScale)
type 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 列type - 数据类型(已经过转换)ignoreLength - 是否忽略长度ignorePrecision - 是否忽略有效位数ignoreScale - 是否忽略小数public int ignoreLength(DataRuntime runtime, TypeMetadata type)
ignoreLength 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端type - 数据类型public int ignorePrecision(DataRuntime runtime, TypeMetadata type)
ignorePrecision 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端type - TypeMetadatapublic int ignoreScale(DataRuntime runtime, TypeMetadata type)
ignoreScale 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端type - TypeMetadatapublic StringBuilder nullable(DataRuntime runtime, StringBuilder builder, Column meta, ACTION.DDL action)
nullable 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 列public StringBuilder charset(DataRuntime runtime, StringBuilder builder, Column meta)
charset 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 列public StringBuilder defaultValue(DataRuntime runtime, StringBuilder builder, Column meta)
defaultValue 在接口中 DriverAdapterbuilder - buildermeta - 列public StringBuilder primary(DataRuntime runtime, StringBuilder builder, Column meta)
primary 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 列public StringBuilder unique(DataRuntime runtime, StringBuilder builder, Column meta)
unique 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 列public StringBuilder increment(DataRuntime runtime, StringBuilder builder, Column meta)
increment 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 列public StringBuilder onupdate(DataRuntime runtime, StringBuilder builder, Column meta)
onupdate 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 列public StringBuilder position(DataRuntime runtime, StringBuilder builder, Column meta)
position 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 列public StringBuilder comment(DataRuntime runtime, StringBuilder builder, Column meta)
comment 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 列public boolean add(DataRuntime runtime, Tag meta) throws Exception
add 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 标签Exception - 异常public boolean alter(DataRuntime runtime, Table table, Tag meta, boolean trigger) throws Exception
alter 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 标签trigger - 修改异常时,是否触发监听器Exception - 异常public boolean alter(DataRuntime runtime, Tag meta) throws Exception
alter 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 标签Exception - 异常public boolean drop(DataRuntime runtime, Tag meta) throws Exception
drop 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 标签Exception - 异常public boolean rename(DataRuntime runtime, Tag origin, String name) throws Exception
rename 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端origin - 原标签name - 新名称Exception - 异常public List<Run> buildAddRun(DataRuntime runtime, Tag meta, boolean slice) throws Exception
buildAddRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 标签Exceptionpublic List<Run> buildAlterRun(DataRuntime runtime, Tag meta, boolean slice) throws Exception
buildAlterRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 标签Exceptionpublic List<Run> buildDropRun(DataRuntime runtime, Tag meta, boolean slice) throws Exception
buildDropRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 标签Exceptionpublic List<Run> buildRenameRun(DataRuntime runtime, Tag meta, boolean slice) throws Exception
buildRenameRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 标签Exceptionpublic List<Run> buildChangeDefaultRun(DataRuntime runtime, Tag meta, boolean slice) throws Exception
buildChangeDefaultRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 标签Exceptionpublic List<Run> buildChangeNullableRun(DataRuntime runtime, Tag meta, boolean slice) throws Exception
buildChangeNullableRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 标签Exceptionpublic List<Run> buildChangeCommentRun(DataRuntime runtime, Tag meta, boolean slice) throws Exception
buildChangeCommentRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 标签Exceptionpublic List<Run> buildChangeTypeRun(DataRuntime runtime, Tag meta, boolean slice) throws Exception
buildChangeTypeRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 标签Exceptionpublic StringBuilder checkTagExists(DataRuntime runtime, StringBuilder builder, boolean exists)
checkTagExists 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - builderexists - existspublic boolean add(DataRuntime runtime, PrimaryKey meta) throws Exception
add 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 主键Exception - 异常public boolean alter(DataRuntime runtime, PrimaryKey meta) throws Exception
alter 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 主键Exception - 异常public boolean alter(DataRuntime runtime, Table table, PrimaryKey origin, PrimaryKey meta) throws Exception
alter 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端table - 表origin - 原主键meta - 新主键Exception - 异常public boolean drop(DataRuntime runtime, PrimaryKey meta) throws Exception
drop 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 主键Exception - 异常public boolean rename(DataRuntime runtime, PrimaryKey origin, String name) throws Exception
rename 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端origin - 主键name - 新名称Exception - 异常public List<Run> buildAddRun(DataRuntime runtime, PrimaryKey meta, boolean slice) throws Exception
buildAddRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 主键slice - 是否只生成片段(不含alter table部分,用于DDL合并)Exceptionpublic List<Run> buildAlterRun(DataRuntime runtime, PrimaryKey origin, PrimaryKey meta, boolean slice) throws Exception
buildAlterRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端origin - 原主键meta - 新主键Exceptionpublic List<Run> buildDropRun(DataRuntime runtime, PrimaryKey meta, boolean slice) throws Exception
buildDropRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 主键slice - 是否只生成片段(不含alter table部分,用于DDL合并)Exceptionpublic List<Run> buildRenameRun(DataRuntime runtime, PrimaryKey meta) throws Exception
buildRenameRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 主键Exceptionpublic boolean add(DataRuntime runtime, ForeignKey meta) throws Exception
add 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 外键Exception - 异常public boolean alter(DataRuntime runtime, ForeignKey meta) throws Exception
alter 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 外键Exception - 异常public boolean alter(DataRuntime runtime, Table table, ForeignKey meta) throws Exception
alter 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 外键Exception - 异常public boolean drop(DataRuntime runtime, ForeignKey meta) throws Exception
drop 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 外键Exception - 异常public boolean rename(DataRuntime runtime, ForeignKey origin, String name) throws Exception
rename 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端origin - 外键name - 新名称Exception - 异常public List<Run> buildAddRun(DataRuntime runtime, ForeignKey meta) throws Exception
buildAddRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 外键Exceptionpublic List<Run> buildAlterRun(DataRuntime runtime, ForeignKey meta) throws Exception
buildAlterRun 在接口中 DriverAdaptermeta - 外键Exceptionpublic List<Run> buildDropRun(DataRuntime runtime, ForeignKey meta) throws Exception
buildDropRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 外键Exceptionpublic List<Run> buildRenameRun(DataRuntime runtime, ForeignKey meta) throws Exception
buildRenameRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 外键Exceptionpublic boolean add(DataRuntime runtime, Index meta) throws Exception
add 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 索引Exception - 异常public boolean alter(DataRuntime runtime, Index meta) throws Exception
alter 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 索引Exception - 异常public boolean alter(DataRuntime runtime, Table table, Index meta) throws Exception
alter 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 索引Exception - 异常public boolean drop(DataRuntime runtime, Index meta) throws Exception
drop 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 索引Exception - 异常public boolean rename(DataRuntime runtime, Index origin, String name) throws Exception
rename 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端origin - 索引name - 新名称Exception - 异常public List<Run> buildAppendIndexRun(DataRuntime runtime, Table meta) throws Exception
buildAppendIndexRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表Exceptionpublic List<Run> buildAddRun(DataRuntime runtime, Index meta) throws Exception
buildAddRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 索引Exceptionpublic List<Run> buildAlterRun(DataRuntime runtime, Index meta) throws Exception
buildAlterRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 索引Exceptionpublic List<Run> buildDropRun(DataRuntime runtime, Index meta) throws Exception
buildDropRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 索引Exceptionpublic List<Run> buildRenameRun(DataRuntime runtime, Index meta) throws Exception
buildRenameRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 索引Exceptionpublic StringBuilder type(DataRuntime runtime, StringBuilder builder, Index meta)
type 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 索引builder - builderpublic StringBuilder property(DataRuntime runtime, StringBuilder builder, Index meta)
property 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 索引builder - builderpublic StringBuilder comment(DataRuntime runtime, StringBuilder builder, Index meta)
comment 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 索引builder - builderpublic StringBuilder checkIndexExists(DataRuntime runtime, StringBuilder builder, boolean exists)
checkIndexExists 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - builderexists - existspublic boolean add(DataRuntime runtime, Constraint meta) throws Exception
add 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 约束Exception - 异常public boolean alter(DataRuntime runtime, Constraint meta) throws Exception
alter 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 约束Exception - 异常public boolean alter(DataRuntime runtime, Table table, Constraint meta) throws Exception
alter 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 约束Exception - 异常public boolean drop(DataRuntime runtime, Constraint meta) throws Exception
drop 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 约束Exception - 异常public boolean rename(DataRuntime runtime, Constraint origin, String name) throws Exception
rename 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端origin - 约束name - 新名称Exception - 异常public List<Run> buildAddRun(DataRuntime runtime, Constraint meta) throws Exception
buildAddRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 约束Exceptionpublic List<Run> buildAlterRun(DataRuntime runtime, Constraint meta) throws Exception
buildAlterRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 约束Exceptionpublic List<Run> buildDropRun(DataRuntime runtime, Constraint meta) throws Exception
buildDropRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 约束Exceptionpublic List<Run> buildRenameRun(DataRuntime runtime, Constraint meta) throws Exception
buildRenameRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 约束Exceptionpublic boolean add(DataRuntime runtime, Trigger meta) throws Exception
add 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 触发器Exception - 异常public boolean alter(DataRuntime runtime, Trigger meta) throws Exception
alter 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 触发器Exception - 异常public boolean drop(DataRuntime runtime, Trigger meta) throws Exception
drop 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 触发器Exception - 异常public boolean rename(DataRuntime runtime, Trigger origin, String name) throws Exception
rename 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端origin - 触发器name - 新名称Exception - 异常public List<Run> buildCreateRun(DataRuntime runtime, Trigger meta) throws Exception
buildCreateRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 触发器Exceptionpublic List<Run> buildAlterRun(DataRuntime runtime, Trigger meta) throws Exception
buildAlterRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 触发器Exceptionpublic List<Run> buildDropRun(DataRuntime runtime, Trigger meta) throws Exception
buildDropRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 触发器Exceptionpublic List<Run> buildRenameRun(DataRuntime runtime, Trigger meta) throws Exception
buildRenameRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 触发器Exceptionpublic StringBuilder each(DataRuntime runtime, StringBuilder builder, Trigger meta)
each 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 触发器builder - builderpublic boolean create(DataRuntime runtime, Procedure meta) throws Exception
create 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 存储过程Exception - 异常public boolean alter(DataRuntime runtime, Procedure meta) throws Exception
alter 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 存储过程Exception - 异常public boolean drop(DataRuntime runtime, Procedure meta) throws Exception
drop 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 存储过程Exception - 异常public boolean rename(DataRuntime runtime, Procedure origin, String name) throws Exception
rename 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端origin - 存储过程name - 新名称Exception - 异常public List<Run> buildCreateRun(DataRuntime runtime, Procedure meta) throws Exception
buildCreateRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 存储过程Exceptionpublic List<Run> buildAlterRun(DataRuntime runtime, Procedure meta) throws Exception
buildAlterRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 存储过程Exceptionpublic List<Run> buildDropRun(DataRuntime runtime, Procedure meta) throws Exception
buildDropRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 存储过程Exceptionpublic List<Run> buildRenameRun(DataRuntime runtime, Procedure meta) throws Exception
buildRenameRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 存储过程Exceptionpublic StringBuilder parameter(DataRuntime runtime, StringBuilder builder, Parameter parameter)
parameter 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - builderparameter - parameterpublic boolean create(DataRuntime runtime, Function meta) throws Exception
create 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 函数Exception - 异常public boolean alter(DataRuntime runtime, Function meta) throws Exception
alter 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 函数Exception - 异常public boolean drop(DataRuntime runtime, Function meta) throws Exception
drop 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 函数Exception - 异常public boolean rename(DataRuntime runtime, Function origin, String name) throws Exception
rename 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端origin - 函数name - 新名称Exception - 异常public List<Run> buildCreateRun(DataRuntime runtime, Function meta) throws Exception
buildCreateRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 函数Exceptionpublic List<Run> buildAlterRun(DataRuntime runtime, Function meta) throws Exception
buildAlterRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 函数Exceptionpublic List<Run> buildDropRun(DataRuntime runtime, Function meta) throws Exception
buildDropRun 在接口中 DriverAdaptermeta - 函数Exceptionpublic List<Run> buildRenameRun(DataRuntime runtime, Function meta) throws Exception
buildRenameRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 函数Exceptionpublic boolean create(DataRuntime runtime, Sequence meta) throws Exception
create 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 序列Exception - 异常public boolean alter(DataRuntime runtime, Sequence meta) throws Exception
alter 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 序列Exception - 异常public boolean drop(DataRuntime runtime, Sequence meta) throws Exception
drop 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 序列Exception - 异常public boolean rename(DataRuntime runtime, Sequence origin, String name) throws Exception
rename 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端origin - 序列name - 新名称Exception - 异常public List<Run> buildCreateRun(DataRuntime runtime, Sequence meta) throws Exception
buildCreateRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 序列Exceptionpublic List<Run> buildAlterRun(DataRuntime runtime, Sequence meta) throws Exception
buildAlterRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 序列Exceptionpublic List<Run> buildDropRun(DataRuntime runtime, Sequence meta) throws Exception
buildDropRun 在接口中 DriverAdaptermeta - 序列Exceptionpublic List<Run> buildRenameRun(DataRuntime runtime, Sequence meta) throws Exception
buildRenameRun 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 序列Exceptionprotected PrimaryGenerator checkPrimaryGenerator(DatabaseType type, String table)
public TypeMetadata typeMetadata(DataRuntime runtime, Column meta)
typeMetadata 在接口中 DriverAdaptermeta - 列public TypeMetadata spell(String name)
public TypeMetadata typeMetadata(DataRuntime runtime, String type)
typeMetadata 在接口中 DriverAdaptertype - 编码时输入的类型public StringBuilder name(DataRuntime runtime, StringBuilder builder, Metadata meta)
name 在接口中 DriverAdapterbuilder - buildermeta - Metadatapublic StringBuilder name(DataRuntime runtime, StringBuilder builder, Column meta)
name 在接口中 DriverAdapterpublic StringBuilder delimiter(StringBuilder builder, String src)
public StringBuilder delimiter(StringBuilder builder, List<String> list)
public boolean isBooleanColumn(DataRuntime runtime, Column column)
DriverAdapterisBooleanColumn 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端column - 列public boolean isNumberColumn(DataRuntime runtime, Column column)
isNumberColumn 在接口中 DriverAdaptercolumn - 列runtime - 运行环境主要包含驱动适配器 数据源或客户端public boolean isCharColumn(DataRuntime runtime, Column column)
DriverAdapterisCharColumn 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端column - 列public String value(DataRuntime runtime, Column column, DriverAdapter.SQL_BUILD_IN_VALUE value)
value 在接口中 DriverAdaptercolumn - 列属性value - SQL_BUILD_IN_VALUEruntime - 运行环境主要包含驱动适配器 数据源或客户端public Object write(DataRuntime runtime, Column metadata, Object value, boolean placeholder)
write 在接口中 DriverAdaptermetadata - Column 用来定位数据类型placeholder - 是否占位符value - valueruntime - 运行环境主要包含驱动适配器 数据源或客户端public Object read(DataRuntime runtime, Column metadata, Object value, Class clazz)
read 在接口中 DriverAdaptermetadata - Column 用来定位数据类型value - valueclazz - 目标数据类型(给entity赋值时应该指定属性class, DataRow赋值时可以通过JDBChandler指定class)runtime - 运行环境主要包含驱动适配器 数据源或客户端public void value(DataRuntime runtime, StringBuilder builder, Object obj, String key)
DriverAdaptervalue 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端builder - builderobj - DataRow 或 Entitykey - 列名public boolean convert(DataRuntime runtime, Catalog catalog, Schema schema, String table, RunValue value)
DriverAdapterconvert 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端catalog - catalogschema - schematable - 表value - 值public void addRunValue(DataRuntime runtime, Run run, Compare compare, Column column, Object value)
addRunValue 在接口中 DriverAdapterrun - 最终待执行的命令和参数(如果是JDBC环境就是SQL)compare - 比较方式 默认 equal 多个值默认 incolumn - 列value - valuepublic boolean convert(DataRuntime runtime, ConfigStore configs, Run run)
convert 在接口中 DriverAdapterpublic boolean convert(DataRuntime runtime, Table table, Run run)
convert 在接口中 DriverAdapterpublic boolean convert(DataRuntime runtime, Map<String,Column> columns, RunValue value)
DriverAdapterconvert 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端columns - 列value - 值public boolean convert(DataRuntime runtime, Column metadata, RunValue run)
convert 在接口中 DriverAdaptermetadata - 列run - 最终待执行的命令和参数(如果是JDBC环境就是SQL)Valueruntime - 运行环境主要包含驱动适配器 数据源或客户端public Object convert(DataRuntime runtime, Column metadata, Object value)
convert 在接口中 DriverAdapterpublic Object convert(DataRuntime runtime, TypeMetadata columnType, Object value)
convert 在接口中 DriverAdapterpublic String objectName(DataRuntime runtime, String name)
DriverAdapterobjectName 在接口中 DriverAdapterruntime - 运行环境主要包含驱动适配器 数据源或客户端name - nameprotected String random(DataRuntime runtime)
protected String concatEqual(String master, String data, String split, List<String> columns)
public <T extends Metadata> T search(List<T> list, Catalog catalog, Schema schema, String name)
search 在接口中 DriverAdapterT - Tablelist - metascatalog - catalogschema - schemaname - namepublic <T extends Metadata> T search(List<T> list, String catalog, String schema, String name)
Copyright © 2024. All rights reserved.