public class SqlMapClientRowHandler extends Object implements com.ibatis.sqlmap.client.event.RowHandler
아래와 같은 형식으로 처리하며, 쿼리가 실행한 후 남아 있는 데이터가 존재할 수 있기 때문에 전송되지 않은 데이터를 전송한다.
SqlMapClientRowHandler rowHandler = new SqlMapClientRowHandler(firstRowHandler, sendName, firstRowCount);
getSqlMapClientTemplate().queryWithRowHandler("largeDataDAO.selectLargeData", null, rowHandler);
// send remain data..
rowHandler.sendRemainData();
| Constructor and Description |
|---|
SqlMapClientRowHandler(com.nexacro.spring.data.NexacroFirstRowHandler firstRowHandler,
String resultName,
int firstRowCount) |
| Modifier and Type | Method and Description |
|---|---|
com.nexacro.xapi.data.DataSet |
getDataSet() |
void |
handleRow(Object valueObject) |
void |
sendRemainData()
데이터 분할 전송 후 남아 있는 데이터를 전송한다.
|
public SqlMapClientRowHandler(com.nexacro.spring.data.NexacroFirstRowHandler firstRowHandler,
String resultName,
int firstRowCount)
public void handleRow(Object valueObject)
handleRow in interface com.ibatis.sqlmap.client.event.RowHandlerpublic void sendRemainData()
public com.nexacro.xapi.data.DataSet getDataSet()
Copyright © 2025. All rights reserved.