public interface DriverAdapter
| 限定符和类型 | 接口和说明 |
|---|---|
static class |
DriverAdapter.SQL_BUILD_IN_VALUE |
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
BR |
static String |
BR_TAB |
static org.slf4j.Logger |
log |
static String |
TAB |
| 限定符和类型 | 方法和说明 |
|---|---|
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 column)
column[命令合成-子流程]
添加列引导 alter table sso_user [add column] type_code int |
void |
addRunValue(DataRuntime runtime,
Run run,
Compare compare,
Column column,
Object value) |
StringBuilder |
aggregation(DataRuntime runtime,
StringBuilder builder,
Column column)
column[命令合成-子流程]
定义列:聚合类型 |
LinkedHashMap<String,TypeMetadata> |
alias()
数据类型别名
|
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()返回 |
default boolean |
alter(DataRuntime runtime,
Table table,
Column meta) |
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[调用入口]
修改索引 |
default boolean |
alter(DataRuntime runtime,
Table table,
PrimaryKey meta)
primary[调用入口]
修改主键 |
boolean |
alter(DataRuntime runtime,
Table table,
PrimaryKey origin,
PrimaryKey meta)
primary[调用入口]
修改主键 |
default boolean |
alter(DataRuntime runtime,
Table table,
Tag meta) |
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 view)
view[调用入口]
修改视图,执行的命令通过meta.ddls()返回 |
String |
alterColumnKeyword(DataRuntime runtime)
column[命令合成-子流程]
修改表的关键字 |
String |
batchInsertSeparator()
insert [命令合成-子流程]
批量插入数据时,多行数据之间分隔符 |
StringBuilder |
body(DataRuntime runtime,
StringBuilder builder,
Table meta)
table[命令合成-子流程]
创建表 body部分包含column index |
default List<Run> |
buildAddCommentRun(DataRuntime runtime,
Table table)
table[命令合成-子流程]
添加备注(部分数据库需要区分添加还是修改) |
List<Run> |
buildAddRun(DataRuntime runtime,
Column column,
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 primary,
boolean slice)
primary[命令合成]
添加主键 |
List<Run> |
buildAddRun(DataRuntime runtime,
Tag tag,
boolean slice)
tag[命令合成]
添加标签 |
List<Run> |
buildAlterRun(DataRuntime runtime,
Column column,
boolean slice)
column[命令合成]
修改列 有可能生成多条SQL |
List<Run> |
buildAlterRun(DataRuntime runtime,
Constraint meta)
constraint[命令合成]
修改约束 有可能生成多条SQL |
List<Run> |
buildAlterRun(DataRuntime runtime,
ForeignKey meta)
foreign[命令合成]
修改外键 |
List<Run> |
buildAlterRun(DataRuntime runtime,
Function meta)
function[命令合成]
修改函数 有可能生成多条SQL |
List<Run> |
buildAlterRun(DataRuntime runtime,
Index meta)
index[命令合成]
修改索引 有可能生成多条SQL |
List<Run> |
buildAlterRun(DataRuntime runtime,
MasterTable table)
master table[命令合成-子流程]
修改主表 |
List<Run> |
buildAlterRun(DataRuntime runtime,
PartitionTable table)
partition table[命令合成]
修改分区表 |
default List<Run> |
buildAlterRun(DataRuntime runtime,
PrimaryKey meta) |
default List<Run> |
buildAlterRun(DataRuntime runtime,
PrimaryKey origin,
PrimaryKey meta) |
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[命令合成]
修改表 |
default List<Run> |
buildAlterRun(DataRuntime runtime,
Table meta,
Collection<Column> columns) |
List<Run> |
buildAlterRun(DataRuntime runtime,
Table meta,
Collection<Column> columns,
boolean slice)
table[命令合成]
修改列 有可能生成多条SQL,根据数据库类型优先合并成一条执行 |
List<Run> |
buildAlterRun(DataRuntime runtime,
Tag tag,
boolean slice)
tag[命令合成]
修改标签 有可能生成多条SQL |
List<Run> |
buildAlterRun(DataRuntime runtime,
Trigger meta)
trigger[命令合成]
修改触发器 有可能生成多条SQL |
List<Run> |
buildAlterRun(DataRuntime runtime,
View view)
view[命令合成]
修改视图 |
List<Run> |
buildAppendColumnCommentRun(DataRuntime runtime,
Table meta)
table[命令合成-子流程]
创建表完成后追加列备注,创建过程能添加备注的不需要实现与comment(DataRuntime runtime, StringBuilder builder, Column meta)二选一实现 |
List<Run> |
buildAppendCommentRun(DataRuntime runtime,
Column column,
boolean slice)
column[命令合成-子流程]
创建表完成后追加表备注,创建过程能添加备注的不需要实现与comment(DataRuntime runtime, StringBuilder builder, Table meta)二选一实现 |
List<Run> |
buildAppendCommentRun(DataRuntime runtime,
MasterTable table)
master table[命令合成-子流程]
创建表完成后追加表备注,创建过程能添加备注的不需要实现与comment(DataRuntime runtime, StringBuilder builder, Table meta)二选一实现 |
List<Run> |
buildAppendCommentRun(DataRuntime runtime,
PartitionTable table)
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 view)
view[命令合成-子流程]
添加视图备注(视图创建完成后调用,创建过程能添加备注的不需要实现) |
List<Run> |
buildAppendIndexRun(DataRuntime runtime,
Table meta)
index[命令合成]
创建表过程添加索引,表创建完成后添加索引,于表内索引index(DataRuntime, StringBuilder, Table)二选一 |
default List<Run> |
buildAppendPrimaryRun(DataRuntime runtime,
Table meta)
primary[命令合成]
创建完表后,添加主键,与列主键标识,表主键标识三选一 大部分情况调用buildAddRun 默认不调用,大部分数据库在创建列或表时可以直接标识出主键 只有在创建表过程中不支持创建主键的才需要实现这个方法 |
List<Run> |
buildChangeCommentRun(DataRuntime runtime,
Column column,
boolean slice)
column[命令合成-子流程]
修改备注 一般不直接调用,如果需要由buildAlterRun内部统一调用 |
List<Run> |
buildChangeCommentRun(DataRuntime runtime,
MasterTable table)
master table[命令合成-子流程]
修改主表备注 |
List<Run> |
buildChangeCommentRun(DataRuntime runtime,
PartitionTable table)
partition table[命令合成-子流程]
修改分区表备注 |
List<Run> |
buildChangeCommentRun(DataRuntime runtime,
Table table)
table[命令合成-子流程]
修改备注 |
List<Run> |
buildChangeCommentRun(DataRuntime runtime,
Tag tag,
boolean slice)
tag[命令合成]
修改备注 一般不直接调用,如果需要由buildAlterRun内部统一调用 |
List<Run> |
buildChangeCommentRun(DataRuntime runtime,
View view)
view[命令合成-子流程]
修改备注 |
List<Run> |
buildChangeDefaultRun(DataRuntime runtime,
Column column,
boolean slice)
column[命令合成-子流程]
修改默认值 一般不直接调用,如果需要由buildAlterRun内部统一调用 |
List<Run> |
buildChangeDefaultRun(DataRuntime runtime,
Tag tag,
boolean slice)
tag[命令合成]
修改默认值 一般不直接调用,如果需要由buildAlterRun内部统一调用 |
List<Run> |
buildChangeNullableRun(DataRuntime runtime,
Column column,
boolean slice)
column[命令合成-子流程]
修改非空限制 一般不直接调用,如果需要由buildAlterRun内部统一调用 |
List<Run> |
buildChangeNullableRun(DataRuntime runtime,
Tag tag,
boolean slice)
tag[命令合成]
修改非空限制 一般不直接调用,如果需要由buildAlterRun内部统一调用 |
default List<Run> |
buildChangeTypeRun(DataRuntime runtime,
Column column) |
List<Run> |
buildChangeTypeRun(DataRuntime runtime,
Column column,
boolean slice)
column[命令合成-子流程]
修改数据类型 一般不直接调用,如果需要由buildAlterRun内部统一调用 |
List<Run> |
buildChangeTypeRun(DataRuntime runtime,
Tag tag,
boolean slice)
tag[命令合成]
修改数据类型 一般不直接调用,如果需要由buildAlterRun内部统一调用 |
List<Run> |
buildCreateRun(DataRuntime runtime,
Function meta)
function[命令合成]
添加函数 |
List<Run> |
buildCreateRun(DataRuntime runtime,
MasterTable table)
master table[命令合成]
创建主表 |
List<Run> |
buildCreateRun(DataRuntime runtime,
PartitionTable table)
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 view)
view[命令合成]
创建视图 |
StringBuilder |
buildCreateRunHead(DataRuntime runtime,
StringBuilder builder,
View meta)
view[命令合成-子流程]
创建视图头部 |
StringBuilder |
buildCreateRunOption(DataRuntime runtime,
StringBuilder builder,
View meta)
view[命令合成-子流程]
创建视图选项 |
default Run |
buildDeleteRun(DataRuntime runtime,
int batch,
String table,
ConfigStore configs,
String column,
Object values) |
Run |
buildDeleteRun(DataRuntime runtime,
int batch,
Table table,
ConfigStore configs,
String column,
Object values)
delete[命令合成]
合成 where column in (values) |
default Run |
buildDeleteRun(DataRuntime runtime,
String table,
ConfigStore configs) |
default Run |
buildDeleteRun(DataRuntime runtime,
String table,
ConfigStore configs,
Object obj,
String... columns) |
default Run |
buildDeleteRun(DataRuntime runtime,
Table table,
ConfigStore configs) |
Run |
buildDeleteRun(DataRuntime runtime,
Table table,
ConfigStore configs,
Object obj,
String... columns)
delete[命令合成]
合成 where k1 = v1 and k2 = v2 |
default Run |
buildDeleteRunFromEntity(DataRuntime runtime,
String table,
ConfigStore configs,
Object obj,
String... columns) |
Run |
buildDeleteRunFromEntity(DataRuntime runtime,
Table table,
ConfigStore configs,
Object obj,
String... columns)
delete[命令合成-子流程]
合成 where k1 = v1 and k2 = v2 |
default Run |
buildDeleteRunFromTable(DataRuntime runtime,
int batch,
String table,
ConfigStore configs,
String column,
Object values) |
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 column,
boolean slice)
column[命令合成-子流程]
取消自增 |
List<Run> |
buildDropRun(DataRuntime runtime,
Column column,
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 table)
master table[命令合成]
删除主表 |
List<Run> |
buildDropRun(DataRuntime runtime,
PartitionTable table)
partition table[命令合成-]
删除分区表 |
default List<Run> |
buildDropRun(DataRuntime runtime,
PrimaryKey primary) |
List<Run> |
buildDropRun(DataRuntime runtime,
PrimaryKey primary,
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 tag,
boolean slice)
tag[命令合成]
删除标签 |
List<Run> |
buildDropRun(DataRuntime runtime,
Trigger meta)
trigger[命令合成]
删除触发器 |
List<Run> |
buildDropRun(DataRuntime runtime,
View view)
view[命令合成]
删除视图 |
Run |
buildExecuteRun(DataRuntime runtime,
RunPrepare prepare,
ConfigStore configs,
String... conditions)
创建执行SQL
|
default Run |
buildInsertRun(DataRuntime runtime,
int batch,
ConfigStore configs,
Object obj,
String... columns) |
default Run |
buildInsertRun(DataRuntime runtime,
int batch,
Object obj,
ConfigStore configs,
String... columns) |
default Run |
buildInsertRun(DataRuntime runtime,
int batch,
Object obj,
String... columns) |
default Run |
buildInsertRun(DataRuntime runtime,
int batch,
String dest,
Object obj,
ConfigStore configs,
List<String> columns) |
default Run |
buildInsertRun(DataRuntime runtime,
int batch,
String dest,
Object obj,
ConfigStore confgis,
String... columns) |
default Run |
buildInsertRun(DataRuntime runtime,
int batch,
String dest,
Object obj,
List<String> columns) |
default Run |
buildInsertRun(DataRuntime runtime,
int batch,
String dest,
Object obj,
String... columns) |
Run |
buildInsertRun(DataRuntime runtime,
int batch,
Table dest,
Object obj,
ConfigStore configs,
List<String> columns)
insert [命令合成]
填充inset命令内容(创建批量INSERT RunPrepare) |
default Run |
buildInsertRun(DataRuntime runtime,
int batch,
Table dest,
Object obj,
ConfigStore confgis,
String... columns) |
default Run |
buildInsertRun(DataRuntime runtime,
int batch,
Table dest,
Object obj,
List<String> columns) |
default Run |
buildInsertRun(DataRuntime runtime,
int batch,
Table dest,
Object obj,
String... columns) |
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 |
default List<Run> |
buildQueryCatalogsRun(DataRuntime runtime) |
List<Run> |
buildQueryCatalogsRun(DataRuntime runtime,
boolean greedy,
String name)
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[命令合成]
(方法1) 查询表上的列 |
List<Run> |
buildQueryConstraintsRun(DataRuntime runtime,
Table table,
Column column,
String pattern)
constraint[命令合成]
查询表上的约束 |
default List<Run> |
buildQueryDatabaseRun(DataRuntime runtime) |
default List<Run> |
buildQueryDatabaseRun(DataRuntime runtime,
boolean greedy) |
default List<Run> |
buildQueryDatabaseRun(DataRuntime runtime,
String name) |
List<Run> |
buildQueryDatabasesRun(DataRuntime runtime,
boolean greedy,
String name)
database[命令合成]
查询全部数据库 |
List<Run> |
buildQueryDdlsRun(DataRuntime runtime,
EdgeTable edgeTable)
edgeTable[命令合成]
查询表DDL |
List<Run> |
buildQueryDdlsRun(DataRuntime runtime,
Function function)
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 sequence)
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 pattern)
partition table[命令合成]
根据主表查询分区表 |
List<Run> |
buildQueryPrimaryRun(DataRuntime runtime,
Table table)
primary[命令合成]
查询表上的主键 |
List<Run> |
buildQueryProceduresRun(DataRuntime runtime,
Catalog catalog,
Schema schema,
String pattern)
procedure[命令合成]
查询表上的 Procedure |
List<Run> |
buildQueryProductRun(DataRuntime runtime)
database[命令合成]
查询当前数据源 数据库产品说明(产品名称+版本号) |
Run |
buildQueryRun(DataRuntime runtime,
RunPrepare prepare,
ConfigStore configs,
String... conditions)
select[命令合成]
|
List<Run> |
buildQuerySchemaRun(DataRuntime runtime,
String random)
schema[命令合成]
查询当前schema |
List<Run> |
buildQuerySchemasRun(DataRuntime runtime,
boolean greedy,
Catalog catalog,
String name)
schema[命令合成]
查询全部数据库 |
default List<Run> |
buildQuerySchemasRun(DataRuntime runtime,
Catalog catalog) |
default List<Run> |
buildQuerySchemasRun(DataRuntime runtime,
String name) |
List<Run> |
buildQuerySequence(DataRuntime runtime,
boolean next,
String... names)
select[命令合成]
创建 select sequence 最终可执行命令 |
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 column,
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 table)
master table[命令合成-子流程]
主表重命名 |
List<Run> |
buildRenameRun(DataRuntime runtime,
PartitionTable table)
partition table[命令合成]
分区表重命名 |
List<Run> |
buildRenameRun(DataRuntime runtime,
PrimaryKey primary)
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 tag,
boolean slice)
tag[命令合成]
修改标签名 一般不直接调用,如果需要由buildAlterRun内部统一调用 |
List<Run> |
buildRenameRun(DataRuntime runtime,
Trigger meta)
trigger[命令合成]
修改触发器名 一般不直接调用,如果需要由buildAlterRun内部统一调用 |
List<Run> |
buildRenameRun(DataRuntime runtime,
View view)
view[命令合成]
重命名 一般不直接调用,如果需要由buildAlterRun内部统一调用 |
default List<Run> |
buildTruncateRun(DataRuntime runtime,
String table) |
List<Run> |
buildTruncateRun(DataRuntime runtime,
Table table)
truncate[命令合成]
|
default Run |
buildUpdateRun(DataRuntime runtime,
int batch,
String dest,
Object obj,
ConfigStore configs,
List<String> columns) |
Run |
buildUpdateRun(DataRuntime runtime,
int btch,
Table dest,
Object obj,
ConfigStore configs,
List<String> columns)
update [命令合成]
|
default Run |
buildUpdateRun(DataRuntime runtime,
Object obj,
ConfigStore configs,
List<String> columns) |
default Run |
buildUpdateRun(DataRuntime runtime,
Object obj,
ConfigStore configs,
String... columns) |
default Run |
buildUpdateRun(DataRuntime runtime,
Object obj,
List<String> columns) |
default Run |
buildUpdateRun(DataRuntime runtime,
Object obj,
String... columns) |
default Run |
buildUpdateRun(DataRuntime runtime,
String dest,
Object obj,
ConfigStore configs,
List<String> columns) |
default Run |
buildUpdateRun(DataRuntime runtime,
String dest,
Object obj,
ConfigStore configs,
String... columns) |
default Run |
buildUpdateRun(DataRuntime runtime,
String dest,
Object obj,
List<String> columns) |
default Run |
buildUpdateRun(DataRuntime runtime,
String dest,
Object obj,
String... columns) |
default Run |
buildUpdateRun(DataRuntime runtime,
Table dest,
Object obj,
ConfigStore configs,
List<String> columns) |
default Run |
buildUpdateRun(DataRuntime runtime,
Table dest,
Object obj,
ConfigStore configs,
String... columns) |
default Run |
buildUpdateRun(DataRuntime runtime,
Table dest,
Object obj,
List<String> columns) |
default Run |
buildUpdateRun(DataRuntime runtime,
Table dest,
Object obj,
String... columns) |
default Run |
buildUpdateRunFromCollection(DataRuntime runtime,
int batch,
String dest,
Collection list,
ConfigStore configs,
LinkedHashMap<String,Column> columns) |
Run |
buildUpdateRunFromCollection(DataRuntime runtime,
int batch,
Table dest,
Collection list,
ConfigStore configs,
LinkedHashMap<String,Column> columns) |
default Run |
buildUpdateRunFromDataRow(DataRuntime runtime,
String dest,
DataRow row,
ConfigStore configs,
LinkedHashMap<String,Column> columns) |
Run |
buildUpdateRunFromDataRow(DataRuntime runtime,
Table dest,
DataRow row,
ConfigStore configs,
LinkedHashMap<String,Column> columns) |
default Run |
buildUpdateRunFromEntity(DataRuntime runtime,
String dest,
Object obj,
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 |
default Catalog |
catalog(DataRuntime runtime,
String random,
String name) |
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[结果集封装]
根据查询结果集构造 catalog |
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) |
LinkedHashMap<String,Catalog> |
catalogs(DataRuntime runtime,
String random,
String name)
catalog[调用入口]
全部catalog |
StringBuilder |
charset(DataRuntime runtime,
StringBuilder builder,
Column column)
column[命令合成-子流程]
定义列:编码 |
StringBuilder |
charset(DataRuntime runtime,
StringBuilder builder,
Table meta)
table[命令合成-子流程]
编码 |
StringBuilder |
checkColumnExists(DataRuntime runtime,
StringBuilder builder,
boolean exists)
column[命令合成-子流程]
定义列:创建或删除列之前 检测表是否存在 IF NOT EXISTS |
default DriverAdapter.SQL_BUILD_IN_VALUE |
checkDefaultBuildInValue(DataRuntime runtime,
Object def)
//TODO 放在下一级 metadata引用
ddl过程 默认值 检测适配 内置函数 如mysql.CURRENT_TIMESTAMP 转换成 oracle.sysdate
|
StringBuilder |
checkIndexExists(DataRuntime runtime,
StringBuilder builder,
boolean exists)
table[命令合成-子流程]
创建或删除表之前 检测表是否存在 IF NOT EXISTS |
<T extends Metadata> |
checkName(DataRuntime runtime,
String random,
T meta)
检测name,name中可能包含catalog.schema.name
如果有一项或三项,在父类中解析 如果只有两项,需要根据不同数据库区分出最前一项是catalog还是schema,如果区分不出来的抛出异常 |
void |
checkPrimary(DataRuntime runtime,
Table table)
table[命令合成-子流程]
检测表主键(在没有显式设置主键时根据其他条件判断如自增),同时根据主键对象给相关列设置主键标识 |
<T extends Metadata> |
checkSchema(DataRuntime runtime,
T meta)
根据运行环境识别 catalog与schema
|
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元数据结果集的依据,主要返回column属性与查询结集之间的对应关系 |
default ColumnMetadataAdapter |
columnMetadataAdapter(DataRuntime runtime,
TypeMetadata meta)
column[结构集封装-依据]
读取column元数据结果集的依据,主要在columnMetadataAdapter(DataRuntime runtime)项目上补充length/precision/sacle相关 |
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[调用入口]
(方法3) DatabaseMetaData |
<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 |
default <T extends Column> |
columns(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema) |
<T extends Column> |
columns(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
Collection<? extends Table> tables)
column[调用入口]
(方法1) 查询多个表列,并分配到每个表中,需要保持所有表的catalog,schema相同 |
default <T extends Column> |
columns(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
String table) |
<T extends Column> |
columns(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
Table table)
column[调用入口]
(方法1) 查询列 |
<T extends Column> |
columns(DataRuntime runtime,
String random,
boolean greedy,
Table table,
boolean primary)
column[调用入口]
(多方法合成) 查询表结构 |
StringBuilder |
columns(DataRuntime runtime,
StringBuilder builder,
Table meta)
table[命令合成-子流程]
创建表 columns部分 |
StringBuilder |
comment(DataRuntime runtime,
StringBuilder builder,
Column column)
column[命令合成-子流程]
定义列:备注 |
StringBuilder |
comment(DataRuntime runtime,
StringBuilder builder,
Index meta)
index[命令合成-子流程]
索引备注 |
StringBuilder |
comment(DataRuntime runtime,
StringBuilder builder,
Table meta)
table[命令合成-子流程]
表备注 |
StringBuilder |
comment(DataRuntime runtime,
StringBuilder builder,
View view)
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) |
DatabaseType |
compatible()
对应的兼容模式,有些数据库会兼容oracle或pg,需要分别提供两个JDBCAdapter或者直接依赖oracle/pg的adapter
参考DefaultJDBCAdapterUtil定位adapter的方法
|
default String |
compressCondition(DataRuntime runtime,
String cmd) |
String |
concat(DataRuntime runtime,
String... args)
拼接字符串
|
default String |
conditionHead() |
default LinkedHashMap<String,Column> |
confirmInsertColumns(DataRuntime runtime,
String dest,
Object data,
ConfigStore configs,
List<String> columns,
boolean batch) |
LinkedHashMap<String,Column> |
confirmInsertColumns(DataRuntime runtime,
Table dest,
Object data,
ConfigStore configs,
List<String> columns,
boolean batch)
insert [命令合成-子流程]
确认需要插入的列 |
default LinkedHashMap<String,Column> |
confirmUpdateColumns(DataRuntime runtime,
String dest,
DataRow row,
ConfigStore configs,
List<String> columns) |
default LinkedHashMap<String,Column> |
confirmUpdateColumns(DataRuntime runtime,
String dest,
Object obj,
ConfigStore configs,
List<String> columns) |
LinkedHashMap<String,Column> |
confirmUpdateColumns(DataRuntime runtime,
Table dest,
DataRow row,
ConfigStore configs,
List<String> columns)
确认需要更新的列
|
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 run)
数据类型转换
子类先解析(有些同名的类型以子类为准)、失败后再调用默认转换
|
Object |
convert(DataRuntime runtime,
Column column,
Object value) |
boolean |
convert(DataRuntime runtime,
Column column,
RunValue run)
数据类型转换,没有提供column的根据value类型
|
boolean |
convert(DataRuntime runtime,
ConfigStore configs,
Run run) |
boolean |
convert(DataRuntime runtime,
Map<String,Column> columns,
RunValue run)
数据类型转换
|
boolean |
convert(DataRuntime runtime,
Table table,
Run run) |
Object |
convert(DataRuntime runtime,
TypeMetadata columnType,
Object value) |
default <T extends Metadata> |
correctSchemaFromJDBC(DataRuntime runtime,
T meta,
String catalog,
String schema)
识别根据jdbc返回的catalog与schema,部分数据库(如mysql)系统表与jdbc标准可能不一致根据实际情况处理
注意一定不要处理从SQL中返回的,应该在SQL中处理好 |
default <T extends Metadata> |
correctSchemaFromJDBC(DataRuntime runtime,
T meta,
String catalog,
String schema,
boolean overrideRuntime,
boolean overrideMeta)
识别根据jdbc返回的catalog与schema,部分数据库(如mysql)系统表与jdbc标准可能不一致根据实际情况处理
注意一定不要处理从SQL中返回的,应该在SQL中处理好 |
default String[] |
correctSchemaFromJDBC(String catalog,
String schema)
在调用jdbc接口前处理业务中的catalog,schema,部分数据库(如mysql)业务系统与dbc标准可能不一致根据实际情况处理
|
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 view)
view[调用入口]
创建视图,执行的命令通过meta.ddls()返回 |
default Object |
createConditionFindInSet(DataRuntime runtime,
StringBuilder builder,
String column,
Compare compare,
Object value,
boolean placeholder)
select[命令合成-子流程]
构造 FIND_IN_SET 查询条件 如果不需要占位符 返回null 否则原样返回value |
StringBuilder |
createConditionIn(DataRuntime runtime,
StringBuilder builder,
Compare compare,
Object value,
boolean placeholder)
select[命令合成-子流程]
构造(NOT) IN 查询条件 |
default Object |
createConditionJsonContains(DataRuntime runtime,
StringBuilder builder,
String column,
Compare compare,
Object value,
boolean placeholder)
select[命令合成-子流程]
构造 JSON_CONTAINS 查询条件 如果不需要占位符 返回null 否则原样返回value |
default Object |
createConditionJsonContainsPath(DataRuntime runtime,
StringBuilder builder,
String column,
Compare compare,
Object value,
boolean placeholder)
select[命令合成-子流程]
构造 JSON_CONTAINS 查询条件 如果不需要占位符 返回null 否则原样返回value |
RunValue |
createConditionLike(DataRuntime runtime,
StringBuilder builder,
Compare compare,
Object value,
boolean placeholder)
select[命令合成-子流程]
构造 LIKE 查询条件 如果不需要占位符 返回null 否则原样返回value |
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[调用入口]
当前数据库 |
default Database |
database(DataRuntime runtime,
String random,
String name) |
LinkedHashMap<String,Database> |
databases(DataRuntime runtime,
int index,
boolean create,
LinkedHashMap<String,Database> databases,
Catalog catalog,
Schema schema,
DataSet set)
database[结果集封装]
根据查询结果集构造 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) |
LinkedHashMap<String,Database> |
databases(DataRuntime runtime,
String random,
String name)
database[调用入口]
|
List<String> |
ddl(DataRuntime runtime,
int index,
EdgeTable edgeTable,
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 edgeTable,
boolean init)
查询表创建SQL
edgeTable[调用入口]
|
List<String> |
ddl(DataRuntime runtime,
String random,
Function function)
function[调用入口]
|
default List<Run> |
ddl(DataRuntime runtime,
String random,
List<MetadataDiffer> differs)
根据差异生成SQL
|
List<String> |
ddl(DataRuntime runtime,
String random,
MasterTable masterTable,
boolean init)
查询表创建SQL
masterTable[调用入口]
|
default List<Run> |
ddl(DataRuntime runtime,
String random,
MetadataDiffer differ) |
default List<Run> |
ddl(DataRuntime runtime,
String random,
MetadataDiffer differ,
boolean merge)
根据差异生成SQL
|
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 sequence)
sequence[调用入口]
|
List<String> |
ddl(DataRuntime runtime,
String random,
Table table,
boolean init)
查询表创建SQL
table[调用入口]
|
List<String> |
ddl(DataRuntime runtime,
String random,
VertexTable vertexTable,
boolean init)
查询表创建SQL
vertexTable[调用入口]
|
List<String> |
ddl(DataRuntime runtime,
String random,
View view,
boolean init)
查询视图创建SQL
view[调用入口]
|
default String |
defaultValue(DataRuntime runtime,
Column column,
DriverAdapter.SQL_BUILD_IN_VALUE value) |
StringBuilder |
defaultValue(DataRuntime runtime,
StringBuilder builder,
Column column)
column[命令合成-子流程]
定义列:默认值 |
StringBuilder |
define(DataRuntime runtime,
StringBuilder builder,
Column meta,
ACTION.DDL action)
column[命令合成-子流程]
定义列,依次拼接下面几个属性注意不同数据库可能顺序不一样 |
long |
delete(DataRuntime runtime,
String random,
ConfigStore configs,
Run run)
delete[命令执行]
|
default long |
delete(DataRuntime runtime,
String random,
String table,
ConfigStore configs,
Object obj,
String... columns) |
default long |
delete(DataRuntime runtime,
String random,
String table,
ConfigStore configs,
String... conditions) |
long |
delete(DataRuntime runtime,
String random,
Table table,
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过滤条件 |
default <T> long |
deletes(DataRuntime runtime,
String random,
int batch,
String table,
ConfigStore configs,
String column,
Collection<T> values) |
default <T> long |
deletes(DataRuntime runtime,
String random,
int batch,
String table,
ConfigStore configs,
String column,
T... values) |
default <T> long |
deletes(DataRuntime runtime,
String random,
int batch,
String table,
String column,
Collection<T> values) |
default <T> long |
deletes(DataRuntime runtime,
String random,
int batch,
String table,
String column,
T... values) |
<T> long |
deletes(DataRuntime runtime,
String random,
int batch,
Table table,
ConfigStore configs,
String column,
Collection<T> values)
delete [调用入口]
合成 where column in (values) |
default <T> long |
deletes(DataRuntime runtime,
String random,
int batch,
Table table,
ConfigStore configs,
String column,
T... values) |
default <T> long |
deletes(DataRuntime runtime,
String random,
int batch,
Table table,
String column,
Collection<T> values) |
default <T> long |
deletes(DataRuntime runtime,
String random,
int batch,
Table table,
String column,
T... values) |
default <T> long |
deletes(DataRuntime runtime,
String random,
String table,
ConfigStore configs,
String column,
Collection<T> values) |
default <T> long |
deletes(DataRuntime runtime,
String random,
String table,
ConfigStore configs,
String column,
T... values) |
default <T> long |
deletes(DataRuntime runtime,
String random,
String table,
String column,
Collection<T> values) |
default <T> long |
deletes(DataRuntime runtime,
String random,
String table,
String column,
T... values) |
default <T> long |
deletes(DataRuntime runtime,
String random,
Table table,
ConfigStore configs,
String column,
Collection<T> values) |
default <T> long |
deletes(DataRuntime runtime,
String random,
Table table,
ConfigStore configs,
String column,
T... values) |
default <T> long |
deletes(DataRuntime runtime,
String random,
Table table,
String column,
Collection<T> values) |
default <T> long |
deletes(DataRuntime runtime,
String random,
Table table,
String column,
T... values) |
<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 view)
view[调用入口]
删除视图,执行的命令通过meta.ddls()返回 |
StringBuilder |
dropColumnGuide(DataRuntime runtime,
StringBuilder builder,
Column column)
column[命令合成-子流程]
删除列引导 alter table sso_user [drop column] type_code |
StringBuilder |
each(DataRuntime runtime,
StringBuilder builder,
Trigger meta)
trigger[命令合成-子流程]
触发级别(行或整个命令) |
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) |
default <T extends EdgeTable> |
edgeTables(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
String pattern,
int types) |
default <T extends EdgeTable> |
edgeTables(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
String pattern,
int types,
boolean struct) |
default <T extends EdgeTable> |
edgeTables(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
String pattern,
int types,
boolean struct,
ConfigStore configs) |
default <T extends EdgeTable> |
edgeTables(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
String pattern,
int types,
int struct) |
<T extends EdgeTable> |
edgeTables(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
String pattern,
int types,
int struct,
ConfigStore configs)
edgeTable[调用入口]
|
default <T extends EdgeTable> |
edgeTables(DataRuntime runtime,
String random,
Catalog catalog,
Schema schema,
String pattern,
int types) |
default <T extends EdgeTable> |
edgeTables(DataRuntime runtime,
String random,
Catalog catalog,
Schema schema,
String pattern,
int types,
boolean struct) |
default <T extends EdgeTable> |
edgeTables(DataRuntime runtime,
String random,
Catalog catalog,
Schema schema,
String pattern,
int types,
boolean struct,
ConfigStore configs) |
default <T extends EdgeTable> |
edgeTables(DataRuntime runtime,
String random,
Catalog catalog,
Schema schema,
String pattern,
int types,
int struct) |
<T extends EdgeTable> |
edgeTables(DataRuntime runtime,
String random,
Catalog catalog,
Schema schema,
String pattern,
int types,
int struct,
ConfigStore configs) |
default boolean |
empty(Metadata meta) |
default boolean |
empty(String meta) |
StringBuilder |
engine(DataRuntime runtime,
StringBuilder builder,
Table meta)
table[命令合成-子流程]
创建表 engine |
default boolean |
equals(Catalog c1,
Catalog c2) |
default boolean |
equals(Metadata m1,
Metadata m2)
根据catalog+schema+name 比较,过程中需要检测是否支持catalog,schema不支持的不判断
|
default boolean |
equals(Schema s1,
Schema s2) |
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)
执行命令
|
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 命令内容
|
default void |
fillInsertContent(DataRuntime runtime,
Run run,
String dest,
Collection list,
ConfigStore configs,
LinkedHashMap<String,Column> columns)
insert [命令合成-子流程]
填充inset命令内容(创建批量INSERT RunPrepare) |
default void |
fillInsertContent(DataRuntime runtime,
Run run,
String dest,
Collection list,
LinkedHashMap<String,Column> columns) |
default void |
fillInsertContent(DataRuntime runtime,
Run run,
String dest,
DataSet set,
ConfigStore configs,
LinkedHashMap<String,Column> columns)
insert [命令合成-子流程]
填充inset命令内容(创建批量INSERT RunPrepare) |
default void |
fillInsertContent(DataRuntime runtime,
Run run,
String dest,
DataSet set,
LinkedHashMap<String,Column> columns) |
void |
fillInsertContent(DataRuntime runtime,
Run run,
Table dest,
Collection list,
ConfigStore configs,
LinkedHashMap<String,Column> columns)
insert [命令合成-子流程]
填充inset命令内容(创建批量INSERT RunPrepare) |
default void |
fillInsertContent(DataRuntime runtime,
Run run,
Table dest,
Collection list,
LinkedHashMap<String,Column> columns) |
void |
fillInsertContent(DataRuntime runtime,
Run run,
Table dest,
DataSet set,
ConfigStore configs,
LinkedHashMap<String,Column> columns)
insert [命令合成-子流程]
填充inset命令内容(创建批量INSERT RunPrepare) |
default void |
fillInsertContent(DataRuntime runtime,
Run run,
Table dest,
DataSet set,
LinkedHashMap<String,Column> columns) |
void |
fillQueryContent(DataRuntime runtime,
Run run) |
void |
fillQueryContent(DataRuntime runtime,
StringBuilder builder,
Run run)
select[命令合成-子流程]
填充 select 命令内容 构造查询主体 拼接where group等(不含分页 ORDER) |
<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[调用入口]
查询外键 |
default void |
formula(DataRuntime runtime,
StringBuilder builder,
String column,
Compare compare,
Column metadata,
Object value,
boolean placeholder)
比较运算符在不同数据库的区别
|
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 [命令合成-子流程]
自增主键返回标识 |
DDListener |
getDDListener() |
String |
getDelimiterFr()
界定符(分隔符)
|
String |
getDelimiterTo() |
DMListener |
getDMListener() |
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) |
default void |
in(DataRuntime runtime,
StringBuilder builder,
String column,
List<String> list) |
StringBuilder |
increment(DataRuntime runtime,
StringBuilder builder,
Column column)
column[命令合成-子流程]
定义列:递增列 |
<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) |
<T extends Index> |
indexes(DataRuntime runtime,
String random,
boolean greedy,
Collection<? extends Table> tables) |
<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基础属性 |
default long |
insert(DataRuntime runtime,
String random,
int batch,
Object data,
String... columns) |
default long |
insert(DataRuntime runtime,
String random,
int batch,
String dest,
Object data,
ConfigStore configs,
List<String> columns) |
default long |
insert(DataRuntime runtime,
String random,
int batch,
String dest,
Object data,
List<String> columns) |
default long |
insert(DataRuntime runtime,
String random,
int batch,
String dest,
Object data,
String... columns) |
long |
insert(DataRuntime runtime,
String random,
int batch,
Table dest,
Object data,
ConfigStore configs,
List<String> columns)
insert [调用入口]
执行前根据主键生成器补充主键值,执行完成后会补齐自增主键值 |
default long |
insert(DataRuntime runtime,
String random,
int batch,
Table dest,
Object data,
List<String> columns) |
default long |
insert(DataRuntime runtime,
String random,
int batch,
Table dest,
Object data,
String... columns) |
long |
insert(DataRuntime runtime,
String random,
Object data,
ConfigStore configs,
Run run,
String[] pks)
insert [命令执行]
执行完成后会补齐自增主键值 |
default long |
insert(DataRuntime runtime,
String random,
Object data,
String... columns) |
default long |
insert(DataRuntime runtime,
String random,
String dest,
Object data,
List<String> columns) |
default long |
insert(DataRuntime runtime,
String random,
String dest,
Object data,
String... columns) |
default long |
insert(DataRuntime runtime,
String random,
Table dest,
Object data,
List<String> columns) |
default long |
insert(DataRuntime runtime,
String random,
Table dest,
Object data,
String... columns) |
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
|
boolean |
isNumberColumn(DataRuntime runtime,
Column column)
是否是数字列
|
List<String> |
keyHolders(DataRuntime runtime,
ConfigStore configs)
自增主键值keys
|
StringBuilder |
keys(DataRuntime runtime,
StringBuilder builder,
Table meta)
table[命令合成-子流程]
数据模型 |
default 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集合,结果中不包含元数据信息 |
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) |
default <T extends MasterTable> |
masterTables(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
String pattern,
int types) |
default <T extends MasterTable> |
masterTables(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
String pattern,
int types,
boolean struct) |
default <T extends MasterTable> |
masterTables(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
String pattern,
int types,
boolean struct,
ConfigStore configs) |
default <T extends MasterTable> |
masterTables(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
String pattern,
int types,
int struct) |
<T extends MasterTable> |
masterTables(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
String pattern,
int types,
int struct,
ConfigStore configs)
masterTable[调用入口]
|
default <T extends MasterTable> |
masterTables(DataRuntime runtime,
String random,
Catalog catalog,
Schema schema,
String pattern,
int types) |
default <T extends MasterTable> |
masterTables(DataRuntime runtime,
String random,
Catalog catalog,
Schema schema,
String pattern,
int types,
boolean struct) |
default <T extends MasterTable> |
masterTables(DataRuntime runtime,
String random,
Catalog catalog,
Schema schema,
String pattern,
int types,
boolean struct,
ConfigStore configs) |
default <T extends MasterTable> |
masterTables(DataRuntime runtime,
String random,
Catalog catalog,
Schema schema,
String pattern,
int types,
int struct) |
<T extends MasterTable> |
masterTables(DataRuntime runtime,
String random,
Catalog catalog,
Schema schema,
String pattern,
int types,
int struct,
ConfigStore configs) |
default boolean |
match(DataRuntime runtime,
boolean compensate)
验证运行环境与当前适配器是否匹配
默认不连接只根据连接参数 只有同一个库区分不同版本(如mmsql2000/mssql2005)或不同模式(如kingbase的oracle/pg模式)时才需要单独实现 |
default boolean |
match(String feature,
List<String> keywords,
boolean compensate) |
default boolean |
matchByAdapter(DataRuntime runtime) |
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)
合成最终 select count 命令
|
LinkedHashMap<String,Column> |
metadata(DataRuntime runtime,
RunPrepare prepare,
boolean comment)
根据结果集对象获取列结构,如果有表名应该调用metadata().columns(table);或metadata().table(table).getColumns()
|
StringBuilder |
name(DataRuntime runtime,
StringBuilder builder,
Column meta) |
StringBuilder |
name(DataRuntime runtime,
StringBuilder builder,
Metadata meta) |
String |
name(Type type) |
default List<String> |
names(List<Type> types) |
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 column)
column[命令合成-子流程]
定义列:更新行事件 |
StringBuilder |
parameter(DataRuntime runtime,
StringBuilder builder,
Parameter parameter)
procedure[命令合成-子流程]
生在输入输出参数 |
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 column)
column[命令合成-子流程]
定义列:位置 |
PrimaryKey |
primary(DataRuntime runtime,
String random,
boolean greedy,
Table table)
primary[调用入口]
查询主键 |
StringBuilder |
primary(DataRuntime runtime,
StringBuilder builder,
Column column)
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 key元数据结果集的依据 |
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[结果集封装]
根据查询结果集构造 Procedure |
<T extends Procedure> |
procedures(DataRuntime runtime,
int index,
boolean create,
List<T> procedures,
DataSet set)
procedure[结果集封装]
根据查询结果集构造 Procedure |
<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 |
Object |
read(DataRuntime runtime,
Column metadata,
Object value,
Class clazz)
从数据库中读取数据,常用的基本类型可以自动转换,不常用的如json/point/polygon/blob等转换成anyline对应的类型
|
default DataReader |
reader(Object type)
根据读出的数据类型 定位DataReader
|
default void |
reg(DataReader reader)
读取数据库入 类型转换 读取的原始类型需要reader中实现supports
|
default void |
reg(DataWriter writer)
写入数据库时 类型转换 写入的原始类型需要writer中实现supports
|
default void |
reg(Object[] supports,
DataReader reader)
读取数据库入 类型转换
|
default void |
reg(Object[] supports,
DataWriter writer)
写入数据库前 类型转换
|
TypeMetadata.Config |
reg(String type,
TypeMetadata.Config config)
注册数据类型配置
要从配置项中取出每个属性检测合并,不要整个覆盖 数据类型 与 数据类型名称 的区别:如ORACLE_FLOAT,FLOAT 这两个对象的name都是float所以会相互覆盖 |
TypeMetadata.Config |
reg(TypeMetadataAlias alias)
注册数据类型别名(包含对应的标准类型、length/precision/scale等配置)
|
TypeMetadata.Config |
reg(TypeMetadata type,
TypeMetadata.Config config)
注册数据类型配置
要从配置项中取出每个属性检测合并,不要整个覆盖 数据类型 与 数据类型名称 的区别:如ORACLE_FLOAT,FLOAT 这两个对象的name都是float所以会相互覆盖 |
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()返回 |
default long |
save(DataRuntime runtime,
String random,
Object data,
List<String> columns) |
default long |
save(DataRuntime runtime,
String random,
Object data,
String... columns) |
default long |
save(DataRuntime runtime,
String random,
String dest,
Object data,
ConfigStore configs,
List<String> columns) |
default long |
save(DataRuntime runtime,
String random,
String dest,
Object data,
List<String> columns) |
default long |
save(DataRuntime runtime,
String random,
String dest,
Object data,
String... columns) |
long |
save(DataRuntime runtime,
String random,
Table dest,
Object data,
ConfigStore configs,
List<String> columns)
save [调用入口]
根据是否有主键值确认insert | update 执行完成后会补齐自增主键值 |
default long |
save(DataRuntime runtime,
String random,
Table dest,
Object data,
List<String> columns) |
default long |
save(DataRuntime runtime,
String random,
Table dest,
Object data,
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 |
default Schema |
schema(DataRuntime runtime,
String random,
Catalog catalog,
String name) |
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) |
default List<Schema> |
schemas(DataRuntime runtime,
String random,
boolean greedy,
String name) |
LinkedHashMap<String,Schema> |
schemas(DataRuntime runtime,
String random,
Catalog catalog,
String name)
schema[调用入口]
|
default LinkedHashMap<String,Schema> |
schemas(DataRuntime runtime,
String random,
String name) |
<T extends Metadata> |
search(List<T> metas,
Catalog catalog,
Schema schema,
String name)
根据 catalog, schema, name检测tables集合中是否存在
|
default DataSet |
select(DataRuntime runtime,
String random,
boolean system,
String table,
ConfigStore configs,
Run run) |
DataSet |
select(DataRuntime runtime,
String random,
boolean system,
Table table,
ConfigStore configs,
Run run)
select [命令执行]
|
<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) |
void |
setWorker(DriverWorker worker) |
default boolean |
slice()
是否支持DDL合并
|
default boolean |
slice(boolean slice) |
boolean |
supportCatalog() |
boolean |
supportInsertPlaceholder()
insert [命令合成-子流程]
插入数据时是否支持占位符 |
boolean |
supportKeyHolder(DataRuntime runtime,
ConfigStore configs)
是否支持返回自增主键值
|
boolean |
supportSchema() |
default boolean |
supportSqlVarPlaceholderRegexExt(DataRuntime runtime)
是否支持SQL变量占位符扩展格式 :VAR,图数据库不要支持会与表冲突
|
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) |
default <T extends Table> |
tables(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
String pattern,
int types) |
default <T extends Table> |
tables(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
String pattern,
int types,
boolean struct) |
default <T extends Table> |
tables(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
String pattern,
int types,
boolean struct,
ConfigStore configs) |
default <T extends Table> |
tables(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
String pattern,
int types,
int struct) |
<T extends Table> |
tables(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
String pattern,
int types,
int struct,
ConfigStore configs)
table[调用入口]
|
default <T extends Table> |
tables(DataRuntime runtime,
String random,
Catalog catalog,
Schema schema,
String pattern,
int types) |
default <T extends Table> |
tables(DataRuntime runtime,
String random,
Catalog catalog,
Schema schema,
String pattern,
int types,
boolean struct) |
default <T extends Table> |
tables(DataRuntime runtime,
String random,
Catalog catalog,
Schema schema,
String pattern,
int types,
boolean struct,
ConfigStore configs) |
default <T extends Table> |
tables(DataRuntime runtime,
String random,
Catalog catalog,
Schema schema,
String pattern,
int types,
int struct) |
<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[调用入口]
|
default long |
truncate(DataRuntime runtime,
String random,
String table) |
long |
truncate(DataRuntime runtime,
String random,
Table table)
truncate [调用入口]
|
DatabaseType |
type()
数据库类型
|
StringBuilder |
type(DataRuntime runtime,
StringBuilder builder,
Column column)
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 |
default LinkedHashMap<String,TypeMetadata> |
types() |
StringBuilder |
unique(DataRuntime runtime,
StringBuilder builder,
Column meta)
column[命令合成-子流程]
列定义:唯一索引 |
default long |
update(DataRuntime runtime,
String random,
int batch,
Object data,
ConfigStore configs) |
default long |
update(DataRuntime runtime,
String random,
int batch,
Object data,
ConfigStore configs,
List<String> columns) |
default long |
update(DataRuntime runtime,
String random,
int batch,
Object data,
ConfigStore configs,
String... columns) |
default long |
update(DataRuntime runtime,
String random,
int batch,
Object data,
List<String> columns) |
default long |
update(DataRuntime runtime,
String random,
int batch,
Object data,
String... columns) |
default long |
update(DataRuntime runtime,
String random,
int batch,
String dest,
Object data,
ConfigStore configs,
List<String> columns) |
default long |
update(DataRuntime runtime,
String random,
int batch,
String dest,
Object data,
ConfigStore configs,
String... columns) |
default long |
update(DataRuntime runtime,
String random,
int batch,
String dest,
Object data,
List<String> columns) |
default long |
update(DataRuntime runtime,
String random,
int batch,
String dest,
Object data,
String... columns) |
long |
update(DataRuntime runtime,
String random,
int batch,
Table dest,
Object data,
ConfigStore configs,
List<String> columns)
UPDATE [调用入口]
|
default long |
update(DataRuntime runtime,
String random,
int batch,
Table dest,
Object data,
ConfigStore configs,
String... columns) |
default long |
update(DataRuntime runtime,
String random,
int batch,
Table dest,
Object data,
List<String> columns) |
default long |
update(DataRuntime runtime,
String random,
int batch,
Table dest,
Object data,
String... columns) |
default long |
update(DataRuntime runtime,
String random,
Object data,
ConfigStore configs) |
default long |
update(DataRuntime runtime,
String random,
Object data,
ConfigStore configs,
List<String> columns) |
default long |
update(DataRuntime runtime,
String random,
Object data,
ConfigStore configs,
String... columns) |
default long |
update(DataRuntime runtime,
String random,
Object data,
List<String> columns) |
default long |
update(DataRuntime runtime,
String random,
Object data,
String... columns) |
default long |
update(DataRuntime runtime,
String random,
String dest,
Object data,
ConfigStore configs,
List<String> columns) |
default long |
update(DataRuntime runtime,
String random,
String dest,
Object data,
ConfigStore configs,
Run run) |
default long |
update(DataRuntime runtime,
String random,
String dest,
Object data,
ConfigStore configs,
String... columns) |
default long |
update(DataRuntime runtime,
String random,
String dest,
Object data,
List<String> columns) |
default long |
update(DataRuntime runtime,
String random,
String dest,
Object data,
String... columns) |
default long |
update(DataRuntime runtime,
String random,
Table dest,
Object data,
ConfigStore configs,
List<String> columns) |
long |
update(DataRuntime runtime,
String random,
Table dest,
Object data,
ConfigStore configs,
Run run)
update [命令执行]
|
default long |
update(DataRuntime runtime,
String random,
Table dest,
Object data,
ConfigStore configs,
String... columns) |
default long |
update(DataRuntime runtime,
String random,
Table dest,
Object data,
List<String> columns) |
default long |
update(DataRuntime runtime,
String random,
Table dest,
Object data,
String... columns) |
String |
value(DataRuntime runtime,
Column column,
DriverAdapter.SQL_BUILD_IN_VALUE value)
内置函数
如果需要引号,方法应该一块返回
|
void |
value(DataRuntime runtime,
StringBuilder builder,
Object row,
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[调用入口]
当前数据源 数据库版本 版本号比较复杂 不是全数字 |
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) |
default <T extends VertexTable> |
vertexTables(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
String pattern,
int types) |
default <T extends VertexTable> |
vertexTables(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
String pattern,
int types,
boolean struct) |
default <T extends VertexTable> |
vertexTables(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
String pattern,
int types,
boolean struct,
ConfigStore configs) |
default <T extends VertexTable> |
vertexTables(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
String pattern,
int types,
int struct) |
<T extends VertexTable> |
vertexTables(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
String pattern,
int types,
int struct,
ConfigStore configs)
vertexTable[调用入口]
|
default <T extends VertexTable> |
vertexTables(DataRuntime runtime,
String random,
Catalog catalog,
Schema schema,
String pattern,
int types) |
default <T extends VertexTable> |
vertexTables(DataRuntime runtime,
String random,
Catalog catalog,
Schema schema,
String pattern,
int types,
boolean struct) |
default <T extends VertexTable> |
vertexTables(DataRuntime runtime,
String random,
Catalog catalog,
Schema schema,
String pattern,
int types,
boolean struct,
ConfigStore configs) |
default <T extends VertexTable> |
vertexTables(DataRuntime runtime,
String random,
Catalog catalog,
Schema schema,
String pattern,
int types,
int struct) |
<T extends VertexTable> |
vertexTables(DataRuntime runtime,
String random,
Catalog catalog,
Schema schema,
String pattern,
int types,
int struct,
ConfigStore configs) |
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) |
default <T extends View> |
views(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
String pattern,
int types) |
default <T extends View> |
views(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
String pattern,
int types,
boolean struct) |
default <T extends View> |
views(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
String pattern,
int types,
boolean struct,
ConfigStore configs) |
default <T extends View> |
views(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
String pattern,
int types,
int struct) |
<T extends View> |
views(DataRuntime runtime,
String random,
boolean greedy,
Catalog catalog,
Schema schema,
String pattern,
int types,
int struct,
ConfigStore configs)
view[调用入口]
|
default <T extends View> |
views(DataRuntime runtime,
String random,
Catalog catalog,
Schema schema,
String pattern,
int types) |
default <T extends View> |
views(DataRuntime runtime,
String random,
Catalog catalog,
Schema schema,
String pattern,
int types,
boolean struct) |
default <T extends View> |
views(DataRuntime runtime,
String random,
Catalog catalog,
Schema schema,
String pattern,
int types,
boolean struct,
ConfigStore configs) |
default <T extends View> |
views(DataRuntime runtime,
String random,
Catalog catalog,
Schema schema,
String pattern,
int types,
int struct) |
<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)
通过占位符写入数据库前转换成数据库可接受的Java数据类型
|
default DataWriter |
writer(Object type)
根据写入的数据类型 定位DataWriter,只根据输入类型,输出类型在writer中判断
|
DatabaseType type()
default LinkedHashMap<String,TypeMetadata> types()
LinkedHashMap<String,TypeMetadata> alias()
void setWorker(DriverWorker worker)
DriverWorker getWorker()
boolean supportCatalog()
boolean supportSchema()
void setListener(DDListener listener)
DDListener getDDListener()
void setListener(DMListener listener)
DMListener getDMListener()
void setGenerator(PrimaryGenerator generator)
void setDelimiter(String delimiter)
default boolean equals(Metadata m1, Metadata m2)
m1 - Metadatam2 - Metadatadefault boolean empty(Metadata meta)
default boolean empty(String meta)
TypeMetadata.Config reg(TypeMetadataAlias alias)
alias - 数据类型别名TypeMetadata.Config reg(String type, TypeMetadata.Config config)
type - 数据类型名称config - 配置项TypeMetadata.Config reg(TypeMetadata type, TypeMetadata.Config config)
type - 数据类型config - 配置项default boolean match(DataRuntime runtime, boolean compensate)
runtime - 运行环境主要包含驱动适配器 数据源或客户端compensate - 是否补偿匹配,第一次失败后,会再匹配一次,第二次传入truedefault boolean matchByAdapter(DataRuntime runtime)
default boolean match(String feature, List<String> keywords, boolean compensate)
feature - 当前运行环境特征keywords - 关键字+jdbc-url前缀+驱动类compensate - 是否补偿匹配,第一次失败后,会再匹配一次,第二次传入trueString getDelimiterFr()
String getDelimiterTo()
DatabaseType compatible()
TypeMetadata typeMetadata(DataRuntime runtime, Column meta)
meta - 列TypeMetadata typeMetadata(DataRuntime runtime, String type)
type - 编码时输入的类型(通常是java类)default void reg(Object[] supports, DataWriter writer)
supports - 写入的原始类型 class ColumnType StringColumnTypewriter - DataWriterdefault void reg(DataWriter writer)
writer - DataWriterdefault void reg(Object[] supports, DataReader reader)
supports - 读取的原始类型 class ColumnType StringColumnTypereader - DataReaderdefault void reg(DataReader reader)
reader - DataReaderdefault DataReader reader(Object type)
type - class ColumnType StringColumnTypedefault DataWriter writer(Object type)
type - class(String.class) TypeMetadata,TypeMetadata.CATEGORY, StringColumnType("VARCHAR2")default void in(DataRuntime runtime, StringBuilder builder, String column, List<String> list)
List<Run> merge(DataRuntime runtime, Table meta, List<Run> slices)
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表slices - slicesdefault List<Run> ddl(DataRuntime runtime, String random, MetadataDiffer differ)
default List<Run> ddl(DataRuntime runtime, String random, MetadataDiffer differ, boolean merge)
differ - differ 需要保证表中有列信息default List<Run> ddl(DataRuntime runtime, String random, List<MetadataDiffer> differs)
differs - differslong insert(DataRuntime runtime, String random, int batch, Table dest, Object data, ConfigStore configs, List<String> columns)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令dest - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源data - 需要插入入的数据columns - 需要插入的列,如果不指定则根据data或configs获取注意会受到ConfigTable中是否插入更新空值的几个配置项影响
列可以加前缀default long insert(DataRuntime runtime, String random, int batch, Table dest, Object data, List<String> columns)
default long insert(DataRuntime runtime, String random, int batch, Table dest, Object data, String... columns)
default long insert(DataRuntime runtime, String random, int batch, Object data, String... columns)
default long insert(DataRuntime runtime, String random, Table dest, Object data, List<String> columns)
default long insert(DataRuntime runtime, String random, Table dest, Object data, String... columns)
default long insert(DataRuntime runtime, String random, Object data, String... columns)
default long insert(DataRuntime runtime, String random, int batch, String dest, Object data, ConfigStore configs, List<String> columns)
default long insert(DataRuntime runtime, String random, int batch, String dest, Object data, List<String> columns)
default long insert(DataRuntime runtime, String random, int batch, String dest, Object data, String... columns)
default long insert(DataRuntime runtime, String random, String dest, Object data, List<String> columns)
default long insert(DataRuntime runtime, String random, String dest, Object data, String... columns)
long insert(DataRuntime runtime, String random, Table dest, RunPrepare prepare, ConfigStore configs, Object obj, String... conditions)
runtime - 运行环境主要包含驱动适配器 数据源或客户端dest - 插入表prepare - 查询表configs - 查询条件及相关配置obj - 查询条件conditions - 查询条件Run buildInsertRun(DataRuntime runtime, Table dest, RunPrepare prepare, ConfigStore configs, Object obj, String... conditions)
runtime - 运行环境主要包含驱动适配器 数据源或客户端dest - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源prepare - 查询configs - 过滤条件及相关配置Run buildInsertRun(DataRuntime runtime, int batch, Table dest, Object obj, ConfigStore configs, List<String> columns)
runtime - 运行环境主要包含驱动适配器 数据源或客户端dest - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源obj - 需要插入的数据columns - 需要插入的列,如果不指定则根据data或configs获取注意会受到ConfigTable中是否插入更新空值的几个配置项影响default Run buildInsertRun(DataRuntime runtime, int batch, Table dest, Object obj, List<String> columns)
default Run buildInsertRun(DataRuntime runtime, int batch, Table dest, Object obj, String... columns)
default Run buildInsertRun(DataRuntime runtime, int batch, Table dest, Object obj, ConfigStore confgis, String... columns)
default Run buildInsertRun(DataRuntime runtime, int batch, Object obj, String... columns)
default Run buildInsertRun(DataRuntime runtime, int batch, Object obj, ConfigStore configs, String... columns)
default Run buildInsertRun(DataRuntime runtime, int batch, ConfigStore configs, Object obj, String... columns)
default Run buildInsertRun(DataRuntime runtime, int batch, String dest, Object obj, ConfigStore configs, List<String> columns)
default Run buildInsertRun(DataRuntime runtime, int batch, String dest, Object obj, List<String> columns)
default Run buildInsertRun(DataRuntime runtime, int batch, String dest, Object obj, String... columns)
default Run buildInsertRun(DataRuntime runtime, int batch, String dest, Object obj, ConfigStore confgis, String... columns)
void fillInsertContent(DataRuntime runtime, Run run, Table dest, Collection list, ConfigStore configs, LinkedHashMap<String,Column> columns)
runtime - 运行环境主要包含驱动适配器 数据源或客户端run - 最终待执行的命令和参数(如果是JDBC环境就是SQL)dest - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源list - 需要插入的数据集合columns - 需要插入的列,如果不指定则根据data或configs获取注意会受到ConfigTable中是否插入更新空值的几个配置项影响default void fillInsertContent(DataRuntime runtime, Run run, Table dest, Collection list, LinkedHashMap<String,Column> columns)
void fillInsertContent(DataRuntime runtime, Run run, Table dest, DataSet set, ConfigStore configs, LinkedHashMap<String,Column> columns)
runtime - 运行环境主要包含驱动适配器 数据源或客户端run - 最终待执行的命令和参数(如果是JDBC环境就是SQL)dest - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源set - 需要插入的数据集合columns - 需要插入的列,如果不指定则根据data或configs获取注意会受到ConfigTable中是否插入更新空值的几个配置项影响default void fillInsertContent(DataRuntime runtime, Run run, Table dest, DataSet set, LinkedHashMap<String,Column> columns)
default void fillInsertContent(DataRuntime runtime, Run run, String dest, Collection list, ConfigStore configs, LinkedHashMap<String,Column> columns)
runtime - 运行环境主要包含驱动适配器 数据源或客户端run - 最终待执行的命令和参数(如果是JDBC环境就是SQL)dest - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源list - 需要插入的数据集合columns - 需要插入的列,如果不指定则根据data或configs获取注意会受到ConfigTable中是否插入更新空值的几个配置项影响default void fillInsertContent(DataRuntime runtime, Run run, String dest, Collection list, LinkedHashMap<String,Column> columns)
default void fillInsertContent(DataRuntime runtime, Run run, String dest, DataSet set, ConfigStore configs, LinkedHashMap<String,Column> columns)
runtime - 运行环境主要包含驱动适配器 数据源或客户端run - 最终待执行的命令和参数(如果是JDBC环境就是SQL)dest - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源set - 需要插入的数据集合columns - 需要插入的列,如果不指定则根据data或configs获取注意会受到ConfigTable中是否插入更新空值的几个配置项影响default void fillInsertContent(DataRuntime runtime, Run run, String dest, DataSet set, LinkedHashMap<String,Column> columns)
LinkedHashMap<String,Column> confirmInsertColumns(DataRuntime runtime, Table dest, Object data, ConfigStore configs, List<String> columns, boolean batch)
runtime - 运行环境主要包含驱动适配器 数据源或客户端dest - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源data - Entity或DataRowbatch - 是否批量columns - 需要插入的列,如果不指定则根据data或configs获取注意会受到ConfigTable中是否插入更新空值的几个配置项影响
列可以加前缀default LinkedHashMap<String,Column> confirmInsertColumns(DataRuntime runtime, String dest, Object data, ConfigStore configs, List<String> columns, boolean batch)
String batchInsertSeparator()
boolean supportInsertPlaceholder()
String generatedKey()
long insert(DataRuntime runtime, String random, Object data, ConfigStore configs, Run run, String[] pks)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令data - datarun - 最终待执行的命令和参数(如果是JDBC环境就是SQL)pks - 需要返回的主键boolean supportKeyHolder(DataRuntime runtime, ConfigStore configs)
runtime - 运行环境主要包含驱动适配器 数据源或客户端configs - configs中也可能禁用返回List<String> keyHolders(DataRuntime runtime, ConfigStore configs)
runtime - 运行环境主要包含驱动适配器 数据源或客户端configs - configs中也可能禁用返回long update(DataRuntime runtime, String random, int batch, Table dest, Object data, ConfigStore configs, List<String> columns)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令dest - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源data - 数据configs - 条件columns - 需要插入或更新的列,如果不指定则根据data或configs获取注意会受到ConfigTable中是否插入更新空值的几个配置项影响
列可以加前缀default long update(DataRuntime runtime, String random, int batch, Object data, ConfigStore configs, List<String> columns)
default long update(DataRuntime runtime, String random, int batch, Table dest, Object data, List<String> columns)
default long update(DataRuntime runtime, String random, int batch, Object data, List<String> columns)
default long update(DataRuntime runtime, String random, int batch, Object data, ConfigStore configs)
default long update(DataRuntime runtime, String random, int batch, Table dest, Object data, ConfigStore configs, String... columns)
default long update(DataRuntime runtime, String random, int batch, Object data, ConfigStore configs, String... columns)
default long update(DataRuntime runtime, String random, int batch, Table dest, Object data, String... columns)
default long update(DataRuntime runtime, String random, int batch, Object data, String... columns)
default long update(DataRuntime runtime, String random, Table dest, Object data, ConfigStore configs, List<String> columns)
default long update(DataRuntime runtime, String random, Object data, ConfigStore configs, List<String> columns)
default long update(DataRuntime runtime, String random, Table dest, Object data, List<String> columns)
default long update(DataRuntime runtime, String random, Object data, List<String> columns)
default long update(DataRuntime runtime, String random, Object data, ConfigStore configs)
default long update(DataRuntime runtime, String random, Table dest, Object data, ConfigStore configs, String... columns)
default long update(DataRuntime runtime, String random, Object data, ConfigStore configs, String... columns)
default long update(DataRuntime runtime, String random, Table dest, Object data, String... columns)
default long update(DataRuntime runtime, String random, Object data, String... columns)
default long update(DataRuntime runtime, String random, int batch, String dest, Object data, ConfigStore configs, List<String> columns)
default long update(DataRuntime runtime, String random, int batch, String dest, Object data, List<String> columns)
default long update(DataRuntime runtime, String random, int batch, String dest, Object data, ConfigStore configs, String... columns)
default long update(DataRuntime runtime, String random, int batch, String dest, Object data, String... columns)
default long update(DataRuntime runtime, String random, String dest, Object data, ConfigStore configs, List<String> columns)
default long update(DataRuntime runtime, String random, String dest, Object data, List<String> columns)
default long update(DataRuntime runtime, String random, String dest, Object data, ConfigStore configs, String... columns)
default long update(DataRuntime runtime, String random, String dest, Object data, String... columns)
Run buildUpdateRun(DataRuntime runtime, int btch, Table dest, Object obj, ConfigStore configs, List<String> columns)
runtime - 运行环境主要包含驱动适配器 数据源或客户端dest - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源obj - Entity或DtaRowconfigs - 更新条件columns - 需要插入或更新的列,如果不指定则根据data或configs获取注意会受到ConfigTable中是否插入更新空值的几个配置项影响
列可以加前缀Run buildUpdateRunLimit(DataRuntime runtime, Run run)
default Run buildUpdateRun(DataRuntime runtime, Table dest, Object obj, ConfigStore configs, List<String> columns)
default Run buildUpdateRun(DataRuntime runtime, Object obj, ConfigStore configs, List<String> columns)
default Run buildUpdateRun(DataRuntime runtime, Table dest, Object obj, List<String> columns)
default Run buildUpdateRun(DataRuntime runtime, Object obj, List<String> columns)
default Run buildUpdateRun(DataRuntime runtime, Table dest, Object obj, ConfigStore configs, String... columns)
default Run buildUpdateRun(DataRuntime runtime, Object obj, ConfigStore configs, String... columns)
default Run buildUpdateRun(DataRuntime runtime, Table dest, Object obj, String... columns)
default Run buildUpdateRun(DataRuntime runtime, Object obj, String... columns)
Run buildUpdateRunFromEntity(DataRuntime runtime, Table dest, Object obj, ConfigStore configs, LinkedHashMap<String,Column> columns)
Run buildUpdateRunFromDataRow(DataRuntime runtime, Table dest, DataRow row, ConfigStore configs, LinkedHashMap<String,Column> columns)
Run buildUpdateRunFromCollection(DataRuntime runtime, int batch, Table dest, Collection list, ConfigStore configs, LinkedHashMap<String,Column> columns)
default Run buildUpdateRun(DataRuntime runtime, int batch, String dest, Object obj, ConfigStore configs, List<String> columns)
default Run buildUpdateRun(DataRuntime runtime, String dest, Object obj, ConfigStore configs, List<String> columns)
default Run buildUpdateRun(DataRuntime runtime, String dest, Object obj, List<String> columns)
default Run buildUpdateRun(DataRuntime runtime, String dest, Object obj, ConfigStore configs, String... columns)
default Run buildUpdateRun(DataRuntime runtime, String dest, Object obj, String... columns)
default Run buildUpdateRunFromEntity(DataRuntime runtime, String dest, Object obj, ConfigStore configs, LinkedHashMap<String,Column> columns)
default Run buildUpdateRunFromDataRow(DataRuntime runtime, String dest, DataRow row, ConfigStore configs, LinkedHashMap<String,Column> columns)
default Run buildUpdateRunFromCollection(DataRuntime runtime, int batch, String dest, Collection list, ConfigStore configs, LinkedHashMap<String,Column> columns)
LinkedHashMap<String,Column> confirmUpdateColumns(DataRuntime runtime, Table dest, DataRow row, ConfigStore configs, List<String> columns)
row - DataRowconfigs - 更新条件columns - 需要插入或更新的列,如果不指定则根据data或configs获取注意会受到ConfigTable中是否插入更新空值的几个配置项影响
列可以加前缀LinkedHashMap<String,Column> confirmUpdateColumns(DataRuntime runtime, Table dest, Object obj, ConfigStore configs, List<String> columns)
default LinkedHashMap<String,Column> confirmUpdateColumns(DataRuntime runtime, String dest, DataRow row, ConfigStore configs, List<String> columns)
default LinkedHashMap<String,Column> confirmUpdateColumns(DataRuntime runtime, String dest, Object obj, ConfigStore configs, List<String> columns)
long update(DataRuntime runtime, String random, Table dest, Object data, ConfigStore configs, Run run)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令dest - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源data - 数据run - 最终待执行的命令和参数(如果是JDBC环境就是SQL)default long update(DataRuntime runtime, String random, String dest, Object data, ConfigStore configs, Run run)
long save(DataRuntime runtime, String random, Table dest, Object data, ConfigStore configs, List<String> columns)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令dest - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源data - 数据columns - 需要插入或更新的列,如果不指定则根据data或configs获取注意会受到ConfigTable中是否插入更新空值的几个配置项影响default long save(DataRuntime runtime, String random, Table dest, Object data, List<String> columns)
default long save(DataRuntime runtime, String random, Object data, List<String> columns)
default long save(DataRuntime runtime, String random, Table dest, Object data, String... columns)
default long save(DataRuntime runtime, String random, Object data, String... columns)
default long save(DataRuntime runtime, String random, String dest, Object data, ConfigStore configs, List<String> columns)
default long save(DataRuntime runtime, String random, String dest, Object data, List<String> columns)
default long save(DataRuntime runtime, String random, String dest, Object data, String... columns)
DataSet querys(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令prepare - 构建最终执行命令的全部参数,包含表(或视图|函数|自定义SQL)查询条件 排序 分页等configs - 过滤条件及相关配置conditions - 简单过滤条件DataSet querys(DataRuntime runtime, String random, Procedure procedure, PageNavi navi)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令procedure - 存储过程navi - 分页<T> EntitySet<T> selects(DataRuntime runtime, String random, RunPrepare prepare, Class<T> clazz, ConfigStore configs, String... conditions)
T - Entityruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令clazz - 类prepare - 构建最终执行命令的全部参数,包含表(或视图|函数|自定义SQL)查询条件 排序 分页等configs - 过滤条件及相关配置conditions - 简单过滤条件List<Map<String,Object>> maps(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令prepare - 构建最终执行命令的全部参数,包含表(或视图|函数|自定义SQL)查询条件 排序 分页等configs - 过滤条件及相关配置conditions - 简单过滤条件Run buildQueryRun(DataRuntime runtime, RunPrepare prepare, ConfigStore configs, String... conditions)
runtime - 运行环境主要包含驱动适配器 数据源或客户端prepare - 构建最终执行命令的全部参数,包含表(或视图|函数|自定义SQL)查询条件 排序 分页等configs - 过滤条件及相关配置conditions - 简单过滤条件void parseText(DataRuntime runtime, TextRun run)
runtime - 运行环境主要包含驱动适配器 数据源或客户端run - rundefault boolean supportSqlVarPlaceholderRegexExt(DataRuntime runtime)
runtime - 运行环境主要包含驱动适配器 数据源或客户端List<Run> buildQuerySequence(DataRuntime runtime, boolean next, String... names)
runtime - 运行环境主要包含驱动适配器 数据源或客户端next - 是否生成返回下一个序列 false:cur true:nextnames - 存储过程名称svoid fillQueryContent(DataRuntime runtime, StringBuilder builder, Run run)
run - 最终待执行的命令和参数(如果是JDBC环境就是SQL)void fillQueryContent(DataRuntime runtime, Run run)
String mergeFinalQuery(DataRuntime runtime, Run run)
runtime - 运行环境主要包含驱动适配器 数据源或客户端run - 最终待执行的命令和参数(如果是JDBC环境就是SQL)RunValue createConditionLike(DataRuntime runtime, StringBuilder builder, Compare compare, Object value, boolean placeholder)
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildercompare - 比较方式 默认 equal 多个值默认 invalue - valuedefault Object createConditionFindInSet(DataRuntime runtime, StringBuilder builder, String column, Compare compare, Object value, boolean placeholder) throws NotSupportException
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildercolumn - 列compare - 比较方式 默认 equal 多个值默认 invalue - valueNotSupportExceptiondefault Object createConditionJsonContains(DataRuntime runtime, StringBuilder builder, String column, Compare compare, Object value, boolean placeholder) throws NotSupportException
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildercolumn - 列compare - 比较方式 默认 equal 多个值默认 invalue - valueNotSupportExceptiondefault Object createConditionJsonContainsPath(DataRuntime runtime, StringBuilder builder, String column, Compare compare, Object value, boolean placeholder) throws NotSupportException
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildercolumn - 列compare - 比较方式 默认 equal 多个值默认 invalue - valueNotSupportExceptionStringBuilder createConditionIn(DataRuntime runtime, StringBuilder builder, Compare compare, Object value, boolean placeholder)
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildercompare - 比较方式 默认 equal 多个值默认 invalue - valueDataSet select(DataRuntime runtime, String random, boolean system, Table table, ConfigStore configs, Run run)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令system - 系统表不检测列属性table - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源run - 最终待执行的命令和参数(如果是JDBC环境就是SQL)default DataSet select(DataRuntime runtime, String random, boolean system, String table, ConfigStore configs, Run run)
List<Map<String,Object>> maps(DataRuntime runtime, String random, ConfigStore configs, Run run)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令run - 最终待执行的命令和参数(如果是JDBC环境就是SQL)Map<String,Object> map(DataRuntime runtime, String random, ConfigStore configs, Run run)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令run - 最终待执行的命令和参数(如果是JDBC环境就是SQL)DataRow sequence(DataRuntime runtime, String random, boolean next, String... names)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令next - 是否查下一个序列值names - 存储过程名称sList<Map<String,Object>> process(DataRuntime runtime, List<Map<String,Object>> list)
runtime - 运行环境主要包含驱动适配器 数据源或客户端list - JDBC执行返回的结果集long count(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令prepare - 构建最终执行命令的全部参数,包含表(或视图|函数|自定义SQL)查询条件 排序 分页等configs - 过滤条件及相关配置conditions - 简单过滤条件long count(DataRuntime runtime, String random, Run run)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令run - 最终待执行的命令和参数(如果是JDBC环境就是SQL)String mergeFinalTotal(DataRuntime runtime, Run run)
runtime - 运行环境主要包含驱动适配器 数据源或客户端run - 最终待执行的命令和参数(如果是JDBC环境就是SQL)boolean exists(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令prepare - 构建最终执行命令的全部参数,包含表(或视图|函数|自定义SQL)查询条件 排序 分页等configs - 查询条件及相关设置conditions - 简单过滤条件String mergeFinalExists(DataRuntime runtime, Run run)
runtime - 运行环境主要包含驱动适配器 数据源或客户端run - 最终待执行的命令和参数(如果是JDBC环境就是SQL)long execute(DataRuntime runtime, String random, RunPrepare prepare, ConfigStore configs, String... conditions)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令prepare - 构建最终执行命令的全部参数,包含表(或视图|函数|自定义SQL)查询条件 排序 分页等configs - 查询条件及相关设置conditions - 简单过滤条件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, Procedure procedure)
runtime - 运行环境主要包含驱动适配器 数据源或客户端procedure - 存储过程random - randomRun buildExecuteRun(DataRuntime runtime, RunPrepare prepare, ConfigStore configs, String... conditions)
runtime - 运行环境主要包含驱动适配器 数据源或客户端prepare - 构建最终执行命令的全部参数,包含表(或视图|函数|自定义SQL)查询条件 排序 分页等configs - 查询条件及相关设置conditions - 简单过滤条件void fillExecuteContent(DataRuntime runtime, Run run)
runtime - 运行环境主要包含驱动适配器 数据源或客户端run - 最终待执行的命令和参数(如果是JDBC环境就是SQL)long execute(DataRuntime runtime, String random, ConfigStore configs, Run run)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令run - 最终待执行的命令和参数(如果是JDBC环境就是SQL)<T> long deletes(DataRuntime runtime, String random, int batch, Table table, ConfigStore configs, String column, Collection<T> values)
T - Truntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令table - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源column - 列values - 列对应的值default <T> long deletes(DataRuntime runtime, String random, int batch, Table table, String column, Collection<T> values)
default <T> long deletes(DataRuntime runtime, String random, Table table, String column, Collection<T> values)
default <T> long deletes(DataRuntime runtime, String random, Table table, ConfigStore configs, String column, Collection<T> values)
default <T> long deletes(DataRuntime runtime, String random, int batch, Table table, String column, T... values)
default <T> long deletes(DataRuntime runtime, String random, int batch, Table table, ConfigStore configs, String column, T... values)
default <T> long deletes(DataRuntime runtime, String random, Table table, ConfigStore configs, String column, T... values)
default <T> long deletes(DataRuntime runtime, String random, Table table, String column, T... values)
default <T> long deletes(DataRuntime runtime, String random, int batch, String table, ConfigStore configs, String column, Collection<T> values)
default <T> long deletes(DataRuntime runtime, String random, int batch, String table, String column, Collection<T> values)
default <T> long deletes(DataRuntime runtime, String random, String table, String column, Collection<T> values)
default <T> long deletes(DataRuntime runtime, String random, String table, ConfigStore configs, String column, Collection<T> values)
default <T> long deletes(DataRuntime runtime, String random, int batch, String table, String column, T... values)
default <T> long deletes(DataRuntime runtime, String random, int batch, String table, ConfigStore configs, String column, T... values)
default <T> long deletes(DataRuntime runtime, String random, String table, ConfigStore configs, String column, T... values)
default <T> long deletes(DataRuntime runtime, String random, String table, String column, T... values)
long delete(DataRuntime runtime, String random, Table table, ConfigStore configs, Object obj, String... columns)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令table - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源obj - entity或DataRowcolumns - 删除条件的列或属性,根据columns取obj值并合成删除条件default long delete(DataRuntime runtime, String random, String table, ConfigStore configs, Object obj, String... columns)
long delete(DataRuntime runtime, String random, Table table, ConfigStore configs, String... conditions)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令table - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源configs - 查询条件及相关设置conditions - 简单过滤条件default long delete(DataRuntime runtime, String random, String table, ConfigStore configs, String... conditions)
long truncate(DataRuntime runtime, String random, Table table)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令table - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源default long truncate(DataRuntime runtime, String random, String table)
Run buildDeleteRun(DataRuntime runtime, Table table, ConfigStore configs, Object obj, String... columns)
runtime - 运行环境主要包含驱动适配器 数据源或客户端table - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源obj - entity或DataRowcolumns - 删除条件的列或属性,根据columns取obj值并合成删除条件default Run buildDeleteRun(DataRuntime runtime, String table, ConfigStore configs, Object obj, String... columns)
default Run buildDeleteRun(DataRuntime runtime, Table table, ConfigStore configs)
default Run buildDeleteRun(DataRuntime runtime, String table, ConfigStore configs)
Run buildDeleteRun(DataRuntime runtime, int batch, Table table, ConfigStore configs, String column, Object values)
runtime - 运行环境主要包含驱动适配器 数据源或客户端table - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源column - 列values - valuesdefault Run buildDeleteRun(DataRuntime runtime, int batch, String table, ConfigStore configs, String column, Object values)
List<Run> buildTruncateRun(DataRuntime runtime, Table table)
runtime - 运行环境主要包含驱动适配器 数据源或客户端table - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源default List<Run> buildTruncateRun(DataRuntime runtime, String table)
Run buildDeleteRunFromTable(DataRuntime runtime, int batch, Table table, ConfigStore configs, String column, Object values)
runtime - 运行环境主要包含驱动适配器 数据源或客户端table - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源column - 列values - valuesdefault Run buildDeleteRunFromTable(DataRuntime runtime, int batch, String table, ConfigStore configs, String column, Object values)
Run buildDeleteRunFromEntity(DataRuntime runtime, Table table, ConfigStore configs, Object obj, String... columns)
runtime - 运行环境主要包含驱动适配器 数据源或客户端table - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源 如果为空 可以根据obj解析obj - entity或DataRowcolumns - 删除条件的列或属性,根据columns取obj值并合成删除条件default Run buildDeleteRunFromEntity(DataRuntime runtime, String table, ConfigStore configs, Object obj, String... columns)
void fillDeleteRunContent(DataRuntime runtime, Run run)
run - 最终待执行的命令和参数(如果是JDBC环境就是SQL)long delete(DataRuntime runtime, String random, ConfigStore configs, Run run)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令configs - 查询条件及相关设置run - 最终待执行的命令和参数(如果是JDBC环境就是SQL)<T extends Metadata> void checkSchema(DataRuntime runtime, T meta)
T - Metadataruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - Metadatadefault <T extends Metadata> void correctSchemaFromJDBC(DataRuntime runtime, T meta, String catalog, String schema, boolean overrideRuntime, boolean overrideMeta)
T - Metadatameta - Metadatacatalog - catalogschema - schemaoverrideMeta - 如果meta中有值,是否覆盖overrideRuntime - 如果runtime中有值,是否覆盖,注意结果集中可能跨多个schema,所以一般不要覆盖runtime,从con获取的可以覆盖ResultSet中获取的不要覆盖default <T extends Metadata> void correctSchemaFromJDBC(DataRuntime runtime, T meta, String catalog, String schema)
T - Metadatameta - Metadatacatalog - catalogschema - schemadefault String[] correctSchemaFromJDBC(String catalog, String schema)
catalog - catalogschema - schemaLinkedHashMap<String,Column> metadata(DataRuntime runtime, RunPrepare prepare, boolean comment)
runtime - 运行环境主要包含驱动适配器 数据源或客户端prepare - 构建最终执行命令的全部参数,包含表(或视图|函数|自定义SQL)查询条件 排序 分页等comment - 是否需要查询列注释Database database(DataRuntime runtime, String random)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令String product(DataRuntime runtime, String random)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令String version(DataRuntime runtime, String random)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令LinkedHashMap<String,Database> databases(DataRuntime runtime, String random, String name)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令name - 名称统配符或正则List<Database> databases(DataRuntime runtime, String random, boolean greedy, String name)
default Database database(DataRuntime runtime, String random, String name)
List<Run> buildQueryProductRun(DataRuntime runtime) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端Exception - 异常List<Run> buildQueryVersionRun(DataRuntime runtime) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端Exception - 异常List<Run> buildQueryDatabasesRun(DataRuntime runtime, boolean greedy, String name) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端name - 名称统配符或正则greedy - 贪婪模式 true:查询权限范围内尽可能多的数据Exception - 异常default List<Run> buildQueryDatabaseRun(DataRuntime runtime, boolean greedy) throws Exception
Exceptiondefault List<Run> buildQueryDatabaseRun(DataRuntime runtime, String name) throws Exception
Exceptiondefault List<Run> buildQueryDatabaseRun(DataRuntime runtime) throws Exception
ExceptionString product(DataRuntime runtime, int index, boolean create, String product, DataSet set)
runtime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建product - 上一步查询结果set - 查询结果集Exception - 异常String product(DataRuntime runtime, boolean create, String product)
runtime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建product - 上一步查询结果Exception - 异常String version(DataRuntime runtime, int index, boolean create, String version, DataSet set)
runtime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建version - 上一步查询结果set - 查询结果集Exception - 异常String version(DataRuntime runtime, boolean create, String version)
runtime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建version - 上一步查询结果Exception - 异常LinkedHashMap<String,Database> databases(DataRuntime runtime, int index, boolean create, LinkedHashMap<String,Database> databases, Catalog catalog, Schema schema, DataSet set) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照 buildQueryDatabaseRun 返回顺序create - 上一步没有查到的,这一步是否需要新创建databases - 上一步查询结果set - 查询结果集Exception - 异常List<Database> databases(DataRuntime runtime, int index, boolean create, List<Database> databases, Catalog catalog, Schema schema, DataSet set) throws Exception
ExceptionDatabase database(DataRuntime runtime, int index, boolean create, Database database, DataSet set) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照 buildQueryDatabaseRun 返回顺序create - 上一步没有查到的,这一步是否需要新创建database - 上一步查询结果set - 查询结果集Exception - 异常Database database(DataRuntime runtime, boolean create, Database database) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建database - 上一步查询结果Exception - 异常Catalog catalog(DataRuntime runtime, String random)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令LinkedHashMap<String,Catalog> catalogs(DataRuntime runtime, String random, String name)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令name - 名称统配符或正则List<Catalog> catalogs(DataRuntime runtime, String random, boolean greedy, String name)
default Catalog catalog(DataRuntime runtime, String random, String name)
List<Run> buildQueryCatalogRun(DataRuntime runtime, String random) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端Exception - 异常List<Run> buildQueryCatalogsRun(DataRuntime runtime, boolean greedy, String name) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端name - 名称统配符或正则greedy - 贪婪模式 true:查询权限范围内尽可能多的数据Exception - 异常default List<Run> buildQueryCatalogsRun(DataRuntime runtime) throws Exception
ExceptionLinkedHashMap<String,Catalog> catalogs(DataRuntime runtime, int index, boolean create, LinkedHashMap<String,Catalog> catalogs, Catalog catalog, Schema schema, DataSet set) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照 buildQueryDatabaseRun 返回顺序create - 上一步没有查到的,这一步是否需要新创建catalogs - 上一步查询结果set - 查询结果集Exception - 异常List<Catalog> catalogs(DataRuntime runtime, int index, boolean create, List<Catalog> catalogs, Catalog catalog, Schema schema, DataSet set) throws Exception
ExceptionLinkedHashMap<String,Catalog> catalogs(DataRuntime runtime, boolean create, LinkedHashMap<String,Catalog> catalogs) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建catalogs - 上一步查询结果Exception - 异常List<Catalog> catalogs(DataRuntime runtime, boolean create, List<Catalog> catalogs) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建catalogs - 上一步查询结果Exception - 异常Catalog catalog(DataRuntime runtime, int index, boolean create, Catalog catalog, DataSet set) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照 buildQueryDatabaseRun 返回顺序create - 上一步没有查到的,这一步是否需要新创建catalog - 上一步查询结果set - 查询结果集Exception - 异常Catalog catalog(DataRuntime runtime, boolean create, Catalog catalog) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建catalog - 上一步查询结果Exception - 异常Schema schema(DataRuntime runtime, String random)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令LinkedHashMap<String,Schema> schemas(DataRuntime runtime, String random, Catalog catalog, String name)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令catalog - catalogname - 名称统配符或正则default LinkedHashMap<String,Schema> schemas(DataRuntime runtime, String random, String name)
List<Schema> schemas(DataRuntime runtime, String random, boolean greedy, Catalog catalog, String name)
default List<Schema> schemas(DataRuntime runtime, String random, boolean greedy, String name)
default Schema schema(DataRuntime runtime, String random, Catalog catalog, String name)
List<Run> buildQuerySchemaRun(DataRuntime runtime, String random) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端Exception - 异常List<Run> buildQuerySchemasRun(DataRuntime runtime, boolean greedy, Catalog catalog, String name) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端catalog - catalogname - 名称统配符或正则greedy - 贪婪模式 true:查询权限范围内尽可能多的数据Exception - 异常default List<Run> buildQuerySchemasRun(DataRuntime runtime, String name) throws Exception
Exceptiondefault List<Run> buildQuerySchemasRun(DataRuntime runtime, Catalog catalog) throws Exception
ExceptionLinkedHashMap<String,Schema> schemas(DataRuntime runtime, int index, boolean create, LinkedHashMap<String,Schema> schemas, Catalog catalog, Schema schema, DataSet set) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照 buildQueryDatabaseRun 返回顺序create - 上一步没有查到的,这一步是否需要新创建schemas - 上一步查询结果set - 查询结果集Exception - 异常List<Schema> schemas(DataRuntime runtime, int index, boolean create, List<Schema> schemas, Catalog catalog, Schema schema, DataSet set) throws Exception
ExceptionLinkedHashMap<String,Schema> schemas(DataRuntime runtime, boolean create, LinkedHashMap<String,Schema> schemas) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建schemas - 上一步查询结果Exception - 异常List<Schema> schemas(DataRuntime runtime, boolean create, List<Schema> schemas) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建schemas - 上一步查询结果Exception - 异常Schema schema(DataRuntime runtime, int index, boolean create, Schema schema, DataSet set) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照 buildQuerySchemaRun 返回顺序create - 上一步没有查到的,这一步是否需要新创建schema - 上一步查询结果set - 查询结果集Exception - 异常Schema schema(DataRuntime runtime, boolean create, Schema schema) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建schema - 上一步查询结果Exception - 异常<T extends Metadata> T checkName(DataRuntime runtime, String random, T meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令meta - 表,视图等Exception - 如果区分不出来的抛出异常<T extends Table> List<T> tables(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, int struct, ConfigStore configs)
T - Tableruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令greedy - 贪婪模式 true:查询权限范围内尽可能多的数据catalog - catalogschema - schemapattern - 名称统配符或正则types - Metadata.TYPE.struct - 是否查询表结构default <T extends Table> List<T> tables(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, int struct)
default <T extends Table> List<T> tables(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, boolean struct, ConfigStore configs)
default <T extends Table> List<T> tables(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, boolean struct)
default <T extends Table> List<T> tables(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern, int types)
<T extends Table> LinkedHashMap<String,T> tables(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern, int types, int struct, ConfigStore configs)
default <T extends Table> LinkedHashMap<String,T> tables(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern, int types, int struct)
default <T extends Table> LinkedHashMap<String,T> tables(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern, int types, boolean struct, ConfigStore configs)
default <T extends Table> LinkedHashMap<String,T> tables(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern, int types, boolean struct)
default <T extends Table> LinkedHashMap<String,T> tables(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern, int types)
List<Run> buildQueryTablesRun(DataRuntime runtime, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, ConfigStore configs) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端greedy - 贪婪模式 true:查询权限范围内尽可能多的数据catalog - catalogschema - schemapattern - 名称统配符或正则types - Metadata.TYPE.Exception - ExceptionList<Run> buildQueryTablesCommentRun(DataRuntime runtime, Catalog catalog, Schema schema, String pattern, int types) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端catalog - catalogschema - schemapattern - 名称统配符或正则types - types Metadata.TYPE.Exception - Exception<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
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照buildQueryTablesRun返回顺序create - 上一步没有查到的,这一步是否需要新创建catalog - catalogschema - schematables - 上一步查询结果set - 查询结果集Exception - 异常<T extends Table> List<T> tables(DataRuntime runtime, int index, boolean create, List<T> tables, Catalog catalog, Schema schema, DataSet set) throws Exception
Exception<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
runtime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建tables - 上一步查询结果catalog - catalogschema - schemapattern - 名称统配符或正则types - types Metadata.TYPE.Exception - 异常<T extends Table> List<T> tables(DataRuntime runtime, boolean create, List<T> tables, Catalog catalog, Schema schema, String pattern, int types) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建tables - 上一步查询结果catalog - catalogschema - schemapattern - 名称统配符或正则types - types Metadata.TYPE.Exception - 异常<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
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照buildQueryTablesRun返回顺序create - 上一步没有查到的,这一步是否需要新创建catalog - catalogschema - schematables - 上一步查询结果set - 查询结果集Exception - 异常<T extends Table> List<T> comments(DataRuntime runtime, int index, boolean create, List<T> tables, Catalog catalog, Schema schema, DataSet set) throws Exception
ExceptionList<String> ddl(DataRuntime runtime, String random, Table table, boolean init)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令table - 表init - 是否还原初始状态 如自增状态List<Run> buildQueryDdlsRun(DataRuntime runtime, Table table) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端table - 表ExceptionList<String> ddl(DataRuntime runtime, int index, Table table, List<String> ddls, DataSet set)
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照 buildQueryDdlsRun 返回顺序table - 表ddls - 上一步查询结果set - sql执行的结果集<T extends Table> T init(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果catalog - catalogschema - schemarow - 查询结果集<T extends Table> T detail(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果row - 查询结果集TableMetadataAdapter tableMetadataAdapter(DataRuntime runtime)
runtime - 运行环境主要包含驱动适配器 数据源或客户端<T extends VertexTable> List<T> vertexTables(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, int struct, ConfigStore configs)
T - VertexTableruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令greedy - 贪婪模式 true:查询权限范围内尽可能多的数据catalog - catalogschema - schemapattern - 名称统配符或正则types - Metadata.TYPE.struct - 是否查询表结构default <T extends VertexTable> List<T> vertexTables(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, int struct)
default <T extends VertexTable> List<T> vertexTables(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, boolean struct, ConfigStore configs)
default <T extends VertexTable> List<T> vertexTables(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, boolean struct)
default <T extends VertexTable> List<T> vertexTables(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern, int types)
<T extends VertexTable> LinkedHashMap<String,T> vertexTables(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern, int types, int struct, ConfigStore configs)
default <T extends VertexTable> LinkedHashMap<String,T> vertexTables(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern, int types, int struct)
default <T extends VertexTable> LinkedHashMap<String,T> vertexTables(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern, int types, boolean struct, ConfigStore configs)
default <T extends VertexTable> LinkedHashMap<String,T> vertexTables(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern, int types, boolean struct)
default <T extends VertexTable> LinkedHashMap<String,T> vertexTables(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern, int types)
List<Run> buildQueryVertexTablesRun(DataRuntime runtime, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, ConfigStore configs) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端greedy - 贪婪模式 true:查询权限范围内尽可能多的数据catalog - catalogschema - schemapattern - 名称统配符或正则types - Metadata.TYPE.Exception - ExceptionList<Run> buildQueryVertexTablesCommentRun(DataRuntime runtime, Catalog catalog, Schema schema, String pattern, int types) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端catalog - catalogschema - schemapattern - 名称统配符或正则types - types Metadata.TYPE.Exception - Exception<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
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照buildQueryVertexTablesRun返回顺序create - 上一步没有查到的,这一步是否需要新创建catalog - catalogschema - schemavertexTables - 上一步查询结果set - 查询结果集Exception - 异常<T extends VertexTable> List<T> vertexTables(DataRuntime runtime, int index, boolean create, List<T> vertexTables, Catalog catalog, Schema schema, DataSet set) throws Exception
Exception<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
runtime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建vertexTables - 上一步查询结果catalog - catalogschema - schemapattern - 名称统配符或正则types - types Metadata.TYPE.Exception - 异常<T extends VertexTable> List<T> vertexTables(DataRuntime runtime, boolean create, List<T> vertexTables, Catalog catalog, Schema schema, String pattern, int types) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建vertexTables - 上一步查询结果catalog - catalogschema - schemapattern - 名称统配符或正则types - types Metadata.TYPE.Exception - 异常List<String> ddl(DataRuntime runtime, String random, VertexTable vertexTable, boolean init)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令vertexTable - 表init - 是否还原初始状态 如自增状态List<Run> buildQueryDdlsRun(DataRuntime runtime, VertexTable vertexTable) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端vertexTable - 表ExceptionList<String> ddl(DataRuntime runtime, int index, VertexTable vertexTable, List<String> ddls, DataSet set)
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照 buildQueryDdlsRun 返回顺序vertexTable - 表ddls - 上一步查询结果set - sql执行的结果集<T extends VertexTable> T init(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果catalog - catalogschema - schemarow - 查询结果集<T extends VertexTable> T detail(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果row - 查询结果集VertexTableMetadataAdapter vertexTableMetadataAdapter(DataRuntime runtime)
runtime - 运行环境主要包含驱动适配器 数据源或客户端<T extends EdgeTable> List<T> edgeTables(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, int struct, ConfigStore configs)
T - EdgeTableruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令greedy - 贪婪模式 true:查询权限范围内尽可能多的数据catalog - catalogschema - schemapattern - 名称统配符或正则types - Metadata.TYPE.struct - 是否查询表结构default <T extends EdgeTable> List<T> edgeTables(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, int struct)
default <T extends EdgeTable> List<T> edgeTables(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, boolean struct, ConfigStore configs)
default <T extends EdgeTable> List<T> edgeTables(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, boolean struct)
default <T extends EdgeTable> List<T> edgeTables(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern, int types)
<T extends EdgeTable> LinkedHashMap<String,T> edgeTables(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern, int types, int struct, ConfigStore configs)
default <T extends EdgeTable> LinkedHashMap<String,T> edgeTables(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern, int types, int struct)
default <T extends EdgeTable> LinkedHashMap<String,T> edgeTables(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern, int types, boolean struct, ConfigStore configs)
default <T extends EdgeTable> LinkedHashMap<String,T> edgeTables(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern, int types, boolean struct)
default <T extends EdgeTable> LinkedHashMap<String,T> edgeTables(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern, int types)
List<Run> buildQueryEdgeTablesRun(DataRuntime runtime, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, ConfigStore configs) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端greedy - 贪婪模式 true:查询权限范围内尽可能多的数据catalog - catalogschema - schemapattern - 名称统配符或正则types - Metadata.TYPE.Exception - ExceptionList<Run> buildQueryEdgeTablesCommentRun(DataRuntime runtime, Catalog catalog, Schema schema, String pattern, int types) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端catalog - catalogschema - schemapattern - 名称统配符或正则types - types Metadata.TYPE.Exception - Exception<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
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照buildQueryEdgeTablesRun返回顺序create - 上一步没有查到的,这一步是否需要新创建catalog - catalogschema - schemaedgeTables - 上一步查询结果set - 查询结果集Exception - 异常<T extends EdgeTable> List<T> edgeTables(DataRuntime runtime, int index, boolean create, List<T> edgeTables, Catalog catalog, Schema schema, DataSet set) throws Exception
Exception<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
runtime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建edgeTables - 上一步查询结果catalog - catalogschema - schemapattern - 名称统配符或正则types - types Metadata.TYPE.Exception - 异常<T extends EdgeTable> List<T> edgeTables(DataRuntime runtime, boolean create, List<T> edgeTables, Catalog catalog, Schema schema, String pattern, int types) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建edgeTables - 上一步查询结果catalog - catalogschema - schemapattern - 名称统配符或正则types - types Metadata.TYPE.Exception - 异常List<String> ddl(DataRuntime runtime, String random, EdgeTable edgeTable, boolean init)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令edgeTable - 表init - 是否还原初始状态 如自增状态List<Run> buildQueryDdlsRun(DataRuntime runtime, EdgeTable edgeTable) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端edgeTable - 表ExceptionList<String> ddl(DataRuntime runtime, int index, EdgeTable edgeTable, List<String> ddls, DataSet set)
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照 buildQueryDdlsRun 返回顺序edgeTable - 表ddls - 上一步查询结果set - sql执行的结果集<T extends EdgeTable> T init(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果catalog - catalogschema - schemarow - 查询结果集<T extends EdgeTable> T detail(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果row - 查询结果集EdgeTableMetadataAdapter edgeTableMetadataAdapter(DataRuntime runtime)
runtime - 运行环境主要包含驱动适配器 数据源或客户端<T extends View> List<T> views(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, int struct, ConfigStore configs)
T - Viewruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令greedy - 贪婪模式 true:查询权限范围内尽可能多的数据catalog - catalogschema - schemapattern - 名称统配符或正则types - Metadata.TYPE.struct - 是否查询视图结构default <T extends View> List<T> views(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, int struct)
default <T extends View> List<T> views(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, boolean struct, ConfigStore configs)
default <T extends View> List<T> views(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, boolean struct)
default <T extends View> List<T> views(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern, int types)
<T extends View> LinkedHashMap<String,T> views(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern, int types, int struct, ConfigStore configs)
default <T extends View> LinkedHashMap<String,T> views(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern, int types, int struct)
default <T extends View> LinkedHashMap<String,T> views(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern, int types, boolean struct, ConfigStore configs)
default <T extends View> LinkedHashMap<String,T> views(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern, int types, boolean struct)
default <T extends View> LinkedHashMap<String,T> views(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern, int types)
List<Run> buildQueryViewsRun(DataRuntime runtime, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, ConfigStore configs) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端greedy - 贪婪模式 true:查询权限范围内尽可能多的数据catalog - catalogschema - schemapattern - 名称统配符或正则types - Metadata.TYPE.Exception - ExceptionList<Run> buildQueryViewsCommentRun(DataRuntime runtime, Catalog catalog, Schema schema, String pattern, int types) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端catalog - catalogschema - schemapattern - 名称统配符或正则types - types Metadata.TYPE.Exception - Exception<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
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照buildQueryViewsRun返回顺序create - 上一步没有查到的,这一步是否需要新创建catalog - catalogschema - schemaviews - 上一步查询结果set - 查询结果集Exception - 异常<T extends View> List<T> views(DataRuntime runtime, int index, boolean create, List<T> views, Catalog catalog, Schema schema, DataSet set) throws Exception
Exception<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
runtime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建views - 上一步查询结果catalog - catalogschema - schemapattern - 名称统配符或正则types - types Metadata.TYPE.Exception - 异常<T extends View> List<T> views(DataRuntime runtime, boolean create, List<T> views, Catalog catalog, Schema schema, String pattern, int types) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建views - 上一步查询结果catalog - catalogschema - schemapattern - 名称统配符或正则types - types Metadata.TYPE.Exception - 异常List<String> ddl(DataRuntime runtime, String random, View view, boolean init)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令view - 视图init - 是否还原初始状态 如自增状态List<Run> buildQueryDdlsRun(DataRuntime runtime, View view) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端view - 视图ExceptionList<String> ddl(DataRuntime runtime, int index, View view, List<String> ddls, DataSet set)
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照 buildQueryDdlsRun 返回顺序view - 视图ddls - 上一步查询结果set - sql执行的结果集<T extends View> T init(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果catalog - catalogschema - schemarow - 查询结果集<T extends View> T detail(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果row - 查询结果集ViewMetadataAdapter viewMetadataAdapter(DataRuntime runtime)
runtime - 运行环境主要包含驱动适配器 数据源或客户端<T extends MasterTable> List<T> masterTables(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, int struct, ConfigStore configs)
T - MasterTableruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令greedy - 贪婪模式 true:查询权限范围内尽可能多的数据catalog - catalogschema - schemapattern - 名称统配符或正则types - Metadata.TYPE.struct - 是否查询表结构default <T extends MasterTable> List<T> masterTables(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, int struct)
default <T extends MasterTable> List<T> masterTables(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, boolean struct, ConfigStore configs)
default <T extends MasterTable> List<T> masterTables(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, boolean struct)
default <T extends MasterTable> List<T> masterTables(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern, int types)
<T extends MasterTable> LinkedHashMap<String,T> masterTables(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern, int types, int struct, ConfigStore configs)
default <T extends MasterTable> LinkedHashMap<String,T> masterTables(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern, int types, int struct)
default <T extends MasterTable> LinkedHashMap<String,T> masterTables(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern, int types, boolean struct, ConfigStore configs)
default <T extends MasterTable> LinkedHashMap<String,T> masterTables(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern, int types, boolean struct)
default <T extends MasterTable> LinkedHashMap<String,T> masterTables(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern, int types)
List<Run> buildQueryMasterTablesRun(DataRuntime runtime, boolean greedy, Catalog catalog, Schema schema, String pattern, int types, ConfigStore configs) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端greedy - 贪婪模式 true:查询权限范围内尽可能多的数据catalog - catalogschema - schemapattern - 名称统配符或正则types - Metadata.TYPE.Exception - ExceptionList<Run> buildQueryMasterTablesCommentRun(DataRuntime runtime, Catalog catalog, Schema schema, String pattern, int types) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端catalog - catalogschema - schemapattern - 名称统配符或正则types - types Metadata.TYPE.Exception - Exception<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
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照buildQueryMasterTablesRun返回顺序create - 上一步没有查到的,这一步是否需要新创建catalog - catalogschema - schemamasterTables - 上一步查询结果set - 查询结果集Exception - 异常<T extends MasterTable> List<T> masterTables(DataRuntime runtime, int index, boolean create, List<T> masterTables, Catalog catalog, Schema schema, DataSet set) throws Exception
Exception<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
runtime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建masterTables - 上一步查询结果catalog - catalogschema - schemapattern - 名称统配符或正则types - types Metadata.TYPE.Exception - 异常<T extends MasterTable> List<T> masterTables(DataRuntime runtime, boolean create, List<T> masterTables, Catalog catalog, Schema schema, String pattern, int types) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建masterTables - 上一步查询结果catalog - catalogschema - schemapattern - 名称统配符或正则types - types Metadata.TYPE.Exception - 异常List<String> ddl(DataRuntime runtime, String random, MasterTable masterTable, boolean init)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令masterTable - 表init - 是否还原初始状态 如自增状态List<Run> buildQueryDdlsRun(DataRuntime runtime, MasterTable masterTable) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端masterTable - 表ExceptionList<String> ddl(DataRuntime runtime, int index, MasterTable masterTable, List<String> ddls, DataSet set)
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照 buildQueryDdlsRun 返回顺序masterTable - 表ddls - 上一步查询结果set - sql执行的结果集<T extends MasterTable> T init(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果catalog - catalogschema - schemarow - 查询结果集<T extends MasterTable> T detail(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果row - 查询结果集MasterTableMetadataAdapter masterTableMetadataAdapter(DataRuntime runtime)
runtime - 运行环境主要包含驱动适配器 数据源或客户端<T extends PartitionTable> LinkedHashMap<String,T> partitionTables(DataRuntime runtime, String random, boolean greedy, MasterTable master, Map<String,Object> tags, String pattern)
T - MasterTableruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令greedy - 贪婪模式 true:查询权限范围内尽可能多的数据master - 主表pattern - 名称统配符或正则List<Run> buildQueryPartitionTablesRun(DataRuntime runtime, Catalog catalog, Schema schema, String pattern, int types) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端catalog - catalogschema - schemapattern - 名称统配符或正则types - yPartitionTable.TYPE.ExceptionList<Run> buildQueryPartitionTablesRun(DataRuntime runtime, Table master, Map<String,Object> tags, String pattern) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端master - 主表tags - 标签名+标签值pattern - 名称统配符或正则Exception - 异常List<Run> buildQueryPartitionTablesRun(DataRuntime runtime, Table master, Map<String,Object> tags) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端master - 主表tags - 标签名+标签值Exception - 异常List<Run> buildQueryPartitionTablesRun(DataRuntime runtime, Table master) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端master - 主表Exception - 异常<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
runtime - 运行环境主要包含驱动适配器 数据源或客户端total - 合计SQL数量index - 第几条SQL 对照 buildQueryMasterTablesRun返回顺序create - 上一步没有查到的,这一步是否需要新创建master - 主表catalog - catalogschema - schematables - 上一步查询结果set - 查询结果集Exception - 异常<T extends PartitionTable> LinkedHashMap<String,T> partitionTables(DataRuntime runtime, boolean create, LinkedHashMap<String,T> tables, Catalog catalog, Schema schema, MasterTable master) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建master - 主表catalog - catalogschema - schematables - 上一步查询结果Exception - 异常List<String> ddl(DataRuntime runtime, String random, PartitionTable table)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令table - PartitionTableList<Run> buildQueryDdlsRun(DataRuntime runtime, PartitionTable table) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端table - PartitionTableExceptionList<String> ddl(DataRuntime runtime, int index, PartitionTable table, List<String> ddls, DataSet set)
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照 buildQueryDdlsRun 返回顺序table - MasterTableddls - 上一步查询结果set - sql执行的结果集<T extends PartitionTable> T init(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果catalog - catalogschema - schemarow - 查询结果集<T extends PartitionTable> T detail(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果row - 查询结果集<T extends Column> LinkedHashMap<String,T> columns(DataRuntime runtime, String random, boolean greedy, Table table, boolean primary)
T - Columnruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令greedy - 贪婪模式 true:如果不填写catalog或schema则查询全部 false:只在当前catalog和schema中查询table - 表 如果不提供表名则根据data解析,表名可以事实前缀<数据源名>表示切换数据源primary - 是否检测主键<T extends Column> List<T> columns(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, Table table)
T - Columnruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令greedy - 贪婪模式 true:如果不填写catalog或schema则查询全部 false:只在当前catalog和schema中查询catalog - catalogschema - schematable - 查询全部表时 输入nulldefault <T extends Column> List<T> columns(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String table)
default <T extends Column> List<T> columns(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema)
<T extends Column> List<T> columns(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, Collection<? extends Table> tables)
T - Columnruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令greedy - 贪婪模式 true:如果不填写catalog或schema则查询全部 false:只在当前catalog和schema中查询catalog - catalogschema - schematables - 表<T extends Column> LinkedHashMap<String,T> columns(DataRuntime runtime, boolean create, LinkedHashMap<String,T> columns, Table table, String pattern) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建table - 表Exception - 异常List<Run> buildQueryColumnsRun(DataRuntime runtime, Table table, boolean metadata) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端table - 表metadata - 是否根据metadata(true:SELECT * FROM T WHERE 1=0,false:查询系统表)ExceptionList<Run> buildQueryColumnsRun(DataRuntime runtime, Catalog catalog, Schema schema, Collection<? extends Table> tables, boolean metadata) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端catalog - catalogschema - schematables - 表metadata - 是否根据metadata(true:SELECT * FROM T WHERE 1=0,false:查询系统表)Exception<T extends Column> LinkedHashMap<String,T> columns(DataRuntime runtime, int index, boolean create, Table table, LinkedHashMap<String,T> columns, DataSet set) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照 buildQueryColumnsRun返回顺序create - 上一步没有查到的,这一步是否需要新创建table - 表columns - 上一步查询结果set - 系统表查询SQL结果集Exception - 异常<T extends Column> List<T> columns(DataRuntime runtime, int index, boolean create, Table table, List<T> columns, DataSet set) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照 buildQueryColumnsRun返回顺序create - 上一步没有查到的,这一步是否需要新创建table - 表columns - 上一步查询结果set - 系统表查询SQL结果集Exception - 异常<T extends Column> List<T> columns(DataRuntime runtime, int index, boolean create, Collection<? extends Table> tables, List<T> columns, DataSet set) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照 buildQueryColumnsRun返回顺序create - 上一步没有查到的,这一步是否需要新创建tables - 表columns - 上一步查询结果set - 系统表查询SQL结果集Exception - 异常<T extends Column> T init(DataRuntime runtime, int index, T meta, Table table, DataRow row)
T - Columnruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果table - 表row - 系统表查询SQL结果集<T extends Column> T detail(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
T - Columnruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果row - 系统表查询SQL结果集ColumnMetadataAdapter columnMetadataAdapter(DataRuntime runtime)
runtime - 运行环境主要包含驱动适配器 数据源或客户端default ColumnMetadataAdapter columnMetadataAdapter(DataRuntime runtime, TypeMetadata meta)
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 具体数据类型,length/precisoin/scale三个属性需要根据数据类型覆盖通用配置String columnMetadataLengthRefer(DataRuntime runtime, TypeMetadata meta)
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - TypeMetadataString columnMetadataPrecisionRefer(DataRuntime runtime, TypeMetadata meta)
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - TypeMetadataString columnMetadataScaleRefer(DataRuntime runtime, TypeMetadata meta)
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - TypeMetadataint columnMetadataIgnoreLength(DataRuntime runtime, TypeMetadata meta)
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - TypeMetadataint columnMetadataIgnorePrecision(DataRuntime runtime, TypeMetadata meta)
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - TypeMetadataint columnMetadataIgnoreScale(DataRuntime runtime, TypeMetadata meta)
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - TypeMetadata<T extends Tag> LinkedHashMap<String,T> tags(DataRuntime runtime, String random, boolean greedy, Table table)
T - Tagruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令greedy - 贪婪模式 true:如果不填写catalog或schema则查询全部 false:只在当前catalog和schema中查询table - 表List<Run> buildQueryTagsRun(DataRuntime runtime, Table table, boolean metadata) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端table - 表metadata - 是否需要根据metadataException<T extends Tag> LinkedHashMap<String,T> tags(DataRuntime runtime, int index, boolean create, Table table, LinkedHashMap<String,T> tags, DataSet set) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条查询SQL 对照 buildQueryTagsRun返回顺序create - 上一步没有查到的,这一步是否需要新创建table - 表tags - 上一步查询结果set - 查询结果集Exception - 异常<T extends Tag> LinkedHashMap<String,T> tags(DataRuntime runtime, boolean create, LinkedHashMap<String,T> tags, Table table, String pattern) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建table - 表tags - 上一步查询结果pattern - 名称统配符或正则Exception - 异常<T extends Tag> T init(DataRuntime runtime, int index, T meta, Table table, DataRow row)
T - Tagruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果table - 表row - 系统表查询SQL结果集<T extends Tag> T detail(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
T - Tagruntime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果row - 系统表查询SQL结果集PrimaryKey primary(DataRuntime runtime, String random, boolean greedy, Table table)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令greedy - 贪婪模式 true:如果不填写catalog或schema则查询全部 false:只在当前catalog和schema中查询table - 表List<Run> buildQueryPrimaryRun(DataRuntime runtime, Table table) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端table - 表Exception<T extends PrimaryKey> T init(DataRuntime runtime, int index, T meta, Table table, DataSet set) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条查询SQL 对照 buildQueryIndexesRun 返回顺序meta - 上一步封装结果table - 表set - sql查询结果Exception - 异常<T extends PrimaryKey> T detail(DataRuntime runtime, int index, T meta, Table table, DataSet set) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条查询SQL 对照 buildQueryIndexesRun 返回顺序meta - 上一步封装结果table - 表set - sql查询结果Exception - 异常PrimaryMetadataAdapter primaryMetadataAdapter(DataRuntime runtime)
runtime - 运行环境主要包含驱动适配器 数据源或客户端PrimaryKey primary(DataRuntime runtime, Table table) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端table - 表Exception - 异常<T extends ForeignKey> LinkedHashMap<String,T> foreigns(DataRuntime runtime, String random, boolean greedy, Table table)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令greedy - 贪婪模式 true:如果不填写catalog或schema则查询全部 false:只在当前catalog和schema中查询table - 表List<Run> buildQueryForeignsRun(DataRuntime runtime, Table table) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端table - 表Exception<T extends ForeignKey> LinkedHashMap<String,T> foreigns(DataRuntime runtime, int index, Table table, LinkedHashMap<String,T> foreigns, DataSet set) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条查询SQL 对照 buildQueryForeignsRun 返回顺序table - 表foreigns - 上一步查询结果set - sql查询结果Exception - 异常<T extends ForeignKey> T init(DataRuntime runtime, int index, T meta, Table table, DataRow row) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条查询SQL 对照 buildQueryIndexesRun 返回顺序meta - 上一步封装结果table - 表row - sql查询结果Exception - 异常<T extends ForeignKey> T detail(DataRuntime runtime, int index, T meta, Table table, DataRow row) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条查询SQL 对照 buildQueryIndexesRun 返回顺序meta - 上一步封装结果table - 表row - sql查询结果Exception - 异常<T extends Index> List<T> indexes(DataRuntime runtime, String random, boolean greedy, Table table, String pattern)
T - Indexruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令greedy - 贪婪模式 true:如果不填写catalog或schema则查询全部 false:只在当前catalog和schema中查询table - 表pattern - 名称统配符或正则<T extends Index> List<T> indexes(DataRuntime runtime, String random, boolean greedy, Collection<? extends Table> tables)
<T extends Index> LinkedHashMap<String,T> indexes(DataRuntime runtime, String random, Table table, String pattern)
T - Indexruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令table - 表pattern - 名称统配符或正则List<Run> buildQueryIndexesRun(DataRuntime runtime, Table table, String name)
runtime - 运行环境主要包含驱动适配器 数据源或客户端table - 表name - 名称List<Run> buildQueryIndexesRun(DataRuntime runtime, Collection<? extends Table> tables)
<T extends Index> LinkedHashMap<String,T> indexes(DataRuntime runtime, int index, boolean create, Table table, LinkedHashMap<String,T> indexes, DataSet set) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条查询SQL 对照 buildQueryIndexesRun 返回顺序create - 上一步没有查到的,这一步是否需要新创建table - 表indexes - 上一步查询结果set - 查询结果集Exception - 异常<T extends Index> List<T> indexes(DataRuntime runtime, int index, boolean create, Table table, List<T> indexes, DataSet set) throws Exception
Exception<T extends Index> List<T> indexes(DataRuntime runtime, int index, boolean create, Collection<? extends Table> tables, List<T> indexes, DataSet set) throws Exception
Exception<T extends Index> List<T> indexes(DataRuntime runtime, boolean create, List<T> indexes, Table table, boolean unique, boolean approximate) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建table - 表unique - 是否唯一approximate - 索引允许结果反映近似值Exception - 异常<T extends Index> LinkedHashMap<String,T> indexes(DataRuntime runtime, boolean create, LinkedHashMap<String,T> indexes, Table table, boolean unique, boolean approximate) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建table - 表unique - 是否唯一approximate - 索引允许结果反映近似值Exception - 异常<T extends Index> T init(DataRuntime runtime, int index, T meta, Table table, DataRow row) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条查询SQL 对照 buildQueryIndexesRun 返回顺序meta - 上一步封装结果table - 表row - sql查询结果Exception - 异常<T extends Index> T detail(DataRuntime runtime, int index, T meta, Table table, DataRow row) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条查询SQL 对照 buildQueryIndexesRun 返回顺序meta - 上一步封装结果table - 表row - sql查询结果Exception - 异常IndexMetadataAdapter indexMetadataAdapter(DataRuntime runtime)
runtime - 运行环境主要包含驱动适配器 数据源或客户端<T extends Constraint> List<T> constraints(DataRuntime runtime, String random, boolean greedy, Table table, String pattern)
T - Indexruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令greedy - 贪婪模式 true:如果不填写catalog或schema则查询全部 false:只在当前catalog和schema中查询table - 表pattern - 名称统配符或正则<T extends Constraint> LinkedHashMap<String,T> constraints(DataRuntime runtime, String random, Table table, Column column, String pattern)
T - Indexruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令table - 表column - 列pattern - 名称统配符或正则List<Run> buildQueryConstraintsRun(DataRuntime runtime, Table table, Column column, String pattern)
runtime - 运行环境主要包含驱动适配器 数据源或客户端table - 表pattern - 名称通配符或正则<T extends Constraint> List<T> constraints(DataRuntime runtime, int index, boolean create, Table table, List<T> constraints, DataSet set) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条查询SQL 对照 buildQueryConstraintsRun 返回顺序create - 上一步没有查到的,这一步是否需要新创建table - 表constraints - 上一步查询结果set - 查询结果集Exception - 异常<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
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条查询SQL 对照 buildQueryConstraintsRun 返回顺序create - 上一步没有查到的,这一步是否需要新创建table - 表column - 列constraints - 上一步查询结果set - 查询结果集Exception - 异常<T extends Constraint> T init(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果catalog - catalogschema - schemarow - 查询结果集<T extends Constraint> T detail(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果row - 查询结果集ConstraintMetadataAdapter constraintMetadataAdapter(DataRuntime runtime)
runtime - 运行环境主要包含驱动适配器 数据源或客户端<T extends Trigger> LinkedHashMap<String,T> triggers(DataRuntime runtime, String random, boolean greedy, Table table, List<Trigger.EVENT> events)
T - Indexruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令greedy - 贪婪模式 true:如果不填写catalog或schema则查询全部 false:只在当前catalog和schema中查询table - 表events - 事件 INSERT|UPDATE|DELETEList<Run> buildQueryTriggersRun(DataRuntime runtime, Table table, List<Trigger.EVENT> events)
runtime - 运行环境主要包含驱动适配器 数据源或客户端table - 表events - 事件 INSERT|UPDATE|DELETE<T extends Trigger> LinkedHashMap<String,T> triggers(DataRuntime runtime, int index, boolean create, Table table, LinkedHashMap<String,T> triggers, DataSet set) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条查询SQL 对照 buildQueryConstraintsRun 返回顺序create - 上一步没有查到的,这一步是否需要新创建table - 表triggers - 上一步查询结果set - 查询结果集Exception - 异常<T extends Trigger> T init(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果catalog - catalogschema - schemarow - 查询结果集<T extends Trigger> T detail(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果row - 查询结果集TriggerMetadataAdapter triggerMetadataAdapter(DataRuntime runtime)
runtime - 运行环境主要包含驱动适配器 数据源或客户端<T extends Procedure> List<T> procedures(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern)
T - Indexruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令greedy - 贪婪模式 true:如果不填写catalog或schema则查询全部 false:只在当前catalog和schema中查询catalog - catalogschema - schemapattern - 名称统配符或正则<T extends Procedure> LinkedHashMap<String,T> procedures(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern)
T - Indexruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令catalog - catalogschema - schemapattern - 名称统配符或正则List<Run> buildQueryProceduresRun(DataRuntime runtime, Catalog catalog, Schema schema, String pattern)
runtime - 运行环境主要包含驱动适配器 数据源或客户端catalog - catalogschema - schemapattern - 名称统配符或正则<T extends Procedure> List<T> procedures(DataRuntime runtime, int index, boolean create, List<T> procedures, DataSet set) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条查询SQL 对照 buildQueryConstraintsRun 返回顺序create - 上一步没有查到的,这一步是否需要新创建procedures - 上一步查询结果set - 查询结果集Exception - 异常<T extends Procedure> LinkedHashMap<String,T> procedures(DataRuntime runtime, int index, boolean create, LinkedHashMap<String,T> procedures, DataSet set) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条查询SQL 对照 buildQueryConstraintsRun 返回顺序create - 上一步没有查到的,这一步是否需要新创建procedures - 上一步查询结果set - 查询结果集Exception - 异常<T extends Procedure> List<T> procedures(DataRuntime runtime, boolean create, List<T> procedures) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建procedures - 上一步查询结果Exception - 异常<T extends Procedure> LinkedHashMap<String,T> procedures(DataRuntime runtime, boolean create, LinkedHashMap<String,T> procedures) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建procedures - 上一步查询结果Exception - 异常List<String> ddl(DataRuntime runtime, String random, Procedure procedure)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令procedure - ProcedureList<Run> buildQueryDdlsRun(DataRuntime runtime, Procedure procedure) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端procedure - 存储过程ExceptionList<String> ddl(DataRuntime runtime, int index, Procedure procedure, List<String> ddls, DataSet set)
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照 buildQueryDdlsRun 返回顺序procedure - Procedureddls - 上一步查询结果set - 查询结果集<T extends Procedure> T init(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果catalog - catalogschema - schemarow - 查询结果集<T extends Procedure> T detail(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果row - 查询结果集ProcedureMetadataAdapter procedureMetadataAdapter(DataRuntime runtime)
runtime - 运行环境主要包含驱动适配器 数据源或客户端<T extends Function> List<T> functions(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern)
T - Indexruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令greedy - 贪婪模式 true:如果不填写catalog或schema则查询全部 false:只在当前catalog和schema中查询catalog - catalogschema - schemapattern - 名称统配符或正则<T extends Function> LinkedHashMap<String,T> functions(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern)
T - Indexruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令catalog - catalogschema - schemapattern - 名称统配符或正则List<Run> buildQueryFunctionsRun(DataRuntime runtime, Catalog catalog, Schema schema, String pattern)
runtime - 运行环境主要包含驱动适配器 数据源或客户端catalog - catalogschema - schemapattern - 名称统配符或正则<T extends Function> List<T> functions(DataRuntime runtime, int index, boolean create, List<T> functions, Catalog catalog, Schema schema, DataSet set) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条查询SQL 对照 buildQueryConstraintsRun 返回顺序create - 上一步没有查到的,这一步是否需要新创建functions - 上一步查询结果set - 查询结果集Exception - 异常<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
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条查询SQL 对照 buildQueryConstraintsRun 返回顺序create - 上一步没有查到的,这一步是否需要新创建functions - 上一步查询结果set - 查询结果集Exception - 异常<T extends Function> List<T> functions(DataRuntime runtime, boolean create, List<T> functions) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建functions - 上一步查询结果Exception - 异常<T extends Function> LinkedHashMap<String,T> functions(DataRuntime runtime, boolean create, LinkedHashMap<String,T> functions) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建functions - 上一步查询结果Exception - 异常List<String> ddl(DataRuntime runtime, String random, Function function)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令function - FunctionList<Run> buildQueryDdlsRun(DataRuntime runtime, Function function) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端function - 函数ExceptionList<String> ddl(DataRuntime runtime, int index, Function function, List<String> ddls, DataSet set)
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照 buildQueryDdlsRun 返回顺序function - Functionddls - 上一步查询结果set - 查询结果集<T extends Function> T init(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果catalog - catalogschema - schemarow - 查询结果集<T extends Function> T detail(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果row - 查询结果集FunctionMetadataAdapter functionMetadataAdapter(DataRuntime runtime)
runtime - 运行环境主要包含驱动适配器 数据源或客户端<T extends Sequence> List<T> sequences(DataRuntime runtime, String random, boolean greedy, Catalog catalog, Schema schema, String pattern)
T - Indexruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令greedy - 贪婪模式 true:如果不填写catalog或schema则查询全部 false:只在当前catalog和schema中查询catalog - catalogschema - schemapattern - 名称统配符或正则<T extends Sequence> LinkedHashMap<String,T> sequences(DataRuntime runtime, String random, Catalog catalog, Schema schema, String pattern)
T - Indexruntime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令catalog - catalogschema - schemapattern - 名称统配符或正则List<Run> buildQuerySequencesRun(DataRuntime runtime, Catalog catalog, Schema schema, String pattern)
runtime - 运行环境主要包含驱动适配器 数据源或客户端catalog - catalogschema - schemapattern - 名称统配符或正则<T extends Sequence> List<T> sequences(DataRuntime runtime, int index, boolean create, List<T> sequences, DataSet set) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条查询SQL 对照 buildQueryConstraintsRun 返回顺序create - 上一步没有查到的,这一步是否需要新创建sequences - 上一步查询结果set - 查询结果集Exception - 异常<T extends Sequence> LinkedHashMap<String,T> sequences(DataRuntime runtime, int index, boolean create, LinkedHashMap<String,T> sequences, DataSet set) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条查询SQL 对照 buildQueryConstraintsRun 返回顺序create - 上一步没有查到的,这一步是否需要新创建sequences - 上一步查询结果set - 查询结果集Exception - 异常<T extends Sequence> List<T> sequences(DataRuntime runtime, boolean create, List<T> sequences) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建sequences - 上一步查询结果Exception - 异常<T extends Sequence> LinkedHashMap<String,T> sequences(DataRuntime runtime, boolean create, LinkedHashMap<String,T> sequences) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端create - 上一步没有查到的,这一步是否需要新创建sequences - 上一步查询结果Exception - 异常List<String> ddl(DataRuntime runtime, String random, Sequence sequence)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令sequence - SequenceList<Run> buildQueryDdlsRun(DataRuntime runtime, Sequence sequence) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端sequence - 序列ExceptionList<String> ddl(DataRuntime runtime, int index, Sequence sequence, List<String> ddls, DataSet set)
runtime - 运行环境主要包含驱动适配器 数据源或客户端index - 第几条SQL 对照 buildQueryDdlsRun 返回顺序sequence - Sequenceddls - 上一步查询结果set - 查询结果集<T extends Sequence> T init(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果catalog - catalogschema - schemarow - 查询结果集<T extends Sequence> T detail(DataRuntime runtime, int index, T meta, Catalog catalog, Schema schema, DataRow row)
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 上一步封装结果row - 查询结果集SequenceMetadataAdapter sequenceMetadataAdapter(DataRuntime runtime)
runtime - 运行环境主要包含驱动适配器 数据源或客户端default boolean slice()
default boolean slice(boolean slice)
<T extends Metadata> T search(List<T> metas, Catalog catalog, Schema schema, String name)
T - Tablemetas - metascatalog - catalogschema - schemaname - nameboolean execute(DataRuntime runtime, String random, Metadata meta, ACTION.DDL action, Run run)
runtime - 运行环境主要包含驱动适配器 数据源或客户端random - 用来标记同一组命令meta - Metadata(表,列等)action - 执行命令run - 最终待执行的命令和参数(如果是JDBC环境就是SQL)boolean execute(DataRuntime runtime, String random, Metadata meta, ACTION.DDL action, List<Run> runs)
boolean create(DataRuntime runtime, Table meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表Exception - DDL异常boolean alter(DataRuntime runtime, Table meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表Exception - DDL异常boolean drop(DataRuntime runtime, Table meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表Exception - DDL异常boolean rename(DataRuntime runtime, Table origin, String name) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端origin - 原表name - 新名称Exception - DDL异常default String keyword(Metadata meta)
meta - 表List<Run> buildCreateRun(DataRuntime runtime, Table meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表Exception - 异常List<Run> buildAlterRun(DataRuntime runtime, Table meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表Exception - 异常List<Run> buildAlterRun(DataRuntime runtime, Table meta, Collection<Column> columns, boolean slice) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表columns - 列slice - 是否只生成片段(true:不含alter table部分,用于DDL合并)Exceptiondefault List<Run> buildAlterRun(DataRuntime runtime, Table meta, Collection<Column> columns) throws Exception
ExceptionList<Run> buildRenameRun(DataRuntime runtime, Table meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表Exception - 异常List<Run> buildDropRun(DataRuntime runtime, Table meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表Exception - 异常List<Run> buildAppendCommentRun(DataRuntime runtime, Table meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表Exception - 异常List<Run> buildAppendColumnCommentRun(DataRuntime runtime, Table meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表Exception - 异常List<Run> buildChangeCommentRun(DataRuntime runtime, Table table) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端table - 表Exception - 异常default List<Run> buildAddCommentRun(DataRuntime runtime, Table table) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端table - 表Exception - 异常StringBuilder checkTableExists(DataRuntime runtime, StringBuilder builder, boolean exists)
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - builderexists - existsvoid checkPrimary(DataRuntime runtime, Table table)
runtime - 运行环境主要包含驱动适配器 数据源或客户端table - 表StringBuilder primary(DataRuntime runtime, StringBuilder builder, Table meta)
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 表StringBuilder engine(DataRuntime runtime, StringBuilder builder, Table meta)
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 表StringBuilder body(DataRuntime runtime, StringBuilder builder, Table meta)
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 表StringBuilder columns(DataRuntime runtime, StringBuilder builder, Table meta)
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 表StringBuilder indexes(DataRuntime runtime, StringBuilder builder, Table meta)
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 表StringBuilder charset(DataRuntime runtime, StringBuilder builder, Table meta)
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 表StringBuilder comment(DataRuntime runtime, StringBuilder builder, Table meta)
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 表StringBuilder keys(DataRuntime runtime, StringBuilder builder, Table meta)
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 表StringBuilder distribution(DataRuntime runtime, StringBuilder builder, Table meta)
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 表StringBuilder materialize(DataRuntime runtime, StringBuilder builder, Table meta)
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 表StringBuilder property(DataRuntime runtime, StringBuilder builder, Table meta)
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 表StringBuilder partitionBy(DataRuntime runtime, StringBuilder builder, Table meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 表Exception - 异常StringBuilder partitionOf(DataRuntime runtime, StringBuilder builder, Table meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 表Exception - 异常StringBuilder partitionFor(DataRuntime runtime, StringBuilder builder, Table meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 表Exception - 异常StringBuilder inherit(DataRuntime runtime, StringBuilder builder, Table meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 表Exception - 异常boolean create(DataRuntime runtime, View view) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端view - 视图Exception - DDL异常boolean alter(DataRuntime runtime, View view) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端view - 视图Exception - DDL异常boolean drop(DataRuntime runtime, View view) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端view - 视图Exception - DDL异常boolean rename(DataRuntime runtime, View origin, String name) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端origin - 视图name - 新名称Exception - DDL异常List<Run> buildCreateRun(DataRuntime runtime, View view) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端view - 视图Exception - 异常StringBuilder buildCreateRunHead(DataRuntime runtime, StringBuilder builder, View meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 视图Exception - 异常StringBuilder buildCreateRunOption(DataRuntime runtime, StringBuilder builder, View meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 视图Exception - 异常List<Run> buildAlterRun(DataRuntime runtime, View view) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端view - 视图Exception - 异常List<Run> buildRenameRun(DataRuntime runtime, View view) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端view - 视图Exception - 异常List<Run> buildDropRun(DataRuntime runtime, View view) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端view - 视图Exception - 异常List<Run> buildAppendCommentRun(DataRuntime runtime, View view) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端view - 视图Exception - 异常List<Run> buildChangeCommentRun(DataRuntime runtime, View view) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端view - 视图Exception - 异常StringBuilder checkViewExists(DataRuntime runtime, StringBuilder builder, boolean exists)
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - builderexists - existsStringBuilder comment(DataRuntime runtime, StringBuilder builder, View view)
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - builderview - 视图boolean create(DataRuntime runtime, MasterTable meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 主表Exception - DDL异常boolean alter(DataRuntime runtime, MasterTable meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 主表Exception - DDL异常boolean drop(DataRuntime runtime, MasterTable meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 主表Exception - DDL异常boolean rename(DataRuntime runtime, MasterTable origin, String name) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端origin - 原表name - 新名称Exception - DDL异常List<Run> buildCreateRun(DataRuntime runtime, MasterTable table) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端table - 表Exception - 异常List<Run> buildDropRun(DataRuntime runtime, MasterTable table) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端table - 表Exception - 异常List<Run> buildAlterRun(DataRuntime runtime, MasterTable table) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端table - 表Exception - 异常List<Run> buildRenameRun(DataRuntime runtime, MasterTable table) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端table - 表Exception - 异常List<Run> buildAppendCommentRun(DataRuntime runtime, MasterTable table) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端table - 表Exception - 异常List<Run> buildChangeCommentRun(DataRuntime runtime, MasterTable table) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端table - 表Exception - 异常boolean create(DataRuntime runtime, PartitionTable meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表Exception - DDL异常boolean alter(DataRuntime runtime, PartitionTable meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表Exception - DDL异常boolean drop(DataRuntime runtime, PartitionTable meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表Exception - DDL异常boolean rename(DataRuntime runtime, PartitionTable origin, String name) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端origin - 原表name - 新名称Exception - DDL异常List<Run> buildCreateRun(DataRuntime runtime, PartitionTable table) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端table - 表Exception - 异常List<Run> buildAppendCommentRun(DataRuntime runtime, PartitionTable table) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端table - 表Exception - 异常List<Run> buildAlterRun(DataRuntime runtime, PartitionTable table) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端table - 表Exception - 异常List<Run> buildDropRun(DataRuntime runtime, PartitionTable table) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端table - 表Exception - 异常List<Run> buildRenameRun(DataRuntime runtime, PartitionTable table) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端table - Exception - 异常List<Run> buildChangeCommentRun(DataRuntime runtime, PartitionTable table) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端table - 表Exception - 异常boolean add(DataRuntime runtime, Column meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 列Exception - DDL异常boolean alter(DataRuntime runtime, Table table, Column meta, boolean trigger) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 列trigger - 修改异常时,是否触发监听器Exception - DDL异常default boolean alter(DataRuntime runtime, Table table, Column meta) throws Exception
Exceptionboolean alter(DataRuntime runtime, Column meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 列Exception - DDL异常boolean drop(DataRuntime runtime, Column meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 列Exception - DDL异常boolean rename(DataRuntime runtime, Column origin, String name) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端origin - 列name - 新名称Exception - DDL异常List<Run> buildAddRun(DataRuntime runtime, Column column, boolean slice) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端column - 列slice - 是否只生成片段(不含alter table部分,用于DDL合并)ExceptionList<Run> buildAlterRun(DataRuntime runtime, Column column, boolean slice) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端column - 列slice - 是否只生成片段(不含alter table部分,用于DDL合并)ExceptionList<Run> buildDropRun(DataRuntime runtime, Column column, boolean slice) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端column - 列slice - 是否只生成片段(不含alter table部分,用于DDL合并)ExceptionList<Run> buildRenameRun(DataRuntime runtime, Column column, boolean slice) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端column - 列ExceptionList<Run> buildChangeTypeRun(DataRuntime runtime, Column column, boolean slice) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端column - 列Exceptiondefault List<Run> buildChangeTypeRun(DataRuntime runtime, Column column) throws Exception
ExceptionString alterColumnKeyword(DataRuntime runtime)
runtime - 运行环境主要包含驱动适配器 数据源或客户端StringBuilder addColumnGuide(DataRuntime runtime, StringBuilder builder, Column column)
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - StringBuildercolumn - 列StringBuilder dropColumnGuide(DataRuntime runtime, StringBuilder builder, Column column)
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - StringBuildercolumn - 列List<Run> buildChangeDefaultRun(DataRuntime runtime, Column column, boolean slice) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端column - 列ExceptionList<Run> buildChangeNullableRun(DataRuntime runtime, Column column, boolean slice) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端column - 列ExceptionList<Run> buildChangeCommentRun(DataRuntime runtime, Column column, boolean slice) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端column - 列ExceptionList<Run> buildAppendCommentRun(DataRuntime runtime, Column column, boolean slice) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端column - 列Exception - 异常List<Run> buildDropAutoIncrement(DataRuntime runtime, Column column, boolean slice) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端column - 列Exception - 异常StringBuilder define(DataRuntime runtime, StringBuilder builder, Column meta, ACTION.DDL action)
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 列action - 区分 创建与修改过程有区别 如有些数据库修改时不支持NULL NOT NULL(如clickhouse)StringBuilder checkColumnExists(DataRuntime runtime, StringBuilder builder, boolean exists)
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - builderexists - existsStringBuilder type(DataRuntime runtime, StringBuilder builder, Column column)
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildercolumn - 列int ignoreLength(DataRuntime runtime, TypeMetadata type)
runtime - 运行环境主要包含驱动适配器 数据源或客户端type - 数据类型int ignorePrecision(DataRuntime runtime, TypeMetadata type)
runtime - 运行环境主要包含驱动适配器 数据源或客户端type - TypeMetadataint ignoreScale(DataRuntime runtime, TypeMetadata type)
runtime - 运行环境主要包含驱动适配器 数据源或客户端type - TypeMetadataStringBuilder aggregation(DataRuntime runtime, StringBuilder builder, Column column)
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildercolumn - 列StringBuilder type(DataRuntime runtime, StringBuilder builder, Column meta, String type, int ignoreLength, int ignorePrecision, int ignoreScale)
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 列type - 数据类型(已经过转换)ignoreLength - 是否忽略长度ignorePrecision - 是否忽略有效位数ignoreScale - 是否忽略小数StringBuilder nullable(DataRuntime runtime, StringBuilder builder, Column meta, ACTION.DDL action)
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 列StringBuilder charset(DataRuntime runtime, StringBuilder builder, Column column)
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildercolumn - 列StringBuilder defaultValue(DataRuntime runtime, StringBuilder builder, Column column)
builder - buildercolumn - 列StringBuilder primary(DataRuntime runtime, StringBuilder builder, Column column)
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildercolumn - 列StringBuilder unique(DataRuntime runtime, StringBuilder builder, Column meta)
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildermeta - 列StringBuilder increment(DataRuntime runtime, StringBuilder builder, Column column)
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildercolumn - 列StringBuilder onupdate(DataRuntime runtime, StringBuilder builder, Column column)
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildercolumn - 列StringBuilder position(DataRuntime runtime, StringBuilder builder, Column column)
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildercolumn - 列StringBuilder comment(DataRuntime runtime, StringBuilder builder, Column column)
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - buildercolumn - 列boolean add(DataRuntime runtime, Tag meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 标签Exception - 异常boolean alter(DataRuntime runtime, Table table, Tag meta, boolean trigger) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 标签trigger - 修改异常时,是否触发监听器Exception - 异常default boolean alter(DataRuntime runtime, Table table, Tag meta) throws Exception
Exceptionboolean alter(DataRuntime runtime, Tag meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 标签Exception - 异常boolean drop(DataRuntime runtime, Tag meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 标签Exception - 异常boolean rename(DataRuntime runtime, Tag origin, String name) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端origin - 原标签name - 新名称Exception - 异常List<Run> buildAddRun(DataRuntime runtime, Tag tag, boolean slice) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端tag - 标签ExceptionList<Run> buildAlterRun(DataRuntime runtime, Tag tag, boolean slice) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端tag - 标签ExceptionList<Run> buildDropRun(DataRuntime runtime, Tag tag, boolean slice) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端tag - 标签ExceptionList<Run> buildRenameRun(DataRuntime runtime, Tag tag, boolean slice) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端tag - 标签ExceptionList<Run> buildChangeDefaultRun(DataRuntime runtime, Tag tag, boolean slice) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端tag - 标签ExceptionList<Run> buildChangeNullableRun(DataRuntime runtime, Tag tag, boolean slice) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端tag - 标签ExceptionList<Run> buildChangeCommentRun(DataRuntime runtime, Tag tag, boolean slice) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端tag - 标签ExceptionList<Run> buildChangeTypeRun(DataRuntime runtime, Tag tag, boolean slice) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端tag - 标签ExceptionStringBuilder checkTagExists(DataRuntime runtime, StringBuilder builder, boolean exists)
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - builderexists - existsdefault DriverAdapter.SQL_BUILD_IN_VALUE checkDefaultBuildInValue(DataRuntime runtime, Object def)
runtime - 运行环境主要包含驱动适配器 数据源或客户端def - 默认值boolean add(DataRuntime runtime, PrimaryKey meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 主键Exception - 异常boolean alter(DataRuntime runtime, PrimaryKey meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 主键Exception - 异常boolean alter(DataRuntime runtime, Table table, PrimaryKey origin, PrimaryKey meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端table - 表origin - 原主键meta - 新主键Exception - 异常default boolean alter(DataRuntime runtime, Table table, PrimaryKey meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 主键Exception - 异常boolean drop(DataRuntime runtime, PrimaryKey meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 主键Exception - 异常boolean rename(DataRuntime runtime, PrimaryKey origin, String name) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端origin - 主键name - 新名称Exception - 异常List<Run> buildAddRun(DataRuntime runtime, PrimaryKey primary, boolean slice) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端primary - 主键slice - 是否只生成片段(不含alter table部分,用于DDL合并)Exceptiondefault List<Run> buildAppendPrimaryRun(DataRuntime runtime, Table meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表ExceptionList<Run> buildAlterRun(DataRuntime runtime, PrimaryKey origin, PrimaryKey meta, boolean slice) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端origin - 原主键meta - 新主键Exceptiondefault List<Run> buildAlterRun(DataRuntime runtime, PrimaryKey origin, PrimaryKey meta) throws Exception
Exceptiondefault List<Run> buildAlterRun(DataRuntime runtime, PrimaryKey meta) throws Exception
ExceptionList<Run> buildDropRun(DataRuntime runtime, PrimaryKey primary, boolean slice) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端primary - 主键slice - 是否只生成片段(true:不含alter table部分,用于DDL合并)Exceptiondefault List<Run> buildDropRun(DataRuntime runtime, PrimaryKey primary) throws Exception
ExceptionList<Run> buildRenameRun(DataRuntime runtime, PrimaryKey primary) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端primary - 主键Exceptionboolean add(DataRuntime runtime, ForeignKey meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 外键Exception - 异常boolean alter(DataRuntime runtime, ForeignKey meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 外键Exception - 异常boolean alter(DataRuntime runtime, Table table, ForeignKey meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 外键Exception - 异常boolean drop(DataRuntime runtime, ForeignKey meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 外键Exception - 异常boolean rename(DataRuntime runtime, ForeignKey origin, String name) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端origin - 外键name - 新名称Exception - 异常List<Run> buildAddRun(DataRuntime runtime, ForeignKey meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 外键ExceptionList<Run> buildAlterRun(DataRuntime runtime, ForeignKey meta) throws Exception
meta - 外键ExceptionList<Run> buildDropRun(DataRuntime runtime, ForeignKey meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 外键ExceptionList<Run> buildRenameRun(DataRuntime runtime, ForeignKey meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 外键Exceptionboolean add(DataRuntime runtime, Index meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 索引Exception - 异常boolean alter(DataRuntime runtime, Index meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 索引Exception - 异常boolean alter(DataRuntime runtime, Table table, Index meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 索引Exception - 异常boolean drop(DataRuntime runtime, Index meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 索引Exception - 异常boolean rename(DataRuntime runtime, Index origin, String name) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端origin - 索引name - 新名称Exception - 异常List<Run> buildAppendIndexRun(DataRuntime runtime, Table meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 表ExceptionList<Run> buildAddRun(DataRuntime runtime, Index meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 索引ExceptionList<Run> buildAlterRun(DataRuntime runtime, Index meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 索引ExceptionList<Run> buildDropRun(DataRuntime runtime, Index meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 索引ExceptionList<Run> buildRenameRun(DataRuntime runtime, Index meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 索引ExceptionStringBuilder type(DataRuntime runtime, StringBuilder builder, Index meta)
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 索引builder - builderStringBuilder property(DataRuntime runtime, StringBuilder builder, Index meta)
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 索引builder - builderStringBuilder comment(DataRuntime runtime, StringBuilder builder, Index meta)
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 索引builder - builderStringBuilder checkIndexExists(DataRuntime runtime, StringBuilder builder, boolean exists)
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - builderexists - existsboolean add(DataRuntime runtime, Constraint meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 约束Exception - 异常boolean alter(DataRuntime runtime, Constraint meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 约束Exception - 异常boolean alter(DataRuntime runtime, Table table, Constraint meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 约束Exception - 异常boolean drop(DataRuntime runtime, Constraint meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 约束Exception - 异常boolean rename(DataRuntime runtime, Constraint origin, String name) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端origin - 约束name - 新名称Exception - 异常List<Run> buildAddRun(DataRuntime runtime, Constraint meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 约束ExceptionList<Run> buildAlterRun(DataRuntime runtime, Constraint meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 约束ExceptionList<Run> buildDropRun(DataRuntime runtime, Constraint meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 约束ExceptionList<Run> buildRenameRun(DataRuntime runtime, Constraint meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 约束Exceptionboolean add(DataRuntime runtime, Trigger meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 触发器Exception - 异常boolean alter(DataRuntime runtime, Trigger meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 触发器Exception - 异常boolean drop(DataRuntime runtime, Trigger meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 触发器Exception - 异常boolean rename(DataRuntime runtime, Trigger origin, String name) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端origin - 触发器name - 新名称Exception - 异常List<Run> buildCreateRun(DataRuntime runtime, Trigger meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 触发器ExceptionList<Run> buildAlterRun(DataRuntime runtime, Trigger meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 触发器ExceptionList<Run> buildDropRun(DataRuntime runtime, Trigger meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 触发器ExceptionList<Run> buildRenameRun(DataRuntime runtime, Trigger meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 触发器ExceptionStringBuilder each(DataRuntime runtime, StringBuilder builder, Trigger meta)
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 触发器builder - builderboolean create(DataRuntime runtime, Procedure meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 存储过程Exception - 异常boolean alter(DataRuntime runtime, Procedure meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 存储过程Exception - 异常boolean drop(DataRuntime runtime, Procedure meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 存储过程Exception - 异常boolean rename(DataRuntime runtime, Procedure origin, String name) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端origin - 存储过程name - 新名称Exception - 异常List<Run> buildCreateRun(DataRuntime runtime, Procedure meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 存储过程ExceptionList<Run> buildAlterRun(DataRuntime runtime, Procedure meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 存储过程ExceptionList<Run> buildDropRun(DataRuntime runtime, Procedure meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 存储过程ExceptionList<Run> buildRenameRun(DataRuntime runtime, Procedure meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 存储过程ExceptionStringBuilder parameter(DataRuntime runtime, StringBuilder builder, Parameter parameter)
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - builderparameter - parameterboolean create(DataRuntime runtime, Function meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 函数Exception - 异常boolean alter(DataRuntime runtime, Function meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 函数Exception - 异常boolean drop(DataRuntime runtime, Function meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 函数Exception - 异常boolean rename(DataRuntime runtime, Function origin, String name) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端origin - 函数name - 新名称Exception - 异常List<Run> buildCreateRun(DataRuntime runtime, Function meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 函数ExceptionList<Run> buildAlterRun(DataRuntime runtime, Function meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 函数ExceptionList<Run> buildDropRun(DataRuntime runtime, Function meta) throws Exception
meta - 函数ExceptionList<Run> buildRenameRun(DataRuntime runtime, Function meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 函数Exceptionboolean create(DataRuntime runtime, Sequence meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 序列Exception - 异常boolean alter(DataRuntime runtime, Sequence meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 序列Exception - 异常boolean drop(DataRuntime runtime, Sequence meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 序列Exception - 异常boolean rename(DataRuntime runtime, Sequence origin, String name) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端origin - 序列name - 新名称Exception - 异常List<Run> buildCreateRun(DataRuntime runtime, Sequence meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 序列ExceptionList<Run> buildAlterRun(DataRuntime runtime, Sequence meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 序列ExceptionList<Run> buildDropRun(DataRuntime runtime, Sequence meta) throws Exception
meta - 序列ExceptionList<Run> buildRenameRun(DataRuntime runtime, Sequence meta) throws Exception
runtime - 运行环境主要包含驱动适配器 数据源或客户端meta - 序列ExceptionStringBuilder name(DataRuntime runtime, StringBuilder builder, Metadata meta)
StringBuilder name(DataRuntime runtime, StringBuilder builder, Column meta)
boolean convert(DataRuntime runtime, Catalog catalog, Schema schema, String table, RunValue run)
runtime - 运行环境主要包含驱动适配器 数据源或客户端catalog - catalogschema - schematable - 表run - 值boolean convert(DataRuntime runtime, Table table, Run run)
boolean convert(DataRuntime runtime, ConfigStore configs, Run run)
boolean convert(DataRuntime runtime, Map<String,Column> columns, RunValue run)
runtime - 运行环境主要包含驱动适配器 数据源或客户端columns - 列run - 值boolean convert(DataRuntime runtime, Column column, RunValue run)
runtime - 运行环境主要包含驱动适配器 数据源或客户端column - 列run - 值Object convert(DataRuntime runtime, Column column, Object value)
Object convert(DataRuntime runtime, TypeMetadata columnType, Object value)
void value(DataRuntime runtime, StringBuilder builder, Object row, String key)
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - builderrow - DataRow 或 Entitykey - 列名Object read(DataRuntime runtime, Column metadata, Object value, Class clazz)
runtime - 运行环境主要包含驱动适配器 数据源或客户端metadata - Column 用来定位数据类型value - valueclazz - 目标数据类型(给entity赋值时可以根据class, DataRow赋值时可以指定class,否则按检测metadata类型转换 转换不不了的原样返回)Object write(DataRuntime runtime, Column metadata, Object value, boolean placeholder)
runtime - 运行环境主要包含驱动适配器 数据源或客户端metadata - Column 用来定位数据类型placeholder - 是否占位符value - valueString concat(DataRuntime runtime, String... args)
runtime - 运行环境主要包含驱动适配器 数据源或客户端args - argsboolean isNumberColumn(DataRuntime runtime, Column column)
runtime - 运行环境主要包含驱动适配器 数据源或客户端column - 列boolean isBooleanColumn(DataRuntime runtime, Column column)
runtime - 运行环境主要包含驱动适配器 数据源或客户端column - 列boolean isCharColumn(DataRuntime runtime, Column column)
runtime - 运行环境主要包含驱动适配器 数据源或客户端column - 列String value(DataRuntime runtime, Column column, DriverAdapter.SQL_BUILD_IN_VALUE value)
runtime - 运行环境主要包含驱动适配器 数据源或客户端column - 列属性,不同的数据类型解析出来的值可能不一样value - SQL_BUILD_IN_VALUEdefault String defaultValue(DataRuntime runtime, Column column, DriverAdapter.SQL_BUILD_IN_VALUE value)
void addRunValue(DataRuntime runtime, Run run, Compare compare, Column column, Object value)
String objectName(DataRuntime runtime, String name)
runtime - 运行环境主要包含驱动适配器 数据源或客户端name - namedefault String compressCondition(DataRuntime runtime, String cmd)
default String conditionHead()
default void formula(DataRuntime runtime, StringBuilder builder, String column, Compare compare, Column metadata, Object value, boolean placeholder)
runtime - 运行环境主要包含驱动适配器 数据源或客户端builder - StringBuildercolumn - 列名compare - Comparemetadata - 数据类型value - 值placeholder - 是否启用占位符Copyright © 2024. All rights reserved.