Class GlueCursorBasedRowSetImpl
java.lang.Object
com.poscoict.glueframework.dao.vo.GlueCursorBasedRowSetImpl
- All Implemented Interfaces:
GlueCursorBasedRowSet<Object>,Iterable<Object>,Collection<Object>,List<Object>,SequencedCollection<Object>
GlueCursorBasedRowSet 구현체.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGlueCursorBasedRowSetImpl(Connection connection, Statement statement, JdbcTemplate jdbcTemplate, ResultSet rs, ResultSet cntRs) GlueCursorBasedRowSetImpl(ResultSet rs, ResultSet cntRs) -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.booleanDeprecated.booleanaddAll(int index, Collection<?> c) Deprecated.booleanaddAll(Collection<?> c) Deprecated.voidclear()booleanbooleancontainsAll(Collection<?> c) get(int index) Column Definition 정보를 얻는다.booleanhasNext()현재 커서 위치에서 다음 Row의 존재 여부를 확인한다.intbooleanisEmpty()iterator()intlistIterator(int index) next()현재 커서 위치에서 다음에 존재하는 Row를 얻는다.remove(int index) booleanbooleanremoveAll(Collection<?> c) voidreset()RowSet의 커서 위치를 처음으로 이동시킨다.booleanretainAll(Collection<?> c) voidsetColumnDefs(GlueColumnDef[] columnDefs) Column Definition 정보를 설정한다.voidsetFetchSize(int fetchSize) internal use only.voidsetJdbcTemplate(JdbcTemplate jdbcTemplate) internal use only.voidsetResource(Connection conn, Statement stmt) internal use only.voidsetRowMapper(RowMapper<?> rowMapper) internal use only.intsize()subList(int fromIndex, int toIndex) Object[]toArray()Object[]Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
addFirst, addLast, equals, getFirst, getLast, hashCode, removeFirst, removeLast, replaceAll, reversed, sort, spliterator
-
Field Details
-
columndefs
column definition
-
-
Constructor Details
-
GlueCursorBasedRowSetImpl
- Parameters:
rs-cntRs-
-
GlueCursorBasedRowSetImpl
public GlueCursorBasedRowSetImpl(Connection connection, Statement statement, JdbcTemplate jdbcTemplate, ResultSet rs, ResultSet cntRs) - Parameters:
connection-statement-jdbcTemplate-rs-cntRs-
-
-
Method Details
-
setResource
internal use only.- Parameters:
conn-stmt-
-
setJdbcTemplate
internal use only.- Parameters:
jdbcTemplate-
-
setRowMapper
internal use only.- Parameters:
rowMapper-
-
setFetchSize
public void setFetchSize(int fetchSize) internal use only.- Parameters:
fetchSize-
-
hasNext
public boolean hasNext()Description copied from interface:GlueCursorBasedRowSet현재 커서 위치에서 다음 Row의 존재 여부를 확인한다.- Specified by:
hasNextin interfaceGlueCursorBasedRowSet<Object>- Returns:
- Row가 존재하면 true
-
reset
public void reset()Description copied from interface:GlueCursorBasedRowSetRowSet의 커서 위치를 처음으로 이동시킨다.- Specified by:
resetin interfaceGlueCursorBasedRowSet<Object>
-
next
Description copied from interface:GlueCursorBasedRowSet현재 커서 위치에서 다음에 존재하는 Row를 얻는다.- Specified by:
nextin interfaceGlueCursorBasedRowSet<Object>- Returns:
- 현재 커서 위치에서 다음에 존재하는 Row
-
add
Deprecated. -
add
Deprecated. -
addAll
Deprecated. -
addAll
Deprecated. -
clear
public void clear() -
contains
-
containsAll
- Specified by:
containsAllin interfaceCollection<Object>- Specified by:
containsAllin interfaceList<Object>
-
get
-
indexOf
-
isEmpty
public boolean isEmpty() -
iterator
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<Object>
-
listIterator
- Specified by:
listIteratorin interfaceList<Object>
-
listIterator
- Specified by:
listIteratorin interfaceList<Object>
-
remove
-
remove
-
removeAll
-
retainAll
-
set
-
size
public int size() -
subList
-
toArray
-
toArray
-
getColumnDefs
Description copied from interface:GlueCursorBasedRowSetColumn Definition 정보를 얻는다.- Specified by:
getColumnDefsin interfaceGlueCursorBasedRowSet<Object>- Returns:
- Column Definition Array
-
setColumnDefs
Description copied from interface:GlueCursorBasedRowSetColumn Definition 정보를 설정한다.- Specified by:
setColumnDefsin interfaceGlueCursorBasedRowSet<Object>- Parameters:
columnDefs- GlueColumnDef Array
-