Class TableStatements

java.lang.Object
org.eclipse.dirigible.database.sql.TableStatements

public class TableStatements extends Object
Table object containing SQL statements needed to create it.
  • Constructor Details

    • TableStatements

      public TableStatements(String createTableStatement, Collection<String> createIndicesStatements)
      Instantiates a new table.
      Parameters:
      createTableStatement - the create table statement
      createIndicesStatements - the create indices statements
  • Method Details

    • getCreateTableStatement

      public String getCreateTableStatement()
      Gets the creates the table statement.
      Returns:
      the creates the table statement
    • getCreateIndicesStatements

      public Collection<String> getCreateIndicesStatements()
      Gets the creates the indices statements.
      Returns:
      the creates the indices statements
    • equals

      public boolean equals(Object o)
      Equals.
      Overrides:
      equals in class Object
      Parameters:
      o - the o
      Returns:
      true, if successful
    • hashCode

      public int hashCode()
      Hash code.
      Overrides:
      hashCode in class Object
      Returns:
      the int