Class SqlTable


  • public class SqlTable
    extends SqlNode
    This class represents a SQL table.
    • Constructor Detail

      • SqlTable

        public SqlTable​(String name,
                        TableMetadata metadata)
        Instantiates a new Sql table.
        Parameters:
        name - the name
        metadata - the metadata
      • SqlTable

        public SqlTable​(String name,
                        String alias,
                        TableMetadata metadata)
        Instantiates a new Sql table.
        Parameters:
        name - the name
        alias - the alias
        metadata - the metadata
    • Method Detail

      • hasAlias

        public boolean hasAlias()
        Has alias boolean.
        Returns:
        the boolean
      • getName

        public String getName()
        Gets name.
        Returns:
        the name
      • getAlias

        public String getAlias()
        Gets alias.
        Returns:
        the alias
      • getMetadata

        public TableMetadata getMetadata()
        Gets metadata.
        Returns:
        the metadata