com.jaeksoft.pojodbc
Class PartialList<T>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<T>
com.jaeksoft.pojodbc.PartialList<T>
- All Implemented Interfaces:
- java.lang.Iterable<T>, java.util.Collection<T>, java.util.List<T>
public abstract class PartialList<T>
- extends java.util.AbstractList<T>
Fields inherited from class java.util.AbstractList |
modCount |
Methods inherited from class java.util.AbstractList |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList |
Methods inherited from class java.util.AbstractCollection |
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray |
size
protected int size
partialList
protected java.util.List<T> partialList
currentStart
protected int currentStart
rows
protected int rows
PartialList
public PartialList(int rows)
get
public T get(int index)
- Specified by:
get
in interface java.util.List<T>
- Specified by:
get
in class java.util.AbstractList<T>
getQuery
protected abstract Query getQuery(Transaction transaction)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getDatabaseTransaction
protected abstract Transaction getDatabaseTransaction()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getResultList
protected abstract java.util.List<T> getResultList(Query query)
throws java.lang.Exception
- Throws:
java.lang.Exception
update
protected void update(int start)
size
public int size()
- Specified by:
size
in interface java.util.Collection<T>
- Specified by:
size
in interface java.util.List<T>
- Specified by:
size
in class java.util.AbstractCollection<T>
toString
public java.lang.String toString()
- Overrides:
toString
in class java.util.AbstractCollection<T>