public interface Table
Originally derived from Apache Calcite's catalog interfaces.
| Modifier and Type | Method and Description |
|---|---|
Column |
getColumn(String columnName)
Returns a column by name, or null if not found.
|
List<Column> |
getColumns()
Returns all columns in this table, in ordinal order.
|
String |
getComment()
Returns the comment or description of the table.
|
String |
getName()
Returns the name of the table.
|
List<String> |
getPrimaryKeys()
Returns the primary key columns.
|
Schema |
getSchema()
Returns the schema that this table belongs to.
|
String |
getTableType()
Returns the type of the table (e.g., "TABLE", "VIEW", "SYSTEM TABLE").
|
String getTableType()
List<Column> getColumns()
Column getColumn(String columnName)
columnName - Column name (case-sensitive)String getComment()
List<String> getPrimaryKeys()