Interface ISqlJetTableDef

All Known Implementing Classes:
SqlJetTableDef

public interface ISqlJetTableDef
Table Definition.
  • Method Details

    • getName

      String getName()
      Returns table name.
    • getQuotedName

      String getQuotedName()
    • isTemporary

      boolean isTemporary()
      True if table was created temporarily.
    • getColumns

      List<ISqlJetColumnDef> getColumns()
      Definitions of table columns.
    • getColumn

      ISqlJetColumnDef getColumn(String name)
      Returns column definition with a given name or null if there is no such definition.
    • getColumnNumber

      int getColumnNumber(String name)
      Returns position of the specified column within the table definition.
    • getConstraints

      List<ISqlJetTableConstraint> getConstraints()
      Returns all table constraints.
    • isRowIdPrimaryKey

      boolean isRowIdPrimaryKey()
      Returns true if primary key definition allows rowid to be used as primary key column. In practice this means that the table has primary key that is based in a single column of type 'integer'.
    • isAutoincremented

      boolean isAutoincremented()
      Returns true if primary key has 'autoincrement' keyword.
    • getPrimaryKeyIndexName

      String getPrimaryKeyIndexName()
      Returns:
      name of the primary key index.
    • toSQL

      String toSQL()
      Returns:
      SQL representation of this table schema definition.