类 SchemaRepository
java.lang.Object
com.alibaba.druid.sql.repository.SchemaRepository
Created by wenshao on 03/06/2017.
-
嵌套类概要
嵌套类修饰符和类型类说明classclassclassstatic interfaceclass -
字段概要
字段修饰符和类型字段说明protected SQLASTVisitorprotected DbTypeprotected DbTypeprotected SchemaRepository.SchemaLoader -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidaccept(SQLStatement stmt) booleanvoidbooleanfindColumn(SQLTableSource tableSource, SQLExpr expr) findColumn(SQLTableSource tableSource, SQLSelectItem selectItem) findFunction(String functionName) findFuntionReturnType(long functionNameHashCode) findSchema(String schema) protected SchemafindSchema(String name, boolean create) findTable(long tableNameHash) findTable(SQLTableSource tableSource, SQLExpr expr) findTable(SQLTableSource tableSource, SQLSelectItem selectItem) findTable(SQLTableSource tableSource, String alias) findTableOrView(String tableName) findTableOrView(String tableName, boolean onlyCurrent) intintbooleanisSequence(String name) protected Stringprotected Stringprotected StringbooleanremoveTable(SQLName name) voidresolve(SQLStatement stmt, SchemaResolveVisitor.Option... options) voidresolve(SQLSelectQueryBlock queryBlock, SchemaResolveVisitor.Option... options) voidresolve(SQLSelect select, SchemaResolveVisitor.Option... options) voidresolve(SQLSelectStatement stmt, SchemaResolveVisitor.Option... options) voidsetDefaultSchema(Schema schema) voidsetDefaultSchema(String name) voidsetSchemaLoader(SchemaRepository.SchemaLoader schemaLoader)
-
字段详细资料
-
dbType
-
schemaDbType
-
consoleVisitor
-
schemas
-
internalFunctions
-
schemaLoader
-
-
构造器详细资料
-
SchemaRepository
public SchemaRepository() -
SchemaRepository
-
SchemaRepository
-
-
方法详细资料
-
getDbType
-
getDefaultSchemaName
-
setDefaultSchema
-
findSchema
-
findSchema
-
getDefaultSchema
-
setDefaultSchema
-
findTable
-
findView
-
findTable
-
findTableOrView
-
findTableOrView
-
getSchemas
-
findFunction
-
acceptDDL
-
acceptDDL
-
accept
-
isSequence
-
findTable
-
findColumn
-
findColumn
-
findTable
-
findTable
-
getTables
-
removeTable
-
getTableCount
public int getTableCount() -
getObjects
-
getViewCount
public int getViewCount() -
resolve
-
resolve
-
resolve
-
resolve
-
resolve
-
console
-
findTable
-
findView
-
findTable
-
acceptCreateSequence
-
acceptDropSequence
-
findFuntionReturnType
-
loadDDL
-
loadDDL
-
loadDDL
-
getSchemaLoader
-
setSchemaLoader
-