public class GeneratorTable extends NamedObject
| Constructor and Description |
|---|
GeneratorTable(int index,
String catalog,
String schema,
String name,
String qualifiedName,
GeneratorContext context) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCatalog()
The optional name of the catalog that contains this table,
null if the default catalog is used. |
Map<String,GeneratorColumn> |
getColumns()
The known columns for this table.
|
GeneratorContext |
getContext()
The current generator context.
|
int |
getIndex()
The index of this table in the list of all available tables.
|
String |
getName()
The name of this table.
|
String |
getQualifiedName()
The fully qualified name of this table, as used by the dialect.
|
String |
getSchema()
The optional name of the schema that contains this table,
null if the default schema is used. |
String |
getUnquotedCatalog()
Removes any quotes from the catalog name.
|
String |
getUnquotedSchema()
Removes any quotes from the schema name.
|
GeneratorColumn |
resolveColumn(String columnName)
Adds or finds a column which is part of an insert statement to this statement.
|
GeneratorColumn |
resolveColumn(String columnName,
boolean autoGenerated)
Adds or finds a column which is part of this table.
|
getUnquotedName, toString, unqoteObjectNamepublic GeneratorTable(int index,
String catalog,
String schema,
String name,
String qualifiedName,
GeneratorContext context)
public String getUnquotedCatalog()
null if no catalog name existspublic String getUnquotedSchema()
null if no schema name existspublic GeneratorColumn resolveColumn(String columnName)
columnName - the name of the new columnpublic GeneratorColumn resolveColumn(String columnName, boolean autoGenerated)
columnName - the name of the new columnautoGenerated - true if this column is not part of any insert statement, because it is generated by the
databasepublic int getIndex()
public String getCatalog()
null if the default catalog is used.public String getSchema()
null if the default schema is used.public String getName()
getName in class NamedObjectpublic String getQualifiedName()
getQualifiedName in class NamedObjectpublic GeneratorContext getContext()
public Map<String,GeneratorColumn> getColumns()
Copyright © 2026 fastnate.org. All rights reserved.