Class Table

java.lang.Object
org.litebridgedb.db.spi.Aliased
org.litebridgedb.db.spi.Table
Direct Known Subclasses:
TableSpec

public class Table extends Aliased
A database table with an associated catalog, schema, name, and optional alias.

This class provides functionality for handling table-related metadata and supports aliasing for the table name.

  • Constructor Details

  • Method Details

    • catalog

      public String catalog()
    • schema

      public String schema()
    • qualifiedName

      public String qualifiedName()
    • as

      public Table as(String alias)
      Description copied from class: Aliased
      Set the alias for this entity and return the updated instance.
      Overrides:
      as in class Aliased
      Parameters:
      alias - the alias to assign to this entity; must not be null
      Returns:
      the updated instance of Aliased with the specified alias set
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Aliased
    • equalsIgnoreAlias

      public boolean equalsIgnoreAlias(Aliased o)
      Overrides:
      equalsIgnoreAlias in class Aliased
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Aliased
    • toString

      public String toString()
      Overrides:
      toString in class Object