Uses of Class
org.mybatis.spring.batch.builder.MyBatisPagingItemReaderBuilder
| Package | Description |
|---|---|
| org.mybatis.spring.batch.builder |
Contains classes to builder classes for
ItemReader and
ItemWriter. |
-
Uses of MyBatisPagingItemReaderBuilder in org.mybatis.spring.batch.builder
Methods in org.mybatis.spring.batch.builder that return MyBatisPagingItemReaderBuilder Modifier and Type Method Description MyBatisPagingItemReaderBuilder<T>MyBatisPagingItemReaderBuilder. maxItemCount(int maxItemCount)Configure the max number of items to be read.MyBatisPagingItemReaderBuilder<T>MyBatisPagingItemReaderBuilder. pageSize(int pageSize)The number of records to request per page/query.MyBatisPagingItemReaderBuilder<T>MyBatisPagingItemReaderBuilder. parameterValues(Map<String,Object> parameterValues)Set the parameter values to be used for the query execution.MyBatisPagingItemReaderBuilder<T>MyBatisPagingItemReaderBuilder. parameterValuesSupplier(Supplier<Map<String,Object>> parameterValuesSupplier)Set the parameter supplier to be used to get parameters for the query execution.MyBatisPagingItemReaderBuilder<T>MyBatisPagingItemReaderBuilder. queryId(String queryId)Set the query id identifying the statement in the SqlMap configuration file.MyBatisPagingItemReaderBuilder<T>MyBatisPagingItemReaderBuilder. saveState(boolean saveState)Configure if the state of theItemStreamSupportshould be persisted within theExecutionContextfor restart purposes.MyBatisPagingItemReaderBuilder<T>MyBatisPagingItemReaderBuilder. sqlSessionFactory(org.apache.ibatis.session.SqlSessionFactory sqlSessionFactory)Set theSqlSessionFactoryto be used by writer for database access.