/** * Create a new table identifier. * * @param catalogName the name of the database catalog that contains the table; may be null if the JDBC driver does not * show a schema for this table * @param schemaName the name of the database schema that contains the table; may be null if the JDBC driver does not * show a schema for this table * @param tableName the name of the table; may not be null */ public TableId(String catalogName, String schemaName, String tableName) { this.catalogName = catalogName; this.schemaName = schemaName; this.tableName = tableName; assert this.tableName != null; this.id = tableId(this.catalogName, this.schemaName, this.tableName); }
/** * Create a new table identifier. * * @param catalogName the name of the database catalog that contains the table; may be null if the JDBC driver does not * show a schema for this table * @param schemaName the name of the database schema that contains the table; may be null if the JDBC driver does not * show a schema for this table * @param tableName the name of the table; may not be null */ public TableId(String catalogName, String schemaName, String tableName) { this.catalogName = catalogName; this.schemaName = schemaName; this.tableName = tableName; assert this.tableName != null; this.id = tableId(this.catalogName, this.schemaName, this.tableName); }