Package com.alibaba.druid.sql.repository
Class Schema
java.lang.Object
com.alibaba.druid.sql.repository.Schema
Created by wenshao on 21/07/2017.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Map<Long,SchemaObject> protected final Map<Long,SchemaObject> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSchema(SchemaRepository repository) protectedSchema(SchemaRepository repository, String name) protectedSchema(SchemaRepository repository, String catalog, String name) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcomputeTables(SQLTableSource x, Map<String, SchemaObject> tables) findColumn(SQLTableSource tableSource, SQLExpr expr) findColumn(SQLTableSource tableSource, SQLSelectItem selectItem) findFunction(String functionName) findTable(long nameHashCode64) findTable(SQLTableSource tableSource, SQLExpr expr) findTable(SQLTableSource tableSource, SQLSelectItem selectItem) findTable(SQLTableSource tableSource, String alias) findTableOrView(long hashCode64) findTableOrView(String tableName) findView(long nameHashCode64) getName()intintbooleanisSequence(String name) booleanremoveObject(Long nameHashCode64) void
-
Field Details
-
objects
-
functions
-
-
Constructor Details
-
Schema
-
Schema
-
Schema
-
-
Method Details
-
getRepository
-
getName
-
getSimpleName
-
setName
-
findTable
-
findTable
-
findView
-
findView
-
findTableOrView
-
findTableOrView
-
findFunction
-
isSequence
-
findTable
-
findColumn
-
findColumn
-
findTable
-
findTable
-
getTables
-
computeTables
-
getTableCount
public int getTableCount() -
getObjects
-
removeObject
-
getViewCount
public int getViewCount() -
showTables
-
getCatalog
-