final class ProductPopularityReader extends JdbcCursorItemReader4EPJ<ProductPopularity> implements ProductVisitor
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
FROM_JOIN_CLAUSE |
private static java.lang.String |
ORDER_BY_CLAUSE |
static java.lang.String |
PRODUCT |
private static org.springframework.jdbc.core.RowMapper<ProductPopularity> |
ROW_MAPPER |
private static java.lang.String |
SELECT_CLAUSE |
static java.lang.String |
SHOP_PRODUCTS |
private static java.lang.String |
WHERE_CLAUSE |
Constructor and Description |
---|
ProductPopularityReader(DataSourceLookup dsLookup) |
Modifier and Type | Method and Description |
---|---|
void |
addToProduct(Product product) |
void |
open() |
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, update
private static final java.lang.String SELECT_CLAUSE
private static final java.lang.String FROM_JOIN_CLAUSE
private static final java.lang.String WHERE_CLAUSE
private static final java.lang.String ORDER_BY_CLAUSE
public static final java.lang.String SHOP_PRODUCTS
public static final java.lang.String PRODUCT
private static final org.springframework.jdbc.core.RowMapper<ProductPopularity> ROW_MAPPER
@Inject public ProductPopularityReader(DataSourceLookup dsLookup)
public void setReader(java.lang.String dsName, ProductReaderPreparedStatementSetter pstSetter)
setReader
in interface EPJItemStreamReader<ProductPopularity>
setReader
in interface ProductVisitor
setReader
in class JdbcCursorItemReader4EPJ<ProductPopularity>
public void addToProduct(Product product) throws java.lang.Exception
addToProduct
in interface ProductVisitor
java.lang.Exception
public void open()
open
in interface ProductVisitor