|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hsqldb.BaseTable org.hsqldb.Table
Field Summary | |
protected org.hsqldb.Cache |
cache
|
static int |
CACHED_TABLE
|
protected Database |
database
|
protected int |
iColumnCount
|
protected int |
indexType
|
protected boolean |
isCached
|
protected boolean |
isReadOnly
|
protected boolean |
isTemp
|
protected int |
iVisibleColumns
|
static int |
MEMORY_TABLE
|
protected int |
ownerSessionId
|
static int |
SYSTEM_SUBQUERY
|
static int |
SYSTEM_TABLE
|
protected org.hsqldb.HsqlNameManager.HsqlName |
tableName
|
protected int |
tableType
|
static int |
TEMP_TABLE
|
static int |
TEMP_TEXT_TABLE
|
static int |
TEXT_TABLE
|
HashMappedList |
vColumn
|
static int |
VIEW
|
Method Summary | |
protected Table |
duplicate()
|
protected void |
enforceCheckConstraints(Object[] data)
Checks a row against NOT NULL constraints on columns. |
int |
getColumnCount()
Method declaration |
int[] |
getColumnTypes()
Method declaration |
protected String |
getDataSource()
|
protected org.hsqldb.Index |
getIndex(int i)
Method declaration |
org.hsqldb.HsqlNameManager.HsqlName |
getName()
Method declaration |
int |
getTableType()
|
boolean |
hasPrimaryKey()
|
protected void |
insertNoChange(org.hsqldb.CachedDataRow r)
Used by TextCache to insert a row into the indexes when the source file is first read. |
void |
insertNoCheck(Object[] row,
Session c,
boolean log)
Low level method for row insert. |
boolean |
isDataReadOnly()
|
protected boolean |
isDescDataSource()
|
boolean |
isReadOnly()
|
boolean |
isTemp()
|
boolean |
isText()
|
protected void |
setDataSource(String source,
boolean isDesc,
Session s,
boolean newFile)
|
protected void |
setIdentityColumn(Object[] row,
Session c)
If there is an identity column (visible or hidden) on the table, sets the value and/or adjusts the iIdentiy value for the table. |
Methods inherited from class org.hsqldb.BaseTable |
iterator |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int SYSTEM_TABLE
public static final int SYSTEM_SUBQUERY
public static final int TEMP_TABLE
public static final int MEMORY_TABLE
public static final int CACHED_TABLE
public static final int TEMP_TEXT_TABLE
public static final int TEXT_TABLE
public static final int VIEW
public HashMappedList vColumn
protected int iColumnCount
protected int iVisibleColumns
protected Database database
protected org.hsqldb.Cache cache
protected org.hsqldb.HsqlNameManager.HsqlName tableName
protected int tableType
protected int ownerSessionId
protected boolean isReadOnly
protected boolean isTemp
protected boolean isCached
protected int indexType
Method Detail |
public final boolean isText()
public final boolean isTemp()
public final boolean isReadOnly()
public final int getTableType()
public final boolean isDataReadOnly()
protected void setDataSource(String source, boolean isDesc, Session s, boolean newFile) throws HsqlException
HsqlException
protected String getDataSource()
protected boolean isDescDataSource()
public org.hsqldb.HsqlNameManager.HsqlName getName()
protected Table duplicate() throws HsqlException
HsqlException
public int getColumnCount()
public boolean hasPrimaryKey()
public void insertNoCheck(Object[] row, Session c, boolean log) throws HsqlException
HsqlException
protected void insertNoChange(org.hsqldb.CachedDataRow r) throws HsqlException
HsqlException
protected void enforceCheckConstraints(Object[] data) throws HsqlException
HsqlException
protected void setIdentityColumn(Object[] row, Session c) throws HsqlException
HsqlException
public int[] getColumnTypes()
protected org.hsqldb.Index getIndex(int i)
i
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |