RegularTable

Most tables are an instance of this class. For this table, the data is stored in the database. The actual data is not kept here, instead it is kept in the indexes. There is at least one index, the scan index.

Methods
Index addIndex(Session session, String indexName, int indexId, IndexColumn[] cols, IndexType indexType, boolean create, String indexComment)
Index addIndex(Session session, String indexName, int indexId, IndexColumn[] cols, IndexType indexType, boolean create, String indexComment)
void addRow(Session session, Row row)
void addRow(Session session, Row row)
boolean canDrop()
boolean canDrop()
boolean canGetRowCount()
boolean canGetRowCount()
boolean canTruncate()
boolean canTruncate()
ArrayList checkDeadlock(Session session, Session clash, Set visited)
ArrayList checkDeadlock(Session session, Session clash, Set visited)
void checkRename()
void checkRename()
void checkSupportAlter()
void checkSupportAlter()
void close(Session session)
void close(Session session)
void commit(short operation, Row row)
void commit(short operation, Row row)
boolean getContainsLargeObject()
boolean getContainsLargeObject()
long getDiskSpaceUsed()
long getDiskSpaceUsed()
ArrayList getIndexes()
ArrayList getIndexes()
long getMaxDataModificationId()
long getMaxDataModificationId()
Row getRow(Session session, long key)
Row getRow(Session session, long key)
long getRowCount(Session session)
long getRowCount(Session session)
long getRowCountApproximation()
long getRowCountApproximation()
Column getRowIdColumn()
Column getRowIdColumn()
Index getScanIndex(Session session)
Index getScanIndex(Session session)
TableType getTableType()
TableType getTableType()
Index getUniqueIndex()
Index getUniqueIndex()
boolean isDeterministic()
boolean isDeterministic()
boolean isLockedExclusively()
boolean isLockedExclusively()
boolean isLockedExclusivelyBy(Session session)
boolean isLockedExclusivelyBy(Session session)
boolean lock(Session session, boolean exclusive, boolean forceLockEvenInMvcc)
boolean lock(Session session, boolean exclusive, boolean forceLockEvenInMvcc)
void removeChildrenAndResources(Session session)
void removeChildrenAndResources(Session session)
void removeRow(Session session, Row row)
void removeRow(Session session, Row row)
void setCompareMode(CompareMode compareMode)
void setCompareMode(CompareMode compareMode)
void setRowCount(long count)
Set the row count of this table.
void setRowCount(long count)
Set the row count of this table.
Parameters:
count - the row count
String toString()
String toString()
void truncate(Session session)
void truncate(Session session)
void unlock(Session s)
void unlock(Session s)