Class GlueRowSetImpl
java.lang.Object
- All Implemented Interfaces:
GlueRowSet<GlueRow<String,,Object>> Serializable,Cloneable,Iterable<GlueRow<String,,Object>> Collection<GlueRow<String,,Object>> List<GlueRow<String,,Object>> RandomAccess,SequencedCollection<GlueRow<String,Object>>
- Direct Known Subclasses:
GluePageSetImpl
public class GlueRowSetImpl
extends ArrayList<GlueRow<String,Object>>
implements GlueRowSet<GlueRow<String,Object>>
Database 테이블의 복수 개의 레코드를 표현하는 Value Object. 복수 개의 레코드는 하나의
GlueRowSetImpl 오브젝트로 표현된다.
- See Also:
-
Field Summary
FieldsFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
ConstructorsConstructorDescription생성자(constructor).GlueRowSetImpl(int initialCapacity) 생성자(constructor).GlueRowSetImpl(List<GlueRow<String, Object>> rows) 생성자(constructor). -
Method Summary
Modifier and TypeMethodDescriptionintcount()현재 RowSet의 Row 개수를 얻는다.현재 RowSet의 모든 Row를 얻는다.Column Definition 정보를 얻는다.booleanhasNext()현재 커서 위치에서 다음 Row의 존재 여부를 확인한다.boolean현재 커서 위치에서 그 전의 Row 존재 여부를 확인한다.next()현재 커서 위치에서 다음에 존재하는 Row를 얻는다.previous()현재 커서 위치에서 바로 전에 존재하는 Row를 얻는다.voidreset()RowSet의 커서 위치를 처음으로 이동시킨다.voidsetColumnDefs(GlueColumnDef[] columnDefs) Column Definition 정보를 설정한다.Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, ensureCapacity, equals, forEach, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeIf, removeLast, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
add, add, addAll, addAll, addFirst, addLast, clear, contains, containsAll, equals, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, set, size, sort, spliterator, subList, toArray, toArray
-
Field Details
-
columndefs
column definition
-
-
Constructor Details
-
GlueRowSetImpl
public GlueRowSetImpl()생성자(constructor). -
GlueRowSetImpl
public GlueRowSetImpl(int initialCapacity) 생성자(constructor).- Parameters:
initialCapacity-
-
GlueRowSetImpl
생성자(constructor).- Parameters:
rows-
-
-
Method Details
-
hasNext
public boolean hasNext()Description copied from interface:GlueRowSet현재 커서 위치에서 다음 Row의 존재 여부를 확인한다.- Specified by:
hasNextin interfaceGlueRowSet<GlueRow<String,Object>> - Returns:
- Row가 존재하면 true
-
hasPrevious
public boolean hasPrevious()Description copied from interface:GlueRowSet현재 커서 위치에서 그 전의 Row 존재 여부를 확인한다.- Specified by:
hasPreviousin interfaceGlueRowSet<GlueRow<String,Object>> - Returns:
- Row가 존재하면 true
-
reset
public void reset()Description copied from interface:GlueRowSetRowSet의 커서 위치를 처음으로 이동시킨다.- Specified by:
resetin interfaceGlueRowSet<GlueRow<String,Object>>
-
next
Description copied from interface:GlueRowSet현재 커서 위치에서 다음에 존재하는 Row를 얻는다.- Specified by:
nextin interfaceGlueRowSet<GlueRow<String,Object>> - Returns:
- 현재 커서 위치에서 다음에 존재하는 Row
-
previous
Description copied from interface:GlueRowSet현재 커서 위치에서 바로 전에 존재하는 Row를 얻는다.- Specified by:
previousin interfaceGlueRowSet<GlueRow<String,Object>> - Returns:
- 현재 커서 위치에서 바로 전에 존재하는 Row
-
count
public int count()Description copied from interface:GlueRowSet현재 RowSet의 Row 개수를 얻는다.- Specified by:
countin interfaceGlueRowSet<GlueRow<String,Object>> - Returns:
- Row 개수 (레코드 개수)
-
getAllRow
Description copied from interface:GlueRowSet현재 RowSet의 모든 Row를 얻는다.- Specified by:
getAllRowin interfaceGlueRowSet<GlueRow<String,Object>> - Returns:
- Row Array
-
getColumnDefs
Description copied from interface:GlueRowSetColumn Definition 정보를 얻는다.- Specified by:
getColumnDefsin interfaceGlueRowSet<GlueRow<String,Object>> - Returns:
- Column Definition Array
-
setColumnDefs
Description copied from interface:GlueRowSetColumn Definition 정보를 설정한다.- Specified by:
setColumnDefsin interfaceGlueRowSet<GlueRow<String,Object>> - Parameters:
columnDefs- GlueColumnDef Array
-