T
- public class QuerySet<T extends Model> extends ArrayList<T>
Modifier and Type | Field and Description |
---|---|
private Class<T> |
entity |
private boolean |
isPersited |
private int |
offset |
private static long |
serialVersionUID |
modCount
Constructor and Description |
---|
QuerySet() |
QuerySet(Class<T> entity) |
QuerySet(Collection<T> collection) |
add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
parallelStream, stream
private static final long serialVersionUID
private int offset
private transient boolean isPersited
public QuerySet()
public QuerySet(Collection<T> collection)
public boolean isPersited()
public void setEntity(Class entity)
public void entity(Class entity)
public QuerySet limit(int... params)
public QuerySet offset(int offset)
public QuerySet save()
public QuerySet delete()
public int count()
public QuerySet all()
public boolean add(T model)
public T earliest()
public T latest()
public boolean exists()
public QuerySet reverse()
public String toString()
toString
in class AbstractCollection<T extends Model>
public String toJSON()
public String toXML()
public String toExtenseXML()
public String toCSV()
public void each(Block block)
public void each(Function function)
public T first()
public T last()