| Modifier and Type | Field and Description |
|---|---|
private List<Column> |
columnDefs |
private List<String> |
columnNames |
private Map<String,Column> |
columnsByLowercaseName |
private TableId |
id |
private List<String> |
pkColumnNames |
| Modifier | Constructor and Description |
|---|---|
protected |
TableImpl(Table table) |
protected |
TableImpl(TableId id,
List<Column> sortedColumns,
List<String> pkColumnNames) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
columnNames()
The list of column names that make up this table.
|
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.
|
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.
|
String |
toString() |
protected void |
toString(StringBuilder sb,
String prefix) |
clone, finalize, getClass, notify, notifyAll, wait, wait, waiteditor, filterColumnNames, filterColumns, isAutoIncremented, isGenerated, isOptional, isPrimaryKeyColumn, nonPrimaryKeyColumns, primaryKeyColumnsprivate final TableId id
protected TableImpl(Table table)
public List<String> primaryKeyColumnNames()
TableprimaryKeyColumnNames in interface Tablepublic List<String> columnNames()
TablecolumnNames in interface Tablepublic List<Column> columns()
Tablepublic Column columnWithName(String name)
TablecolumnWithName in interface Tablename - the case-insensitive name of the columnprotected void toString(StringBuilder sb, String prefix)
public TableEditor edit()
TableCopyright © 2016 JBoss by Red Hat. All rights reserved.