java.lang.Object
org.litebridge.db.spi.TableMetaData
org.litebridge.db.spi.VirtualTableMetaData
Metadata for a database table, including its primary keys and expressions.
It extends the Table class and provides additional information about the table's expressions,
primary key, and column mappings.
This class is immutable and thread-safe.
-
Field Summary
Fields inherited from class org.litebridge.db.spi.TableMetaData
columnMap, columns, table -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieve the metadata for a specific column given its name.Methods inherited from class org.litebridge.db.spi.TableMetaData
catalog, columns, equals, hasColumn, hashCode, name, primaryKey, qualifiedName, schema, table, toString
-
Constructor Details
-
VirtualTableMetaData
-
-
Method Details
-
column
Description copied from class:TableMetaDataRetrieve the metadata for a specific column given its name.If the column does not exist, an
IllegalArgumentExceptionis thrown.- Overrides:
columnin classTableMetaData- Parameters:
columnName- the name of the column whose metadata is to be retrieved- Returns:
- the
ColumnMetaDataobject associated with the specified column name
-