Package | Description |
---|---|
org.mybatis.spring.batch.builder |
Contains classes to builder classes for
ItemReader and
ItemWriter . |
Modifier and Type | Method and Description |
---|---|
MyBatisCursorItemReaderBuilder<T> |
MyBatisCursorItemReaderBuilder.maxItemCount(int maxItemCount)
Configure the max number of items to be read.
|
MyBatisCursorItemReaderBuilder<T> |
MyBatisCursorItemReaderBuilder.parameterValues(Map<String,Object> parameterValues)
Set the parameter values to be used for the query execution.
|
MyBatisCursorItemReaderBuilder<T> |
MyBatisCursorItemReaderBuilder.queryId(String queryId)
Set the query id identifying the statement in the SqlMap configuration file.
|
MyBatisCursorItemReaderBuilder<T> |
MyBatisCursorItemReaderBuilder.saveState(boolean saveState)
Configure if the state of the
ItemStreamSupport should
be persisted within the ExecutionContext for restart
purposes. |
MyBatisCursorItemReaderBuilder<T> |
MyBatisCursorItemReaderBuilder.sqlSessionFactory(org.apache.ibatis.session.SqlSessionFactory sqlSessionFactory)
Set the
SqlSessionFactory to be used by reader for database access. |
Copyright © 2010–2019 MyBatis.org. All rights reserved.