public class Selector<E> extends Object implements Selectable<E>
| 限定符和类型 | 方法和说明 |
|---|---|
Selectable<E> |
distinct() |
Selectable<E> |
filter(java.util.function.Predicate<E> predicate) |
static <E> Selector<E> |
from(Collection<E> content) |
<T> Groupable<E> |
groupBy(java.util.function.Function<E,T> function,
String attributeName) |
List<E> |
list(int maxResults,
int firstResult) |
Selectable<E> |
orderBy(Sorter<E> sort) |
int |
rowCount() |
<T> ResultSetSlice<T> |
setTransformer(Transformer<E,T> transformer) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgroupBylist, list, listpublic static <E> Selector<E> from(Collection<E> content)
public Selectable<E> filter(java.util.function.Predicate<E> predicate)
filter 在接口中 Selectable<E>public Selectable<E> distinct()
distinct 在接口中 Selectable<E>public Selectable<E> orderBy(Sorter<E> sort)
orderBy 在接口中 Selectable<E>public <T> Groupable<E> groupBy(java.util.function.Function<E,T> function, String attributeName)
groupBy 在接口中 Selectable<E>public <T> ResultSetSlice<T> setTransformer(Transformer<E,T> transformer)
setTransformer 在接口中 Selectable<E>Copyright © 2021. All rights reserved.