public class Schema extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected Map<Long,SchemaObject> |
functions |
protected Map<Long,SchemaObject> |
objects |
| 限定符 | 构造器和说明 |
|---|---|
protected |
Schema(SchemaRepository repository) |
protected |
Schema(SchemaRepository repository,
String name) |
protected |
Schema(SchemaRepository repository,
String catalog,
String name) |
protected final Map<Long,SchemaObject> objects
protected final Map<Long,SchemaObject> functions
protected Schema(SchemaRepository repository)
protected Schema(SchemaRepository repository, String name)
protected Schema(SchemaRepository repository, String catalog, String name)
public SchemaRepository getRepository()
public String getName()
public String getSimpleName()
public void setName(String name)
public SchemaObject findTable(String tableName)
public SchemaObject findTable(long nameHashCode64)
public SchemaObject findView(String viewName)
public SchemaObject findView(long nameHashCode64)
public SchemaObject findTableOrView(String tableName)
public SchemaObject findTableOrView(long hashCode64)
public SchemaObject findFunction(String functionName)
public boolean isSequence(String name)
public SchemaObject findTable(SQLTableSource tableSource, String alias)
public SQLColumnDefinition findColumn(SQLTableSource tableSource, SQLSelectItem selectItem)
public SQLColumnDefinition findColumn(SQLTableSource tableSource, SQLExpr expr)
public SchemaObject findTable(SQLTableSource tableSource, SQLSelectItem selectItem)
public SchemaObject findTable(SQLTableSource tableSource, SQLExpr expr)
public Map<String,SchemaObject> getTables(SQLTableSource x)
protected void computeTables(SQLTableSource x, Map<String,SchemaObject> tables)
public int getTableCount()
public Collection<SchemaObject> getObjects()
public int getViewCount()
public String getCatalog()
Copyright © 2013–2023. All rights reserved.