Class TableMetadata


  • public class TableMetadata
    extends Object
    Represents the metadata of an EXASOL table.
    • Constructor Detail

      • TableMetadata

        public TableMetadata​(String name,
                             String adapterNotes,
                             List<ColumnMetadata> columns,
                             String comment)
        Instantiates a new Table metadata.
        Parameters:
        name - the name
        adapterNotes - the adapter notes
        columns - the columns
        comment - the comment
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getName

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

        public String getAdapterNotes()
        Gets adapter notes.
        Returns:
        the adapter notes
      • getColumns

        public List<ColumnMetadata> getColumns()
        Gets columns.
        Returns:
        the columns
      • getComment

        public String getComment()
        Gets comment.
        Returns:
        the comment
      • hasComment

        public boolean hasComment()
        Has comment boolean.
        Returns:
        the boolean
      • hasAdapterNote

        public boolean hasAdapterNote()
        Has adapter note boolean.
        Returns:
        the boolean
      • describe

        public String describe()
        Create a human-readable short description of the table
        Returns:
        short description