| Package | Description |
|---|---|
| gudusoft.gsqlparser.ext.catalog.impl |
Simple implementations of catalog interfaces.
|
| Modifier and Type | Method and Description |
|---|---|
SimpleCatalog.SimpleTable |
SimpleCatalog.SimpleTable.addColumn(SimpleCatalog.SimpleColumn column)
Adds a column to this table.
|
SimpleCatalog.SimpleTable |
SimpleCatalog.SimpleTable.addPrimaryKey(String columnName)
Adds a primary key column.
|
SimpleCatalog.SimpleTable |
SimpleCatalog.SimpleSchema.createTable(String tableName)
Creates and adds a new table to this schema with type "TABLE".
|
SimpleCatalog.SimpleTable |
SimpleCatalog.SimpleSchema.createTable(String tableName,
String tableType)
Creates and adds a new table to this schema.
|
SimpleCatalog.SimpleTable |
SimpleCatalog.SimpleTable.setComment(String comment)
Sets the comment for this table.
|
SimpleCatalog.SimpleTable |
SimpleCatalog.SimpleTable.setPrimaryKeys(List<String> primaryKeys)
Sets the primary key columns.
|
| Modifier and Type | Method and Description |
|---|---|
SimpleCatalog.SimpleSchema |
SimpleCatalog.SimpleSchema.addTable(SimpleCatalog.SimpleTable table)
Adds a table to this schema.
|