private static final class MoneyAttributeReader.Reader extends JdbcCursorItemReader4EPJ<Attribute<Money>>
Modifier and Type | Field and Description |
---|---|
static SimpleKey |
LIST_PRICE |
private GrossPriceCalculator |
priceCalculator |
static java.lang.String |
PRODUCT_SQL |
private static org.springframework.jdbc.core.RowMapper<Attribute<Money>> |
ROW_MAPPER |
static java.lang.String |
SHOP_SQL |
static java.lang.String |
SQL |
Constructor and Description |
---|
Reader(DataSourceLookup dataSourceLookup,
GrossPriceCalculator priceCalculator) |
Modifier and Type | Method and Description |
---|---|
private static java.lang.String |
getSQL(ProductReaderPreparedStatementSetter pstSetter) |
void |
setReader(java.lang.String dsName,
ProductReaderPreparedStatementSetter pstSetter) |
getVariationId, setIgnoreWarnings, setReader
afterPropertiesSet, cleanupOnClose, getSql, openCursor, readCursor, setPreparedStatementSetter, setRowMapper, setSql
applyStatementSettings, doClose, doOpen, doRead, getDataSource, getExceptionTranslator, handleWarnings, initializeConnection, isUseSharedExtendedConnection, jumpToItem, setDataSource, setDriverSupportsAbsolute, setFetchSize, setMaxRows, setQueryTimeout, setUseSharedExtendedConnection, setVerifyCursorPosition
close, getCurrentItemCount, isSaveState, open, read, setCurrentItemCount, setMaxItemCount, setSaveState, update
getExecutionContextKey, setExecutionContextName, setName
public static final SimpleKey LIST_PRICE
private static final org.springframework.jdbc.core.RowMapper<Attribute<Money>> ROW_MAPPER
public static final java.lang.String SQL
public static final java.lang.String SHOP_SQL
public static final java.lang.String PRODUCT_SQL
private GrossPriceCalculator priceCalculator
public Reader(DataSourceLookup dataSourceLookup, GrossPriceCalculator priceCalculator)
public void setReader(java.lang.String dsName, ProductReaderPreparedStatementSetter pstSetter)
setReader
in interface EPJItemStreamReader<Attribute<Money>>
setReader
in class JdbcCursorItemReader4EPJ<Attribute<Money>>
private static java.lang.String getSQL(ProductReaderPreparedStatementSetter pstSetter)