TableMetaData
instance. The TableDefinition instance only provides access to the table metadata, but no table data.
A TableDefinition instance is not thread-safe (see Database for more thread-safety details).
| Modifier and Type | Method and Description |
|---|---|
| public Column | |
| public int | Returns: the number of columns in this tableReturns the number of columns in this table. |
| public List | Returns: All of the columns in this table (unmodifiable List)Returns all of the columns in this table (unmodifiable List). |
| public LocalDateTime | Returns: the created date for this table if availableReturns the created date for this table if available. |
| public Database | Returns: the database to which this table belongsReturns the database to which this table belongs. |
| public Index | Returns: the foreign key index joining this table to the given other tableReturns the foreign key index joining this table to the given other table. |
| public Index | |
| public List | Returns: All of the Indexes on this table (unmodifiable List)Returns all of the Indexes on this table (unmodifiable List). |
| public String | |
| public Index | Returns: the primary key index for this tableReturns the primary key index for this table. |
| public PropertyMap | |
| public LocalDateTime | Returns: the last updated date for this table if availableNote jackcess does not automatically update the modified date of a Table. |
| public boolean | |
| public boolean |
| getColumn | back to summary |
|---|---|
| public Column getColumn(String name) Returns the column with the given name.
| |
| getColumnCount | back to summary |
|---|---|
| public int getColumnCount() Returns the number of columns in this table.
| |
| getColumns | back to summary |
|---|---|
| public List Returns all of the columns in this table (unmodifiable List). | |
| getCreatedDate | back to summary |
|---|---|
| public LocalDateTime getCreatedDate() throws IOException Returns the created date for this table if available.
| |
| getDatabase | back to summary |
|---|---|
| public Database getDatabase() Returns the database to which this table belongs.
| |
| getForeignKeyIndex | back to summary |
|---|---|
| public Index getForeignKeyIndex(Table otherTable) Returns the foreign key index joining this table to the given other table.
| |
| getIndex | back to summary |
|---|---|
| public Index getIndex(String name) Returns the index with the given name.
| |
| getIndexes | back to summary |
|---|---|
| public List Returns all of the Indexes on this table (unmodifiable List). | |
| getName | back to summary |
|---|---|
| public String getName() Returns the name of the table.
| |
| getPrimaryKeyIndex | back to summary |
|---|---|
| public Index getPrimaryKeyIndex() Returns the primary key index for this table.
| |
| getProperties | back to summary |
|---|---|
| public PropertyMap getProperties() throws IOException Returns the properties for this table.
| |
| getUpdatedDate | back to summary |
|---|---|
| public LocalDateTime getUpdatedDate() throws IOException Note jackcess does not automatically update the modified date of a Table.
| |
| isHidden | back to summary |
|---|---|
| public boolean isHidden() Whether or not this table has been marked as hidden. | |
| isSystem | back to summary |
|---|---|
| public boolean isSystem() Whether or not this table is a system (internal) table. | |