Documentation of 'org.apache.derby.impl.sql.compile.TableName' Java class
TableName
org.apache.derby.impl.sql.compile

Class TableName

  • All Implemented Interfaces:
    Visitable


    public class TableName
    extends QueryTreeNode
    A TableName represents a qualified name, externally represented as a schema name and an object name separated by a dot. This class is misnamed: it is used to represent the names of other object types in addition to tables.
    • Method Detail

      • getTableName

        public java.lang.String getTableName()
        Get the table name (without the schema name).
        Returns:
        Table name as a String
      • hasSchema

        public boolean hasSchema()
        Return true if this instance was initialized with not null schemaName.
        Returns:
        true if this instance was initialized with not null schemaName
      • getSchemaName

        public java.lang.String getSchemaName()
        Get the schema name.
        Returns:
        Schema name as a String
      • getFullSQLName

        public java.lang.String getFullSQLName()
        Get the full SQL name of this object, properly quoted and escaped.
      • toString

        public java.lang.String toString()
        Convert this object to a String. See comments in QueryTreeNode.java for how this should be done for tree printing.
        Overrides:
        toString in class QueryTreeNode
        Returns:
        This object as a String
      • cloneMe

        public TableName cloneMe()
        Clone this TableName
      • hashCode

        public int hashCode()
        Returns a hash code for this tableName. This allows us to use TableNames as keys in hash lists.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        hash code for this table name
      • equals

        public boolean equals(java.lang.Object other)
        Compares two TableNames. Needed for hashing logic to work.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        other - other tableName

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.