MVTable

A table stored in a MVStore.

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()
Mark the transaction as committed, so that the modification counter of the database is incremented.
void commit()
Mark the transaction as committed, so that the modification counter of the database is incremented.
DbException convertException(IllegalStateException e)
Convert the illegal state exception to a database exception.
DbException convertException(IllegalStateException e)
Convert the illegal state exception to a database exception.
Parameters:
e - the illegal state exception
Returns:
the database exception
boolean getContainsLargeObject()
boolean getContainsLargeObject()
long getDiskSpaceUsed()
long getDiskSpaceUsed()
ArrayList getIndexes()
ArrayList getIndexes()
String getMapName()
String getMapName()
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()
TransactionStore.Transaction getTransactionBegin()
Get a new transaction.
TransactionStore.Transaction getTransactionBegin()
Get a new transaction.
Returns:
the transaction
Index getUniqueIndex()
Index getUniqueIndex()
void init(Session session)
Initialize the table.
void init(Session session)
Initialize the table.
Parameters:
session - the session
boolean isDeterministic()
boolean isDeterministic()
boolean isLockedExclusively()
boolean isLockedExclusively()
boolean isLockedExclusivelyBy(Session session)
boolean isLockedExclusivelyBy(Session session)
boolean isMVStore()
boolean isMVStore()
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)
String toString()
String toString()
void truncate(Session session)
void truncate(Session session)
void unlock(Session s)
void unlock(Session s)

Fields
static DebuggingThreadLocal EXCLUSIVE_LOCKS
static DebuggingThreadLocal SHARED_LOCKS
static DebuggingThreadLocal WAITING_FOR_LOCK

EXCLUSIVE_LOCKS

The table names this thread has exclusively locked.

SHARED_LOCKS

The tables names this thread has a shared lock on.

WAITING_FOR_LOCK

The table name this thread is waiting to lock.