E
- 型パラメータ@Published(tag="architect") public class DeferredEntityList<E> extends EntityList<E>
DeferredEntityList.close()
メソッドを使用し、リソース解放を行うこと。
検索結果は、DeferredEntityList.iterator()
で取得したjava.util.Iterator
を用いて取得する。
java.util.Iterator#next()
を呼び出したタイミングで、
java.sql.ResultSet#next()
を呼び出し次レコードの値を返却する。
DeferredEntityList.iterator()
の複数回呼び出しはサポートしない。
これは、java.sql.ResultSet#TYPE_FORWARD_ONLY
のカーソルしかサポートしないため、
一度読み込んだレコードを再度読み込むことは出来ないためである。
本クラスでは、DeferredEntityList.iterator()
のみサポートする。
これ以外のメソッドが呼び出された場合は、java.lang.UnsupportedOperationException
を送出する。コンストラクタと説明 |
---|
DeferredEntityList(Class<E> entityClass,
nablarch.common.dao.SqlResourceHolder resourceHolder)
遅延EntityListを生成する。
|
修飾子とタイプ | メソッドと説明 |
---|---|
boolean |
add(E e)
非推奨です。
|
boolean |
addAll(Collection<? extends E> c)
非推奨です。
|
void |
clear()
非推奨です。
|
void |
close() |
boolean |
contains(Object o)
非推奨です。
|
boolean |
containsAll(Collection<?> c)
非推奨です。
|
void |
ensureCapacity(int minCapacity)
非推奨です。
|
E |
get(int index)
非推奨です。
|
int |
indexOf(Object o)
非推奨です。
|
boolean |
isEmpty()
非推奨です。
|
Iterator<E> |
iterator() |
int |
lastIndexOf(Object o)
非推奨です。
|
ListIterator<E> |
listIterator()
非推奨です。
|
ListIterator<E> |
listIterator(int index)
非推奨です。
|
boolean |
remove(Object o)
非推奨です。
|
boolean |
removeAll(Collection<?> c)
非推奨です。
|
protected void |
removeRange(int fromIndex,
int toIndex)
非推奨です。
|
boolean |
retainAll(Collection<?> c)
非推奨です。
|
int |
size()
非推奨です。
|
List<E> |
subList(int fromIndex,
int toIndex)
非推奨です。
|
Object[] |
toArray()
非推奨です。
|
<T> T[] |
toArray(T[] a)
非推奨です。
|
String |
toString() |
void |
trimToSize()
非推奨です。
|
add, addAll, getPagination, remove, set, setMax, setPage, setResultCount
public void close()
@Deprecated public ListIterator<E> listIterator()
listIterator
クラス内 ArrayList<E>
@Deprecated public ListIterator<E> listIterator(int index)
listIterator
クラス内 ArrayList<E>
@Deprecated public boolean add(E e)
@Deprecated public boolean addAll(Collection<? extends E> c)
@Deprecated public void clear()
@Deprecated public boolean contains(Object o)
@Deprecated public void ensureCapacity(int minCapacity)
ensureCapacity
クラス内 ArrayList<E>
@Deprecated public E get(int index)
@Deprecated public int indexOf(Object o)
@Deprecated public boolean isEmpty()
@Deprecated public int lastIndexOf(Object o)
lastIndexOf
クラス内 ArrayList<E>
@Deprecated public boolean remove(Object o)
@Deprecated protected void removeRange(int fromIndex, int toIndex)
removeRange
クラス内 ArrayList<E>
@Deprecated public int size()
@Deprecated public Object[] toArray()
@Deprecated public <T> T[] toArray(T[] a)
@Deprecated public void trimToSize()
trimToSize
クラス内 ArrayList<E>
@Deprecated public List<E> subList(int fromIndex, int toIndex)
@Deprecated public boolean containsAll(Collection<?> c)
containsAll
クラス内 AbstractCollection<E>
@Deprecated public boolean removeAll(Collection<?> c)
@Deprecated public boolean retainAll(Collection<?> c)
public String toString()
toString
クラス内 AbstractCollection<E>