Class Namespace


  • public class Namespace
    extends Object
    Represents a namespace (named schema/catalog pair) with a Database and manages objects defined within.
    • Method Detail

      • locateTable

        public Table locateTable​(Identifier logicalTableName)
        Returns the table with the specified logical table name.
        Parameters:
        logicalTableName - - the logical name of the table
        Returns:
        the table with the specified table name, or null if there is no table with the specified table name.
      • createTable

        public Table createTable​(Identifier logicalTableName,
                                 boolean isAbstract)
        Creates a mapping Table instance.
        Parameters:
        logicalTableName - The logical table name
        Returns:
        the created table.
      • createSequence

        public Sequence createSequence​(Identifier logicalName,
                                       int initialValue,
                                       int increment)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object