public interface JDBCAdapter extends DriverAdapter
DriverAdapter.SQL_BUILD_IN_VALUEBR, BR_TAB, TAB| 限定符和类型 | 方法和说明 |
|---|---|
org.anyline.metadata.Column |
column(DataRuntime runtime,
org.anyline.metadata.Column column,
org.springframework.jdbc.support.rowset.SqlRowSetMetaData rsm,
int index) |
<T extends org.anyline.metadata.Column> |
columns(DataRuntime runtime,
boolean create,
LinkedHashMap<String,T> columns,
DatabaseMetaData dbmd,
org.anyline.metadata.Table table,
String pattern) |
<T extends org.anyline.metadata.Column> |
columns(DataRuntime runtime,
boolean create,
LinkedHashMap<String,T> columns,
org.anyline.metadata.Table table,
org.springframework.jdbc.support.rowset.SqlRowSet set)
解析查询结果metadata(0=1)
|
<T extends org.anyline.metadata.Constraint> |
constraints(DataRuntime runtime,
boolean create,
org.anyline.metadata.Table table,
LinkedHashMap<String,T> constraints,
org.springframework.jdbc.support.rowset.SqlRowSet set) |
boolean |
identity(DataRuntime runtime,
String random,
Object data,
org.springframework.jdbc.support.KeyHolder keyholder)
insert执行后 通过KeyHolder获取主键值赋值给data
|
<T extends org.anyline.metadata.Index> |
indexs(DataRuntime runtime,
boolean create,
org.anyline.metadata.Table table,
LinkedHashMap<String,T> indexs,
org.springframework.jdbc.support.rowset.SqlRowSet set) |
org.anyline.entity.DataRow |
row(boolean system,
DataRuntime runtime,
LinkedHashMap<String,org.anyline.metadata.Column> metadatas,
ResultSet rs)
封装查询结果
|
<T extends org.anyline.metadata.Tag> |
tags(DataRuntime runtime,
boolean create,
org.anyline.metadata.Table table,
LinkedHashMap<String,T> tags,
org.springframework.jdbc.support.rowset.SqlRowSet set)
解析查询结果metadata(0=1)
|
addColumnGuide, addRunValue, alterColumnKeyword, batchInsertSeparator, buildAddRun, buildAddRun, buildAddRun, buildAddRun, buildAddRun, buildAddRun, buildAddRun, buildAddRun, buildAddRun, buildAddRun, buildAddRun, buildAddRun, buildAddRun, buildAddRun, buildAlterRun, buildAlterRun, buildAlterRun, buildAlterRun, buildAlterRun, buildAlterRun, buildAlterRun, buildAlterRun, buildAlterRun, buildAlterRun, buildAlterRun, buildAlterRun, buildAlterRun, buildAlterRun, buildAlterRun, buildAlterRun, buildAlterRun, buildAlterRun, buildAlterRun, buildAlterRun, buildAlterRun, buildAlterRun, buildAlterRun, buildAlterRun, buildAlterRun, buildAlterRun, buildAlterRun, buildAlterRun, buildAlterRun, buildAlterRun, buildAppendCommentRun, buildAppendCommentRun, buildAppendCommentRun, buildAppendCommentRun, buildAppendCommentRun, buildAppendCommentRun, buildAppendCommentRun, buildAppendCommentRun, buildAppendCommentRun, buildAppendCommentRun, buildChangeCommentRun, buildChangeCommentRun, buildChangeCommentRun, buildChangeCommentRun, buildChangeCommentRun, buildChangeCommentRun, buildChangeCommentRun, buildChangeCommentRun, buildChangeCommentRun, buildChangeCommentRun, buildChangeCommentRun, buildChangeCommentRun, buildChangeDefaultRun, buildChangeDefaultRun, buildChangeDefaultRun, buildChangeDefaultRun, buildChangeNullableRun, buildChangeNullableRun, buildChangeNullableRun, buildChangeNullableRun, buildChangeTypeRun, buildChangeTypeRun, buildChangeTypeRun, buildChangeTypeRun, buildCreateRun, buildCreateRun, buildCreateRun, buildCreateRun, buildCreateRun, buildCreateRun, buildCreateRun, buildCreateRun, buildCreateRun, buildCreateRun, buildCreateRun, buildCreateRun, buildCreateRun, buildCreateRun, buildDeleteRun, buildDeleteRun, buildDeleteRunFromEntity, buildDeleteRunFromTable, buildDropAutoIncrement, buildDropAutoIncrement, buildDropRun, buildDropRun, buildDropRun, buildDropRun, buildDropRun, buildDropRun, buildDropRun, buildDropRun, buildDropRun, buildDropRun, buildDropRun, buildDropRun, buildDropRun, buildDropRun, buildDropRun, buildDropRun, buildDropRun, buildDropRun, buildDropRun, buildDropRun, buildDropRun, buildDropRun, buildDropRun, buildDropRun, buildDropRun, buildDropRun, buildDropRun, buildDropRun, buildExecuteRun, buildInsertRun, buildInsertRun, buildInsertRun, buildInsertRun, buildInsertRun, buildInsertRun, buildInsertRun, buildInsertRun, buildInsertRun, buildInsertRun, buildInsertRun, buildInsertRun, buildQueryColumnRun, buildQueryConstraintRun, buildQueryConstraintRun, buildQueryDatabaseRun, buildQueryDatabaseRun, buildQueryDatabaseRun, buildQueryDDLRun, buildQueryDDLRun, buildQueryDDLRun, buildQueryDDLRun, buildQueryDDLRun, buildQueryDDLRun, buildQueryDDLRun, buildQueryDDLRun, buildQueryDDLRun, buildQueryDDLRun, buildQueryDDLRun, buildQueryDDLRun, buildQueryForeignsRun, buildQueryForeignsRun, buildQueryFunctionRun, buildQueryFunctionRun, buildQueryIndexRun, buildQueryIndexRun, buildQueryMasterTableRun, buildQueryMasterTableRun, buildQueryPartitionTableRun, buildQueryPartitionTableRun, buildQueryPartitionTableRun, buildQueryPartitionTableRun, buildQueryPartitionTableRun, buildQueryPartitionTableRun, buildQueryPrimaryRun, buildQueryPrimaryRun, buildQueryProcedureRun, buildQueryProcedureRun, buildQueryRun, buildQuerySequence, buildQueryTableCommentRun, buildQueryTableCommentRun, buildQueryTableRun, buildQueryTableRun, buildQueryTagRun, buildQueryTagRun, buildQueryTriggerRun, buildQueryTriggerRun, buildQueryViewRun, buildQueryViewRun, buildRenameRun, buildRenameRun, buildRenameRun, buildRenameRun, buildRenameRun, buildRenameRun, buildRenameRun, buildRenameRun, buildRenameRun, buildRenameRun, buildRenameRun, buildRenameRun, buildRenameRun, buildRenameRun, buildRenameRun, buildRenameRun, buildRenameRun, buildRenameRun, buildRenameRun, buildRenameRun, buildRenameRun, buildRenameRun, buildRenameRun, buildRenameRun, buildRenameRun, buildRenameRun, buildTruncateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRun, buildUpdateRunFromDataRow, buildUpdateRunFromEntity, charset, checkColumnExists, checkIgnorePrecision, checkIgnoreScale, checkSchema, checkSchema, checkSchema, checkTableExists, checkTagExists, checkViewExists, column, column, columns, columns, columns, columns, comment, comment, comment, comment, comments, compatible, concat, confirmInsertColumns, constraints, constraints, convert, convert, convert, convert, convert, convert, count, count, createConditionFindInSet, createConditionIn, createConditionLike, database, database, databases, databases, ddl, ddl, ddl, ddl, ddl, ddl, ddl, ddl, ddl, ddl, ddl, ddl, defaultValue, define, delete, delete, deletes, dropColumnGuide, each, execute, execute, execute, exists, fillDeleteRunContent, fillExecuteContent, fillInsertContent, fillInsertContent, fillQueryContent, foreigns, foreigns, functions, functions, generatedKey, getDelimiterFr, getDelimiterTo, getPrimaryKey, getPrimaryValue, increment, indexs, indexs, indexs, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, isBooleanColumn, isCharColumn, isIgnorePrecision, isIgnoreScale, isNumberColumn, map, maps, maps, mergeFinalExists, mergeFinalQuery, mergeFinalTotal, mtables, mtables, mtables, name, name, name, nullable, objectName, onupdate, parameter, position, primary, primary, primary, primary, procedures, procedures, process, ptables, ptables, ptables, querys, querys, read, reader, reader, save, save, save, save, save, save, save, save, save, save, save, save, save, save, save, save, select, selects, sequence, supportInsertPlaceholder, tables, tables, tables, tables, tables, tables, tags, tags, tags, triggers, triggers, truncate, type, type, type, type, update, update, update, update, update, update, update, update, update, update, update, update, update, update, update, update, update, update, update, value, value, version, views, views, views, write, writerboolean identity(DataRuntime runtime, String random, Object data, org.springframework.jdbc.support.KeyHolder keyholder)
random - log标记data - datakeyholder - keyholderorg.anyline.metadata.Column column(DataRuntime runtime, org.anyline.metadata.Column column, org.springframework.jdbc.support.rowset.SqlRowSetMetaData rsm, int index)
<T extends org.anyline.metadata.Column> LinkedHashMap<String,T> columns(DataRuntime runtime, boolean create, LinkedHashMap<String,T> columns, org.anyline.metadata.Table table, org.springframework.jdbc.support.rowset.SqlRowSet set) throws Exception
create - 上一步没有查到的,这一步是否需要新创建table - 表columns - columnsset - setException - 异常<T extends org.anyline.metadata.Column> LinkedHashMap<String,T> columns(DataRuntime runtime, boolean create, LinkedHashMap<String,T> columns, DatabaseMetaData dbmd, org.anyline.metadata.Table table, String pattern) throws Exception
Exception<T extends org.anyline.metadata.Tag> LinkedHashMap<String,T> tags(DataRuntime runtime, boolean create, org.anyline.metadata.Table table, LinkedHashMap<String,T> tags, org.springframework.jdbc.support.rowset.SqlRowSet set) throws Exception
create - 上一步没有查到的,这一步是否需要新创建table - 表tags - 上一步查询结果set - 查询结果Exception - 异常<T extends org.anyline.metadata.Index> LinkedHashMap<String,T> indexs(DataRuntime runtime, boolean create, org.anyline.metadata.Table table, LinkedHashMap<String,T> indexs, org.springframework.jdbc.support.rowset.SqlRowSet set) throws Exception
create - 上一步没有查到的,这一步是否需要新创建table - 表indexs - 上一步查询结果set - setException - 异常<T extends org.anyline.metadata.Constraint> LinkedHashMap<String,T> constraints(DataRuntime runtime, boolean create, org.anyline.metadata.Table table, LinkedHashMap<String,T> constraints, org.springframework.jdbc.support.rowset.SqlRowSet set) throws Exception
Exceptionorg.anyline.entity.DataRow row(boolean system,
DataRuntime runtime,
LinkedHashMap<String,org.anyline.metadata.Column> metadatas,
ResultSet rs)
system - 系统表不检测列属性runtime - runtimemetadatas - metadatasrs - jdbc返回结果Copyright © 2023. All rights reserved.