Interface ISqlJetTableDef

All Known Implementing Classes:
SqlJetTableDef

public interface ISqlJetTableDef
Table Definition.
Author:
TMate Software Ltd., Dmitry Stadnik (dtrace@seznam.cz)
  • Method Details

    • getName

      java.lang.String getName()
      Returns table name.
    • getQuotedName

      java.lang.String getQuotedName()
    • isTemporary

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

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

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

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

      java.util.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

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

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