SchemaRepository

Created by wenshao on 03/06/2017.

class SchemaRepository {}

Constructors

this
this()
Undocumented in source.
this
this(string dbType)
Undocumented in source.

Members

Classes

DefaultConsoleSchemaVisitor
class DefaultConsoleSchemaVisitor
Undocumented in source.
MySqlConsoleSchemaVisitor
class MySqlConsoleSchemaVisitor
Undocumented in source.

Functions

accept
void accept(SQLStatement stmt)
Undocumented in source. Be warned that the author may not have intended to support it.
acceptAlterTable
bool acceptAlterTable(SQLAlterTableStatement x)
Undocumented in source. Be warned that the author may not have intended to support it.
acceptCreateFunction
bool acceptCreateFunction(SQLCreateFunctionStatement x)
Undocumented in source. Be warned that the author may not have intended to support it.
acceptCreateIndex
bool acceptCreateIndex(SQLCreateIndexStatement x)
Undocumented in source. Be warned that the author may not have intended to support it.
acceptCreateSequence
bool acceptCreateSequence(SQLCreateSequenceStatement x)
Undocumented in source. Be warned that the author may not have intended to support it.
acceptCreateTable
bool acceptCreateTable(MySqlCreateTableStatement x)
Undocumented in source. Be warned that the author may not have intended to support it.
acceptCreateTable
bool acceptCreateTable(SQLCreateTableStatement x)
Undocumented in source. Be warned that the author may not have intended to support it.
acceptDDL
void acceptDDL(string ddl)
Undocumented in source. Be warned that the author may not have intended to support it.
acceptDDL
void acceptDDL(string ddl, string dbType)
Undocumented in source. Be warned that the author may not have intended to support it.
acceptDropIndex
bool acceptDropIndex(SQLDropIndexStatement x)
Undocumented in source. Be warned that the author may not have intended to support it.
acceptDropSequence
bool acceptDropSequence(SQLDropSequenceStatement x)
Undocumented in source. Be warned that the author may not have intended to support it.
acceptDropTable
bool acceptDropTable(SQLDropTableStatement x)
Undocumented in source. Be warned that the author may not have intended to support it.
acceptView
bool acceptView(SQLCreateViewStatement x)
Undocumented in source. Be warned that the author may not have intended to support it.
acceptView
bool acceptView(SQLAlterViewStatement x)
Undocumented in source. Be warned that the author may not have intended to support it.
console
string console(string input)
Undocumented in source. Be warned that the author may not have intended to support it.
findColumn
SQLColumnDefinition findColumn(SQLTableSource tableSource, SQLSelectItem selectItem)
Undocumented in source. Be warned that the author may not have intended to support it.
findColumn
SQLColumnDefinition findColumn(SQLTableSource tableSource, SQLExpr expr)
Undocumented in source. Be warned that the author may not have intended to support it.
findFunction
SchemaObject findFunction(string functionName)
Undocumented in source. Be warned that the author may not have intended to support it.
findSchema
Schema findSchema(string schema)
Undocumented in source. Be warned that the author may not have intended to support it.
findSchema
Schema findSchema(string name, bool create)
Undocumented in source. Be warned that the author may not have intended to support it.
findTable
SchemaObject findTable(string tableName)
Undocumented in source. Be warned that the author may not have intended to support it.
findTable
SchemaObject findTable(SQLTableSource tableSource, string _alias)
Undocumented in source. Be warned that the author may not have intended to support it.
findTable
SchemaObject findTable(SQLTableSource tableSource, SQLSelectItem selectItem)
Undocumented in source. Be warned that the author may not have intended to support it.
findTable
SchemaObject findTable(SQLTableSource tableSource, SQLExpr expr)
Undocumented in source. Be warned that the author may not have intended to support it.
findTable
SchemaObject findTable(SQLName name)
Undocumented in source. Be warned that the author may not have intended to support it.
findTable
SchemaObject findTable(SQLExprTableSource x)
Undocumented in source. Be warned that the author may not have intended to support it.
findTableOrView
SchemaObject findTableOrView(string tableName)
Undocumented in source. Be warned that the author may not have intended to support it.
findTableOrView
SchemaObject findTableOrView(string tableName, bool onlyCurrent)
Undocumented in source. Be warned that the author may not have intended to support it.
getDbType
string getDbType()
Undocumented in source. Be warned that the author may not have intended to support it.
getDefaultSchema
Schema getDefaultSchema()
Undocumented in source. Be warned that the author may not have intended to support it.
getDefaultSchemaName
string getDefaultSchemaName()
Undocumented in source. Be warned that the author may not have intended to support it.
getObjects
SchemaObject[] getObjects()
Undocumented in source. Be warned that the author may not have intended to support it.
getSchemas
Schema[] getSchemas()
Undocumented in source. Be warned that the author may not have intended to support it.
getTableCount
int getTableCount()
Undocumented in source. Be warned that the author may not have intended to support it.
getTables
Map!(string, SchemaObject) getTables(SQLTableSource x)
Undocumented in source. Be warned that the author may not have intended to support it.
getViewCount
int getViewCount()
Undocumented in source. Be warned that the author may not have intended to support it.
isSequence
bool isSequence(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
resolve
void resolve(SQLSelectStatement stmt, SchemaResolveVisitor.Option[] options)
Undocumented in source. Be warned that the author may not have intended to support it.
resolve
void resolve(SQLStatement stmt, SchemaResolveVisitor.Option[] options)
Undocumented in source. Be warned that the author may not have intended to support it.
resolve
string resolve(string input)
Undocumented in source. Be warned that the author may not have intended to support it.
setDefaultSchema
void setDefaultSchema(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
setDefaultSchema
void setDefaultSchema(Schema schema)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

consoleVisitor
SQLASTVisitor consoleVisitor;
Undocumented in source.
dbType
string dbType;
Undocumented in source.

Meta