Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SchemaRegistry ¶
type SchemaRegistry struct {
Databases map[string]*Database
// contains filtered or unexported fields
}
func NewSchemaRegistry ¶
func NewSchemaRegistry() *SchemaRegistry
func (*SchemaRegistry) GetTableInfo ¶
func (sr *SchemaRegistry) GetTableInfo(database, table string) *Table
Update GetTableInfo method to be completely silent
func (*SchemaRegistry) LoadFromDDL ¶
func (sr *SchemaRegistry) LoadFromDDL(ddlStatements []string) error
LoadFromDDL loads schema information from DDL statements (CREATE TABLE)
func (*SchemaRegistry) LoadFromFile ¶
func (sr *SchemaRegistry) LoadFromFile(filename string) error
func (*SchemaRegistry) PrintSummary ¶
func (sr *SchemaRegistry) PrintSummary()
Add PrintSummary method
func (*SchemaRegistry) PrintWarnings ¶
func (sr *SchemaRegistry) PrintWarnings()
Update PrintWarnings to sort by reference count
Click to show internal directories.
Click to hide internal directories.