Class SqlMapClientRowHandler
java.lang.Object
com.nexacro.uiadapter17.jakarta.dao.ibatis.SqlMapClientRowHandler
- All Implemented Interfaces:
com.ibatis.sqlmap.client.event.RowHandler
public class SqlMapClientRowHandler
extends Object
implements com.ibatis.sqlmap.client.event.RowHandler
ibatis를 사용하여 nexacro platform으로 대용량 데이터를 전송하려고 할때 사용되는 RowHandler 이다.
아래와 같은 형식으로 처리하며, 쿼리가 실행한 후 남아 있는 데이터가 존재할 수 있기 때문에 전송되지 않은 데이터를 전송한다.
SqlMapClientRowHandler rowHandler = new SqlMapClientRowHandler(firstRowHandler, sendName, firstRowCount);
getSqlMapClientTemplate().queryWithRowHandler("largeDataDAO.selectLargeData", null, rowHandler);
// send remain data..
rowHandler.sendRemainData();
- Since:
- 08.17.2015
- Version:
- 1.0
- Author:
- Park SeongMin
-
Constructor Summary
ConstructorsConstructorDescriptionSqlMapClientRowHandler(com.nexacro.uiadapter17.jakarta.core.data.NexacroFirstRowHandler firstRowHandler, String resultName, int firstRowCount) -
Method Summary
Modifier and TypeMethodDescriptioncom.nexacro17.xapi.data.DataSetvoidvoid데이터 분할 전송 후 남아 있는 데이터를 전송한다.
-
Constructor Details
-
SqlMapClientRowHandler
public SqlMapClientRowHandler(com.nexacro.uiadapter17.jakarta.core.data.NexacroFirstRowHandler firstRowHandler, String resultName, int firstRowCount)
-
-
Method Details
-
handleRow
- Specified by:
handleRowin interfacecom.ibatis.sqlmap.client.event.RowHandler
-
sendRemainData
public void sendRemainData()데이터 분할 전송 후 남아 있는 데이터를 전송한다. -
getDataSet
public com.nexacro17.xapi.data.DataSet getDataSet()
-