| Modifier and Type | Field and Description |
|---|---|
private List<Column> |
columnDefs |
private Map<String,Column> |
columnsByLowercaseName |
private String |
defaultCharsetName |
private TableId |
id |
private List<String> |
pkColumnNames |
| Constructor and Description |
|---|
TableImpl(Table table) |
TableImpl(TableId id,
List<Column> sortedColumns,
List<String> pkColumnNames,
String defaultCharsetName) |
| Modifier and Type | Method and Description |
|---|---|
List<Column> |
columns()
Get the definitions for the columns in this table, in the same order in which the table defines them.
|
Column |
columnWithName(String name)
Get the definition for the column in this table with the supplied name.
|
String |
defaultCharsetName()
Get the database-specific name of the default character set used by columns in this table.
|
TableEditor |
edit()
Obtain an editor that contains the same information as this table definition.
|
boolean |
equals(Object obj) |
int |
hashCode() |
TableId |
id()
Get the identifier for this table.
|
List<String> |
primaryKeyColumnNames()
The list of column names that make up the primary key for this table.
|
List<String> |
retrieveColumnNames()
The list of column names that make up this table.
|
String |
toString() |
void |
toString(StringBuilder sb,
String prefix) |
clone, finalize, getClass, notify, notifyAll, wait, wait, waiteditor, filterColumns, isAutoIncremented, isGenerated, isOptional, isPrimaryKeyColumn, primaryKeyColumns@PackagePrivate TableImpl(Table table)
public List<String> primaryKeyColumnNames()
TableprimaryKeyColumnNames in interface Tablepublic List<Column> columns()
Tablepublic List<String> retrieveColumnNames()
Table
Note: If feasible, call Table.columns() instead, e.g. if just interested in the number of columns.
retrieveColumnNames in interface Tablepublic Column columnWithName(String name)
TablecolumnWithName in interface Tablename - the case-insensitive name of the columnpublic String defaultCharsetName()
TabledefaultCharsetName in interface Tablenull if there is no
such default character set name defined on the tablepublic void toString(StringBuilder sb, String prefix)
public TableEditor edit()
TableCopyright © 2021 JBoss by Red Hat. All rights reserved.