Uses of Class
org.springframework.batch.item.database.builder.StoredProcedureItemReaderBuilder
Packages that use StoredProcedureItemReaderBuilder
Package
Description
Builders for database item readers and writers.
-
Uses of StoredProcedureItemReaderBuilder in org.springframework.batch.item.database.builder
Methods in org.springframework.batch.item.database.builder that return StoredProcedureItemReaderBuilderModifier and TypeMethodDescriptionStoredProcedureItemReaderBuilder.currentItemCount(int currentItemCount) Index for the current item.StoredProcedureItemReaderBuilder.dataSource(DataSource dataSource) TheDataSourceto read fromStoredProcedureItemReaderBuilder.driverSupportsAbsolute(boolean driverSupportsAbsolute) Indicates if the JDBC driver supports setting the absolute row on theResultSet.StoredProcedureItemReaderBuilder.fetchSize(int fetchSize) A hint to the driver as to how many rows to return with each fetch.StoredProcedureItemReaderBuilder.function()Indicates the stored procedure is a functionStoredProcedureItemReaderBuilder.ignoreWarnings(boolean ignoreWarnings) Indicates if SQL warnings should be ignored or if an exception should be thrown.StoredProcedureItemReaderBuilder.maxItemCount(int maxItemCount) Configure the max number of items to be read.StoredProcedureItemReaderBuilder.maxRows(int maxRows) The max number of rows theResultSetcan containThe name used to calculate the key within theExecutionContext.StoredProcedureItemReaderBuilder.parameters(org.springframework.jdbc.core.SqlParameter... parameters) SQL parameters to be set when executing the stored procedureStoredProcedureItemReaderBuilder.preparedStatementSetter(org.springframework.jdbc.core.PreparedStatementSetter preparedStatementSetter) Configures the providedPreparedStatementSetterto be used to populate any arguments in the SQL query to be executed for the reader.StoredProcedureItemReaderBuilder.procedureName(String procedureName) The name of the stored procedure to executeStoredProcedureItemReaderBuilder.queryTimeout(int queryTimeout) The time in milliseconds for the query to timeoutStoredProcedureItemReaderBuilder.refCursorPosition(int refCursorPosition) The parameter position of the REF CURSOR.TheRowMapperused to map the results of the cursor to each item.StoredProcedureItemReaderBuilder.saveState(boolean saveState) Configure if the state of theItemStreamSupportshould be persisted within theExecutionContextfor restart purposes.StoredProcedureItemReaderBuilder.useSharedExtendedConnection(boolean useSharedExtendedConnection) Indicates that the connection used for the cursor is being used by all other processing, therefor part of the same transaction.StoredProcedureItemReaderBuilder.verifyCursorPosition(boolean verifyCursorPosition) Indicates if the reader should verify the current position of theResultSetafter being passed to theRowMapper.