public final class GroupCachedDBDataModel extends AbstractCacheDBDataModel
row_listcolumnInformations, connection, database, dialect, registedDBTableData, resultSet, shortcutRowCount, sql, statementNOT_CONTAINSCOLUMN_NAME_NOT_FOUND, EMPTY_DATAMODEL| 构造器和说明 |
|---|
GroupCachedDBDataModel(Connection database,
java.lang.String sql,
java.lang.String key_column_name) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getRowCount()
获取数据集模型的行数
注意:在调用了方法后,必须释放这个数据集
|
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex)
获取数据集模型中指定行列的数据
注意:在调用了方法后,必须释放这个数据集模型
|
protected boolean |
hasRow_alreadyCachedData(int rowIndex)
判断rowIndex对应的数据已经从数据库里面取出来的了
|
protected void |
hasRow_g(int columnIndex,
java.lang.Object v)
分组缓存的hasRow
|
protected boolean |
hasRow_validateRowIndex(int rowIndex)
检查行号是不是合法的
|
protected void |
initRowValueStatus() |
void |
release()
释放资源文件
|
hasRowfinalize, getColumnCount, getColumnName, initConnectionAndResultAndCheckInColumns, isCheckRowOver, iterateResultSet, iterateResultSet4Group, register, releaseConnection, setCheckRowOverState, setTimeoutSeconds, shortcutGetRowCount, tryDestroy, unRegistergetColumnIndex, getDataIterator, getIteratorDataByColumn, getMetricpublic GroupCachedDBDataModel(Connection database, java.lang.String sql, java.lang.String key_column_name)
public int getRowCount()
throws TableDataException
DataModelTableDataExceptionpublic java.lang.Object getValueAt(int rowIndex,
int columnIndex)
throws TableDataException
DataModelrowIndex - 行索引columnIndex - 列索引TableDataExceptionprotected boolean hasRow_validateRowIndex(int rowIndex)
AbstractCacheDBDataModelhasRow_validateRowIndex 在类中 AbstractCacheDBDataModelrowIndex - 行号protected boolean hasRow_alreadyCachedData(int rowIndex)
throws TableDataException
AbstractCacheDBDataModelhasRow_alreadyCachedData 在类中 AbstractCacheDBDataModelrowIndex - 行号TableDataExceptionprotected void hasRow_g(int columnIndex,
java.lang.Object v)
throws TableDataException
AbstractCacheDBDataModelhasRow_g 在类中 AbstractCacheDBDataModelcolumnIndex - 列号v - columnIndex对应的valueTableDataExceptionprotected void initRowValueStatus()
initRowValueStatus 在类中 AbstractDBDataModelpublic void release()
throws java.sql.SQLException
AbstractDBDataModelrelease 在接口中 DataModelrelease 在类中 AbstractDBDataModeljava.sql.SQLException