Class Table

    • Constructor Detail

      • Table

        public Table​(Fragment root,
                     String name)
        Create a new Table with a name and an alias.
        Parameters:
        root - SQL statement this table belongs to
        name - table name
      • Table

        public Table​(Fragment root,
                     String name,
                     String alias)
        Create a new Table with a name and an alias.
        Parameters:
        root - SQL statement this table belongs to
        name - table name
        alias - table alias
    • Method Detail

      • getName

        public String getName()
        Get the name of the table
        Returns:
        table name
      • getAlias

        public String getAlias()
        Get the correlation name (i.e. an alias) of the table.
        Returns:
        correlation name
      • hasAlias

        public boolean hasAlias()
        Check if a correlation name (i.a. an alias) is present.
        Returns:
        true if a correlation name is present