public abstract class AbstractCacheDBDataModel extends AbstractDBDataModel
| 限定符和类型 | 字段和说明 |
|---|---|
protected java.util.List |
row_list |
columnInformations, connection, database, dialect, registedDBTableData, resultSet, shortcutRowCount, sql, statementNOT_CONTAINSCOLUMN_NAME_NOT_FOUND, EMPTY_DATAMODEL| 构造器和说明 |
|---|
AbstractCacheDBDataModel(Connection database,
java.lang.String sql)
初始化一个AbstractCacheDBDataModel
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract boolean |
hasRow_alreadyCachedData(int rowIndex)
判断rowIndex对应的数据已经从数据库里面取出来的了
|
protected void |
hasRow_g(int columnIndex,
java.lang.Object value)
分组缓存的hasRow
|
protected boolean |
hasRow_validateRowIndex(int rowIndex)
检查行号是不是合法的
|
boolean |
hasRow(int rowIndex)
判断Model是否包含所查询的列
|
finalize, getColumnCount, getColumnName, initConnectionAndResultAndCheckInColumns, initRowValueStatus, isCheckRowOver, iterateResultSet, iterateResultSet4Group, register, release, releaseConnection, setCheckRowOverState, setTimeoutSeconds, shortcutGetRowCount, tryDestroy, unRegistergetColumnIndex, getDataIterator, getIteratorDataByColumn, getMetricclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRowCount, getValueAtpublic AbstractCacheDBDataModel(Connection database, java.lang.String sql)
database - 数据连接sql - SQL语句public boolean hasRow(int rowIndex)
throws TableDataException
hasRow 在接口中 DataModelhasRow 在类中 AbstractDataModelrowIndex - 查询的列序号TableDataExceptionprotected boolean hasRow_validateRowIndex(int rowIndex)
rowIndex - 行号protected abstract boolean hasRow_alreadyCachedData(int rowIndex)
throws TableDataException
rowIndex - 行号TableDataExceptionprotected void hasRow_g(int columnIndex,
java.lang.Object value)
throws TableDataException
columnIndex - 列号value - columnIndex对应的valueTableDataException