@Repository(value="anyline.data.jdbc.adapter.mariadb") public class MariaAdapter extends SQLAdapter implements JDBCAdapter, org.springframework.beans.factory.InitializingBean
JDBCAdapter.DB_TYPE, JDBCAdapter.SQL_BUILD_IN_VALUEdelimiterFr, delimiterTo, jdbc, log, primaryCreater, serviceBR, BR_TAB, TAB| 构造器和说明 |
|---|
MariaAdapter() |
addRunValue, buildConditionIn, buildConditionLike, buildDeleteRunContent, buildInsertRun, buildQueryRunContent, buildQueryRunContent, buildQueryRunContent, buildUpdateRunFromDataRow, buildUpdateRunFromObject, concatAdd, concatFun, concatOr, createDeleteRunSQLFromEntity, createDeleteRunSQLFromTable, createInsertRunFromCollection, createInsertRunFromEntity, createInserts, createInserts, getPrimayKey, identity, insert, insertValue, parseExists, parseTotalQuerybatchInsertSeparator, bool, bool, buildDeleteRunContent, buildDeleteRunSQL, buildDeleteRunSQL, buildExecuteRunSQL, buildQueryDatabaseRunSQL, buildQueryRun, buildQueryRunContent, buildUpdateRun, checkMetadata, column, column, confirmInsertColumns, confirmUpdateColumns, convert, convert, convert, databases, format, generatedKey, getDelimiterFr, getDelimiterTo, getPrimaryKey, getPrimaryValue, integer, keys, parseTable, process, setDelimiter, setJdbc, setPrimaryValue, string, string, supportInsertPlaceholder, value, value, valueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbatchInsertSeparator, buildConditionIn, buildConditionLike, buildDeleteRunContent, buildDeleteRunSQL, buildDeleteRunSQL, buildExecuteRunSQL, buildInsertRun, buildQueryDatabaseRunSQL, buildQueryRun, buildQueryRunContent, buildUpdateRun, confirmInsertColumns, convert, convert, convert, createInserts, createInserts, databases, format, generatedKey, getDelimiterFr, getDelimiterTo, getPrimaryKey, getPrimaryValue, identity, insert, parseExists, parseTotalQuery, process, setJdbc, supportInsertPlaceholder, valuepublic JDBCAdapter.DB_TYPE type()
type 在接口中 JDBCAdaptertype 在类中 DefaultJDBCAdapterpublic void afterPropertiesSet()
throws Exception
afterPropertiesSet 在接口中 org.springframework.beans.factory.InitializingBeanExceptionpublic String parseFinalQuery(Run run)
parseFinalQuery 在接口中 JDBCAdapterpublic String concat(String... args)
concat 在接口中 JDBCAdapterpublic List<String> buildQueryTableRunSQL(String catalog, String schema, String pattern, String types) throws Exception
buildQueryTableRunSQL 在接口中 JDBCAdapterbuildQueryTableRunSQL 在类中 DefaultJDBCAdaptercatalog - catalogschema - schemapattern - patterntypes - typesExceptionpublic LinkedHashMap<String,Table> tables(int index, boolean create, String catalog, String schema, LinkedHashMap<String,Table> tables, org.anyline.entity.DataSet set) throws Exception
tables 在接口中 JDBCAdaptertables 在类中 DefaultJDBCAdapterindex - 第几条SQL 对照buildQueryTableRunSQL返回顺序catalog - catalogschema - schematables - 上一步查询结果set - setException - 异常public LinkedHashMap<String,Table> tables(boolean create, String catalog, String schema, LinkedHashMap<String,Table> tables, ResultSet set) throws Exception
tables 在接口中 JDBCAdaptertables 在类中 DefaultJDBCAdapterExceptionpublic List<String> buildQueryMasterTableRunSQL(String catalog, String schema, String pattern, String types) throws Exception
buildQueryMasterTableRunSQL 在接口中 JDBCAdapterbuildQueryMasterTableRunSQL 在类中 DefaultJDBCAdaptercatalog - catalogschema - schemapattern - patterntypes - typesExceptionpublic LinkedHashMap<String,MasterTable> mtables(boolean create, String catalog, String schema, LinkedHashMap<String,MasterTable> tables, ResultSet set) throws Exception
mtables 在接口中 JDBCAdaptermtables 在类中 DefaultJDBCAdaptercreate - 上一步没有查到的,这一步是否需要新创建catalog - catalogschema - schemaset - 查询结果Exceptionpublic LinkedHashMap<String,MasterTable> mtables(int index, boolean create, String catalog, String schema, LinkedHashMap<String,MasterTable> tables, org.anyline.entity.DataSet set) throws Exception
mtables 在接口中 JDBCAdaptermtables 在类中 DefaultJDBCAdapterindex - 第几条SQLcreate - 上一步没有查到的,这一步是否需要新创建catalog - catalogschema - schematables - 上一步查询结果set - setException - 异常public List<String> buildQueryPartitionTableRunSQL(String catalog, String schema, String pattern, String types) throws Exception
buildQueryPartitionTableRunSQL 在接口中 JDBCAdapterbuildQueryPartitionTableRunSQL 在类中 DefaultJDBCAdaptercatalog - catalogschema - schemapattern - patterntypes - typesExceptionpublic List<String> buildQueryPartitionTableRunSQL(MasterTable master, Map<String,Object> tags) throws Exception
buildQueryPartitionTableRunSQL 在接口中 JDBCAdapterbuildQueryPartitionTableRunSQL 在类中 DefaultJDBCAdapterExceptionpublic LinkedHashMap<String,PartitionTable> ptables(int total, int index, boolean create, MasterTable master, String catalog, String schema, LinkedHashMap<String,PartitionTable> tables, org.anyline.entity.DataSet set) throws Exception
ptables 在接口中 JDBCAdapterptables 在类中 DefaultJDBCAdaptertotal - 合计SQL数量index - 第几条SQL 对照 buildQueryMasterTableRunSQL返回顺序create - 上一步没有查到的,这一步是否需要新创建master - 主表catalog - catalogschema - schematables - 上一步查询结果set - setException - 异常public LinkedHashMap<String,PartitionTable> ptables(boolean create, String catalog, MasterTable master, String schema, LinkedHashMap<String,PartitionTable> tables, ResultSet set) throws Exception
ptables 在接口中 JDBCAdapterptables 在类中 DefaultJDBCAdaptercreate - 上一步没有查到的,这一步是否需要新创建master - 主表catalog - catalogschema - schematables - 上一步查询结果set - setException - 异常public List<String> buildQueryColumnRunSQL(Table table, boolean metadata) throws Exception
buildQueryColumnRunSQL 在接口中 JDBCAdapterbuildQueryColumnRunSQL 在类中 DefaultJDBCAdaptertable - 表metadata - 是否根据metadata | 查询系统表Exceptionpublic LinkedHashMap<String,Column> columns(int index, boolean create, Table table, LinkedHashMap<String,Column> columns, org.anyline.entity.DataSet set) throws Exception
columns 在接口中 JDBCAdaptercolumns 在类中 DefaultJDBCAdapterindex - 第几条SQL 对照 buildQueryColumnRunSQL返回顺序table - 表columns - 上一步查询结果set - setException - 异常public LinkedHashMap<String,Column> columns(boolean create, Table table, LinkedHashMap<String,Column> columns, org.springframework.jdbc.support.rowset.SqlRowSet set) throws Exception
columns 在接口中 JDBCAdaptercolumns 在类中 DefaultJDBCAdapterExceptionpublic LinkedHashMap<String,Column> columns(boolean create, Table table, LinkedHashMap<String,Column> columns, ResultSet set) throws Exception
columns 在接口中 JDBCAdaptercolumns 在类中 DefaultJDBCAdapterExceptionpublic List<String> buildQueryTagRunSQL(Table table, boolean metadata) throws Exception
buildQueryTagRunSQL 在接口中 JDBCAdapterbuildQueryTagRunSQL 在类中 DefaultJDBCAdaptertable - 表metadata - 是否根据metadata | 查询系统表Exceptionpublic LinkedHashMap<String,Tag> tags(int index, boolean create, Table table, LinkedHashMap<String,Tag> tags, org.anyline.entity.DataSet set) throws Exception
tags 在接口中 JDBCAdaptertags 在类中 DefaultJDBCAdapterindex - 第几条查询SQL 对照 buildQueryTagRunSQL返回顺序create - 上一步没有查到的,这一步是否需要新创建table - 表tags - 上一步查询结果set - setException - 异常public LinkedHashMap<String,Tag> tags(boolean create, Table table, LinkedHashMap<String,Tag> tags, org.springframework.jdbc.support.rowset.SqlRowSet set) throws Exception
tags 在接口中 JDBCAdaptertags 在类中 DefaultJDBCAdapterExceptionpublic LinkedHashMap<String,Tag> tags(boolean create, Table table, LinkedHashMap<String,Tag> tags, ResultSet set) throws Exception
tags 在接口中 JDBCAdaptertags 在类中 DefaultJDBCAdapterExceptionpublic List<String> buildQueryIndexRunSQL(Table table, boolean metadata) throws Exception
buildQueryIndexRunSQL 在接口中 JDBCAdapterbuildQueryIndexRunSQL 在类中 DefaultJDBCAdaptertable - 表metadata - 是否根据metadata | 查询系统表Exceptionpublic LinkedHashMap<String,Index> indexs(int index, boolean create, Table table, LinkedHashMap<String,Index> indexs, org.anyline.entity.DataSet set) throws Exception
indexs 在接口中 JDBCAdapterindexs 在类中 DefaultJDBCAdapterindex - 第几条查询SQL 对照 buildQueryIndexRunSQL 返回顺序create - 上一步没有查到的,这一步是否需要新创建table - 表indexs - 上一步查询结果set - setException - 异常public LinkedHashMap<String,Index> indexs(boolean create, Table table, LinkedHashMap<String,Index> indexs, org.springframework.jdbc.support.rowset.SqlRowSet set) throws Exception
indexs 在接口中 JDBCAdapterindexs 在类中 DefaultJDBCAdapterExceptionpublic LinkedHashMap<String,Index> indexs(boolean create, Table table, LinkedHashMap<String,Index> indexs, ResultSet set) throws Exception
indexs 在接口中 JDBCAdapterindexs 在类中 DefaultJDBCAdapterExceptionpublic List<String> buildQueryConstraintRunSQL(Table table, boolean metadata) throws Exception
buildQueryConstraintRunSQL 在接口中 JDBCAdapterbuildQueryConstraintRunSQL 在类中 DefaultJDBCAdaptertable - 表metadata - 是否根据metadata | 查询系统表Exceptionpublic LinkedHashMap<String,Constraint> constraints(int index, boolean create, Table table, LinkedHashMap<String,Constraint> constraints, org.anyline.entity.DataSet set) throws Exception
constraints 在接口中 JDBCAdapterconstraints 在类中 DefaultJDBCAdapterindex - 第几条查询SQL 对照 buildQueryConstraintRunSQL 返回顺序create - 上一步没有查到的,这一步是否需要新创建table - 表constraints - 上一步查询结果set - setException - 异常public LinkedHashMap<String,Constraint> constraints(boolean create, Table table, LinkedHashMap<String,Constraint> constraints, org.springframework.jdbc.support.rowset.SqlRowSet set) throws Exception
constraints 在接口中 JDBCAdapterconstraints 在类中 DefaultJDBCAdapterExceptionpublic LinkedHashMap<String,Constraint> constraints(boolean create, Table table, LinkedHashMap<String,Constraint> constraints, ResultSet set) throws Exception
constraints 在接口中 JDBCAdapterconstraints 在类中 DefaultJDBCAdapterExceptionpublic String buildCreateRunSQL(Table table) throws Exception
buildCreateRunSQL 在接口中 JDBCAdapterbuildCreateRunSQL 在类中 DefaultJDBCAdapterExceptionpublic String buildAlterRunSQL(Table table) throws Exception
buildAlterRunSQL 在接口中 JDBCAdapterbuildAlterRunSQL 在类中 DefaultJDBCAdapterExceptionpublic String buildRenameRunSQL(Table table) throws Exception
buildRenameRunSQL 在接口中 JDBCAdapterbuildRenameRunSQL 在类中 DefaultJDBCAdaptertable - 表Exceptionpublic String buildChangeCommentRunSQL(Table table)
buildChangeCommentRunSQL 在接口中 JDBCAdapterbuildChangeCommentRunSQL 在类中 DefaultJDBCAdaptertable - 表public String buildDropRunSQL(Table table) throws Exception
buildDropRunSQL 在接口中 JDBCAdapterbuildDropRunSQL 在类中 DefaultJDBCAdaptertable - 表Exceptionpublic StringBuilder checkTableExists(StringBuilder builder, boolean exists)
checkTableExists 在接口中 JDBCAdaptercheckTableExists 在类中 DefaultJDBCAdapterpublic StringBuilder primary(StringBuilder builder, Table table)
primary 在接口中 JDBCAdapterprimary 在类中 DefaultJDBCAdapterbuilder - buildertable - 表public StringBuilder comment(StringBuilder builder, Table table)
comment 在接口中 JDBCAdaptercomment 在类中 DefaultJDBCAdapterbuilder - buildertable - 表public StringBuilder name(StringBuilder builder, Table table)
name 在接口中 JDBCAdaptername 在类中 DefaultJDBCAdapterbuilder - buildertable - 表public String buildCreateRunSQL(MasterTable table) throws Exception
buildCreateRunSQL 在接口中 JDBCAdapterbuildCreateRunSQL 在类中 DefaultJDBCAdaptertable - 表Exceptionpublic String buildAlterRunSQL(MasterTable table) throws Exception
buildAlterRunSQL 在接口中 JDBCAdapterbuildAlterRunSQL 在类中 DefaultJDBCAdapterExceptionpublic String buildDropRunSQL(MasterTable table) throws Exception
buildDropRunSQL 在接口中 JDBCAdapterbuildDropRunSQL 在类中 DefaultJDBCAdapterExceptionpublic String buildRenameRunSQL(MasterTable table) throws Exception
buildRenameRunSQL 在接口中 JDBCAdapterbuildRenameRunSQL 在类中 DefaultJDBCAdapterExceptionpublic String buildChangeCommentRunSQL(MasterTable table) throws Exception
buildChangeCommentRunSQL 在接口中 JDBCAdapterbuildChangeCommentRunSQL 在类中 DefaultJDBCAdapterExceptionpublic String buildCreateRunSQL(PartitionTable table) throws Exception
buildCreateRunSQL 在接口中 JDBCAdapterbuildCreateRunSQL 在类中 DefaultJDBCAdaptertable - 表Exceptionpublic String buildAlterRunSQL(PartitionTable table) throws Exception
buildAlterRunSQL 在接口中 JDBCAdapterbuildAlterRunSQL 在类中 DefaultJDBCAdapterExceptionpublic String buildDropRunSQL(PartitionTable table) throws Exception
buildDropRunSQL 在接口中 JDBCAdapterbuildDropRunSQL 在类中 DefaultJDBCAdapterExceptionpublic String buildRenameRunSQL(PartitionTable table) throws Exception
buildRenameRunSQL 在接口中 JDBCAdapterbuildRenameRunSQL 在类中 DefaultJDBCAdapterExceptionpublic String buildChangeCommentRunSQL(PartitionTable table) throws Exception
buildChangeCommentRunSQL 在接口中 JDBCAdapterbuildChangeCommentRunSQL 在类中 DefaultJDBCAdapterExceptionpublic String alterColumnKeyword()
alterColumnKeyword 在接口中 JDBCAdapteralterColumnKeyword 在类中 DefaultJDBCAdapterpublic String buildAddRunSQL(Column column) throws Exception
buildAddRunSQL 在接口中 JDBCAdapterbuildAddRunSQL 在类中 DefaultJDBCAdaptercolumn - 列Exceptionpublic List<String> buildAlterRunSQL(Column column) throws Exception
buildAlterRunSQL 在接口中 JDBCAdapterbuildAlterRunSQL 在类中 DefaultJDBCAdaptercolumn - 列Exceptionpublic String buildDropRunSQL(Column column) throws Exception
buildDropRunSQL 在接口中 JDBCAdapterbuildDropRunSQL 在类中 DefaultJDBCAdaptercolumn - 列Exceptionpublic String buildRenameRunSQL(Column column) throws Exception
buildRenameRunSQL 在接口中 JDBCAdapterbuildRenameRunSQL 在类中 DefaultJDBCAdaptercolumn - 列Exceptionpublic List<String> buildChangeTypeRunSQL(Column column) throws Exception
buildChangeTypeRunSQL 在接口中 JDBCAdapterbuildChangeTypeRunSQL 在类中 DefaultJDBCAdaptercolumn - 列Exceptionpublic String buildChangeDefaultRunSQL(Column column) throws Exception
buildChangeDefaultRunSQL 在接口中 JDBCAdapterbuildChangeDefaultRunSQL 在类中 DefaultJDBCAdaptercolumn - 列Exceptionpublic String buildChangeNullableRunSQL(Column column) throws Exception
buildChangeNullableRunSQL 在接口中 JDBCAdapterbuildChangeNullableRunSQL 在类中 DefaultJDBCAdaptercolumn - 列Exceptionpublic String buildChangeCommentRunSQL(Column column) throws Exception
buildChangeCommentRunSQL 在接口中 JDBCAdapterbuildChangeCommentRunSQL 在类中 DefaultJDBCAdaptercolumn - 列Exceptionpublic StringBuilder define(StringBuilder builder, Column column)
define 在接口中 JDBCAdapterdefine 在类中 DefaultJDBCAdapterbuilder - buildercolumn - 列public StringBuilder type(StringBuilder builder, Column column)
type 在接口中 JDBCAdaptertype 在类中 DefaultJDBCAdapterbuilder - buildercolumn - 列public StringBuilder nullable(StringBuilder builder, Column column)
nullable 在接口中 JDBCAdapternullable 在类中 DefaultJDBCAdapterbuilder - buildercolumn - 列public StringBuilder charset(StringBuilder builder, Column column)
charset 在接口中 JDBCAdaptercharset 在类中 DefaultJDBCAdapterbuilder - buildercolumn - 列public StringBuilder defaultValue(StringBuilder builder, Column column)
defaultValue 在接口中 JDBCAdapterdefaultValue 在类中 DefaultJDBCAdapterbuilder - buildercolumn - 列public StringBuilder increment(StringBuilder builder, Column column)
increment 在接口中 JDBCAdapterincrement 在类中 DefaultJDBCAdapterbuilder - buildercolumn - 列public StringBuilder onupdate(StringBuilder builder, Column column)
onupdate 在接口中 JDBCAdapteronupdate 在类中 DefaultJDBCAdapterbuilder - buildercolumn - 列public StringBuilder position(StringBuilder builder, Column column)
position 在接口中 JDBCAdapterposition 在类中 DefaultJDBCAdapterbuilder - buildercolumn - 列public StringBuilder comment(StringBuilder builder, Column column)
comment 在接口中 JDBCAdaptercomment 在类中 DefaultJDBCAdapterbuilder - buildercolumn - 列public StringBuilder checkColumnExists(StringBuilder builder, boolean exists)
checkColumnExists 在接口中 JDBCAdaptercheckColumnExists 在类中 DefaultJDBCAdapterbuilder - builderexists - existspublic String buildAddRunSQL(Tag tag) throws Exception
buildAddRunSQL 在接口中 JDBCAdapterbuildAddRunSQL 在类中 DefaultJDBCAdaptertag - 标签Exceptionpublic List<String> buildAlterRunSQL(Tag tag) throws Exception
buildAlterRunSQL 在接口中 JDBCAdapterbuildAlterRunSQL 在类中 DefaultJDBCAdaptertag - 标签Exceptionpublic String buildDropRunSQL(Tag tag) throws Exception
buildDropRunSQL 在接口中 JDBCAdapterbuildDropRunSQL 在类中 DefaultJDBCAdaptertag - 标签Exceptionpublic String buildRenameRunSQL(Tag tag) throws Exception
buildRenameRunSQL 在接口中 JDBCAdapterbuildRenameRunSQL 在类中 DefaultJDBCAdaptertag - 标签Exceptionpublic String buildChangeDefaultRunSQL(Tag tag) throws Exception
buildChangeDefaultRunSQL 在接口中 JDBCAdapterbuildChangeDefaultRunSQL 在类中 DefaultJDBCAdaptertag - 标签Exceptionpublic String buildChangeNullableRunSQL(Tag tag) throws Exception
buildChangeNullableRunSQL 在接口中 JDBCAdapterbuildChangeNullableRunSQL 在类中 DefaultJDBCAdaptertag - 标签Exceptionpublic String buildChangeCommentRunSQL(Tag tag) throws Exception
buildChangeCommentRunSQL 在接口中 JDBCAdapterbuildChangeCommentRunSQL 在类中 DefaultJDBCAdaptertag - 标签Exceptionpublic List<String> buildChangeTypeRunSQL(Tag tag) throws Exception
buildChangeTypeRunSQL 在接口中 JDBCAdapterbuildChangeTypeRunSQL 在类中 DefaultJDBCAdaptertag - 标签Exceptionpublic StringBuilder checkTagExists(StringBuilder builder, boolean exists)
checkTagExists 在接口中 JDBCAdaptercheckTagExists 在类中 DefaultJDBCAdapterbuilder - builderexists - existspublic String buildAddRunSQL(Index index) throws Exception
buildAddRunSQL 在接口中 JDBCAdapterbuildAddRunSQL 在类中 DefaultJDBCAdapterindex - 索引Exceptionpublic List<String> buildAlterRunSQL(Index index) throws Exception
buildAlterRunSQL 在接口中 JDBCAdapterbuildAlterRunSQL 在类中 DefaultJDBCAdapterindex - 索引Exceptionpublic String buildDropRunSQL(Index index) throws Exception
buildDropRunSQL 在接口中 JDBCAdapterbuildDropRunSQL 在类中 DefaultJDBCAdapterindex - 索引Exceptionpublic String buildRenameRunSQL(Index index) throws Exception
buildRenameRunSQL 在接口中 JDBCAdapterbuildRenameRunSQL 在类中 DefaultJDBCAdapterindex - 索引Exceptionpublic String buildAddRunSQL(Constraint constraint) throws Exception
buildAddRunSQL 在接口中 JDBCAdapterbuildAddRunSQL 在类中 DefaultJDBCAdapterconstraint - 约束Exceptionpublic List<String> buildAlterRunSQL(Constraint constraint) throws Exception
buildAlterRunSQL 在接口中 JDBCAdapterbuildAlterRunSQL 在类中 DefaultJDBCAdapterconstraint - 约束Exceptionpublic String buildDropRunSQL(Constraint constraint) throws Exception
buildDropRunSQL 在接口中 JDBCAdapterbuildDropRunSQL 在类中 DefaultJDBCAdapterconstraint - 约束Exceptionpublic String buildRenameRunSQL(Constraint constraint) throws Exception
buildRenameRunSQL 在接口中 JDBCAdapterbuildRenameRunSQL 在类中 DefaultJDBCAdapterconstraint - 约束Exceptionpublic boolean isBooleanColumn(Column column)
isBooleanColumn 在接口中 JDBCAdapterisBooleanColumn 在类中 DefaultJDBCAdapterpublic boolean isNumberColumn(Column column)
isNumberColumn 在接口中 JDBCAdapterisNumberColumn 在类中 DefaultJDBCAdaptercolumn - 列public boolean isCharColumn(Column column)
isCharColumn 在接口中 JDBCAdapterisCharColumn 在类中 DefaultJDBCAdapterpublic String buildInValue(JDBCAdapter.SQL_BUILD_IN_VALUE value)
buildInValue 在接口中 JDBCAdapterbuildInValue 在类中 DefaultJDBCAdaptervalue - SQL_BUILD_IN_VALUEpublic String type2type(String type)
type2type 在接口中 JDBCAdaptertype2type 在类中 DefaultJDBCAdapterpublic String type2class(String type)
type2class 在接口中 JDBCAdaptertype2class 在类中 DefaultJDBCAdapterCopyright © 2022. All rights reserved.