CacheDatabaseTable
represents a database table and its associated cache entries. It has an array of CacheDatabaseColumn
objects.
Keep it mind that ArrayList
and HashMap
are not synchronized...
CacheDatabaseTable.java の 51 行で定義されています。
Public メソッド | |
CacheDatabaseTable (DatabaseTable databaseTable) | |
String | getName () |
void | addColumn (CacheDatabaseColumn column) |
void | mergeColumns (CacheDatabaseTable t) throws SQLException |
ArrayList | getColumns () |
CacheDatabaseColumn | getColumn (String columnName) |
boolean | equals (Object other) |
synchronized void | addCacheEntry (CacheEntry ce) |
void | addPkCacheEntry (String pk, CacheEntry ce) |
ResultCacheEntry | getPkResultCacheEntry (String pk) |
void | removePkResultCacheEntry (Object pk) |
void | invalidateAll () |
synchronized void | invalidateAllExceptPk () |
String | getInformation (boolean longFormat) |
Private 変数 | |
String | name |
ArrayList | columns |
ArrayList | cacheEntries |
HashMap | pkCacheEntries |
|
Creates a new
参照先 org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.cacheEntries, org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.columns, org.objectweb.cjdbc.common.sql.schema.DatabaseTable.getColumns(), org.objectweb.cjdbc.common.sql.schema.DatabaseTable.getName(), org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.name, と org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.pkCacheEntries.
|
|
Adds a
参照先 org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.cacheEntries. 参照元 org.objectweb.cjdbc.controller.cache.result.ResultCacheTable.processAddToCache(), org.objectweb.cjdbc.controller.cache.result.ResultCacheColumnUnique.processAddToCache(), と org.objectweb.cjdbc.controller.cache.result.ResultCacheColumn.processAddToCache().
|
|
Adds a
Warning! The underlying
参照先 org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.columns. 参照元 org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.mergeColumns().
|
|
Adds a
参照先 org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.pkCacheEntries. 参照元 org.objectweb.cjdbc.controller.cache.result.ResultCacheColumnUnique.processAddToCache().
|
|
Two
参照先 org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.columns, org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.getColumns(), org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.getName(), と org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.name.
|
|
|
Returns a list of
Warning! The underlying
参照先 org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.columns. 参照元 org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.equals(), org.objectweb.cjdbc.controller.cache.result.ResultCacheColumnUnique.processAddToCache(), と org.objectweb.cjdbc.controller.cache.result.ResultCacheColumn.processAddToCache().
|
|
Returns information about the database table and its columns.
参照先 org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.columns, org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseColumn.getInformation(), と org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.name. 参照元 org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseSchema.getInformation().
|
|
Gets the name of the table.
参照先 org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.name. 参照元 org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.equals(), org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseSchema.getTable(), org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseSchema.hasTable(), org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseSchema.mergeSchema(), と org.objectweb.cjdbc.controller.cache.result.ResultCache.setDatabaseSchema().
|
|
Gets a
参照先 org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.pkCacheEntries. 参照元 org.objectweb.cjdbc.controller.cache.result.ResultCacheColumnUnique.isUpdateNecessary(), org.objectweb.cjdbc.controller.cache.result.ResultCacheColumnUnique.processAddToCache(), と org.objectweb.cjdbc.controller.cache.result.ResultCacheColumnUnique.processWriteNotify().
|
|
Invalidates all cache entries of every column of this table. This does also affect the entries based on pk values. CacheDatabaseTable.java の 240 行で定義されています。 参照先 org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.cacheEntries, org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.columns, と org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.pkCacheEntries. 参照元 org.objectweb.cjdbc.controller.cache.result.ResultCacheTable.processWriteNotify(), org.objectweb.cjdbc.controller.cache.result.ResultCacheColumnUnique.processWriteNotify(), org.objectweb.cjdbc.controller.cache.result.ResultCacheColumn.processWriteNotify(), org.objectweb.cjdbc.controller.cache.result.ResultCache.setDatabaseSchema(), と org.objectweb.cjdbc.controller.cache.result.ResultCache.writeNotify().
|
|
Invalidates all cache entries of every column of this table. This does not affect the entries based on pk values. CacheDatabaseTable.java の 262 行で定義されています。 参照先 org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.cacheEntries, org.objectweb.cjdbc.common.sql.AbstractRequest.getCacheAbility(), org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntry.getRequest(), と org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntry.invalidate().
|
|
Merge the given table's columns with the current table. All missing columns are added if no conflict is detected. An exception is thrown if the given table columns conflicts with the current one.
参照先 org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.addColumn(), org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseColumn.equals(), org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.getColumn(), と org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseColumn.getName(). 参照元 org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseSchema.mergeSchema().
|
|
Remove a
参照先 org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntry.invalidate(), と org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.pkCacheEntries. 参照元 org.objectweb.cjdbc.controller.cache.result.ResultCacheColumnUnique.processWriteNotify().
|
|
CacheDatabaseTable.java の 55 行で定義されています。 参照元 org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.addCacheEntry(), org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.CacheDatabaseTable(), org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.invalidateAll(), と org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.invalidateAllExceptPk(). |
|
CacheDatabaseTable.java の 54 行で定義されています。 参照元 org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.addColumn(), org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.CacheDatabaseTable(), org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.equals(), org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.getColumn(), org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.getColumns(), org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.getInformation(), と org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.invalidateAll(). |
|
CacheDatabaseTable.java の 53 行で定義されています。 参照元 org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.CacheDatabaseTable(), org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.equals(), org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.getInformation(), と org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.getName(). |
|
CacheDatabaseTable.java の 56 行で定義されています。 参照元 org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.addPkCacheEntry(), org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.CacheDatabaseTable(), org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.getPkResultCacheEntry(), org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.invalidateAll(), と org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.removePkResultCacheEntry(). |