- java.lang.Object
-
- org.springframework.batch.item.ItemStreamSupport
-
- org.springframework.batch.item.support.AbstractItemStreamItemReader<T>
-
- org.springframework.batch.item.support.AbstractItemCountingItemStreamItemReader<T>
-
- org.springframework.batch.item.database.AbstractCursorItemReader<T>
-
- org.springframework.batch.item.database.JdbcCursorItemReader<String>
-
- org.springframework.cloud.task.jdbchdfs.common.NamedColumnJdbcItemReader
-
- All Implemented Interfaces:
- org.springframework.batch.item.ItemReader<String>, org.springframework.batch.item.ItemStream, org.springframework.batch.item.ItemStreamReader<String>, org.springframework.beans.factory.InitializingBean
public class NamedColumnJdbcItemReader
extends org.springframework.batch.item.database.JdbcCursorItemReader<String>
Reader which reads a row from a database as a delimited string from a
predefined list of column names.
- Author:
- Luke Taylor, Thomas Risberg, Michael Minella
-
-
Field Summary
-
Fields inherited from class org.springframework.batch.item.database.AbstractCursorItemReader
log, rs, VALUE_NOT_SET
-
Method Summary
-
Methods inherited from class org.springframework.batch.item.database.JdbcCursorItemReader
cleanupOnClose, getSql, openCursor, readCursor, setPreparedStatementSetter, setRowMapper, setSql
-
Methods inherited from class org.springframework.batch.item.database.AbstractCursorItemReader
applyStatementSettings, doClose, doOpen, doRead, getDataSource, getExceptionTranslator, handleWarnings, initializeConnection, isUseSharedExtendedConnection, jumpToItem, setDataSource, setDriverSupportsAbsolute, setFetchSize, setIgnoreWarnings, setMaxRows, setQueryTimeout, setUseSharedExtendedConnection, setVerifyCursorPosition
-
Methods inherited from class org.springframework.batch.item.support.AbstractItemCountingItemStreamItemReader
close, getCurrentItemCount, isSaveState, open, read, setCurrentItemCount, setMaxItemCount, setSaveState, update
-
Methods inherited from class org.springframework.batch.item.ItemStreamSupport
getExecutionContextKey, setExecutionContextName, setName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.