Uses of Class
org.mybatis.spring.batch.builder.MyBatisCursorItemReaderBuilder
Packages that use MyBatisCursorItemReaderBuilder
Package
Description
Contains classes to builder classes for
ItemReader and
ItemWriter.-
Uses of MyBatisCursorItemReaderBuilder in org.mybatis.spring.batch.builder
Methods in org.mybatis.spring.batch.builder that return MyBatisCursorItemReaderBuilderModifier and TypeMethodDescriptionMyBatisCursorItemReaderBuilder.maxItemCount(int maxItemCount) Configure the max number of items to be read.MyBatisCursorItemReaderBuilder.parameterValues(Map<String, Object> parameterValues) Set the parameter values to be used for the query execution.MyBatisCursorItemReaderBuilder.parameterValuesSupplier(Supplier<Map<String, Object>> parameterValuesSupplier) Set the parameter supplier to be used to get parameters for the query execution.Set the query id identifying the statement in the SqlMap configuration file.MyBatisCursorItemReaderBuilder.saveState(boolean saveState) Configure if the state of theItemStreamSupportshould be persisted within theExecutionContextfor restart purposes.MyBatisCursorItemReaderBuilder.sqlSessionFactory(org.apache.ibatis.session.SqlSessionFactory sqlSessionFactory) Set theSqlSessionFactoryto be used by reader for database access.