public abstract class AbstractLayerDBDataModel extends AbstractDBDataModel
columnInformations, connection, database, dialect, registedDBTableData, resultSet, shortcutRowCount, sql, statementNOT_CONTAINSCOLUMN_NAME_NOT_FOUND, EMPTY_DATAMODEL| 构造器和说明 |
|---|
AbstractLayerDBDataModel(Connection database,
java.lang.String sql) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
dealWithException(java.lang.Exception exp,
int rowIndex) |
DataQueryProcessor |
getDataQueryProcessor() |
int |
getRowCount()
获取数据集模型的行数
注意:在调用了方法后,必须释放这个数据集
|
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex)
获取数据集模型中指定行列的数据
注意:在调用了方法后,必须释放这个数据集模型
|
protected abstract void |
hasRow_3rd_condition_action(int rowIndex) |
protected boolean |
hasRow_3rd_condition(int rowIndex) |
protected abstract void |
hasRow_after_iterate_resultset(int rowIndex) |
protected abstract boolean |
hasRow_isLastRow(int rowIndex) |
protected abstract int |
hasRow_rowIndex2Get(int rowIndex) |
boolean |
hasRow(int rowIndex)
检查数据集是否存在指定索引的行
|
protected void |
initRowValueStatus() |
void |
setDataQueryProcessor(DataQueryProcessor dataQueryProcessor) |
protected int |
shortcutGetRowCount() |
finalize, getColumnCount, getColumnName, initConnectionAndResultAndCheckInColumns, isCheckRowOver, iterateResultSet, iterateResultSet4Group, register, release, releaseConnection, setCheckRowOverState, setTimeoutSeconds, tryDestroy, unRegistergetColumnIndex, getDataIterator, getIteratorDataByColumn, getMetricpublic AbstractLayerDBDataModel(Connection database, java.lang.String sql)
protected void initRowValueStatus()
initRowValueStatus 在类中 AbstractDBDataModelpublic java.lang.Object getValueAt(int rowIndex,
int columnIndex)
throws TableDataException
DataModelrowIndex - 行索引columnIndex - 列索引TableDataExceptionpublic int getRowCount()
throws TableDataException
DataModelTableDataExceptionprotected abstract int hasRow_rowIndex2Get(int rowIndex)
protected boolean hasRow_3rd_condition(int rowIndex)
protected abstract void hasRow_3rd_condition_action(int rowIndex)
throws TableDataException
protected abstract boolean hasRow_isLastRow(int rowIndex)
protected abstract void hasRow_after_iterate_resultset(int rowIndex)
public DataQueryProcessor getDataQueryProcessor()
public void setDataQueryProcessor(DataQueryProcessor dataQueryProcessor)
public boolean hasRow(int rowIndex)
throws TableDataException
AbstractDataModelhasRow 在接口中 DataModelhasRow 在类中 AbstractDataModelrowIndex - 行的索引,第一行为0,第二行为1,依此类推TableDataExceptionprotected int shortcutGetRowCount()
protected void dealWithException(java.lang.Exception exp,
int rowIndex)
throws TableDataException