| Package | Description |
|---|---|
| org.dellroad.querystream.jpa |
QueryStream API for the Java Persistence Architecture (JPA).
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
RootValue<X>
A
RootStream that is guaranteed to return at most a single result. |
| Modifier and Type | Method and Description |
|---|---|
<R> RootStream<X> |
RootStream.addRoot(Ref<R,? super Root<R>> ref,
Class<R> type) |
RootStream<X> |
RootStream.bind(Ref<X,? super Root<X>> ref) |
<X2,S2 extends Selection<X2>> |
RootStream.bind(Ref<X2,? super S2> ref,
Function<? super Root<X>,? extends S2> refFunction) |
<Y extends X> |
RootStream.cast(Class<Y> type) |
RootStream<X> |
RootStream.distinct() |
RootStream<X> |
RootStream.fetch(PluralAttribute<? super X,?,?> attribute) |
RootStream<X> |
RootStream.fetch(PluralAttribute<? super X,?,?> attribute,
JoinType joinType) |
RootStream<X> |
RootStream.fetch(SingularAttribute<? super X,?> attribute) |
RootStream<X> |
RootStream.fetch(SingularAttribute<? super X,?> attribute,
JoinType joinType) |
RootStream<X> |
RootStream.filter(Function<? super Root<X>,? extends Expression<Boolean>> predicateBuilder) |
RootStream<X> |
RootStream.filter(SingularAttribute<? super X,Boolean> attribute) |
RootStream<X> |
RootStream.groupBy(Function<? super Root<X>,? extends Expression<?>> groupFunction) |
RootStream<X> |
RootStream.groupBy(Ref<?,? extends Expression<?>> ref) |
RootStream<X> |
RootStream.groupBy(SingularAttribute<? super X,?> attribute) |
RootStream<X> |
RootStream.groupByMulti(Function<? super Root<X>,? extends List<Expression<?>>> groupFunction) |
RootStream<X> |
RootStream.having(Function<? super Root<X>,? extends Expression<Boolean>> havingFunction) |
RootStream<X> |
RootStream.limit(int maxSize) |
default <Y> RootStream<Y> |
SearchStream.mapToRef(Class<Y> type,
RootRef<Y> ref)
Map this stream to a stream whose elements are bound to the supplied root reference.
|
default <Y> RootStream<Y> |
SearchStream.mapToRoot(Class<Y> type,
Function<? super S,? extends Root<Y>> rootFunction)
Map this stream into a stream whose elements are the result of applying the given function.
|
RootStream<X> |
RootStream.orderBy(Function<? super Root<X>,? extends Expression<?>> orderExprFunction,
boolean asc) |
RootStream<X> |
RootStream.orderBy(Order... orders) |
RootStream<X> |
RootStream.orderBy(Ref<?,? extends Expression<?>> ref,
boolean asc) |
RootStream<X> |
RootStream.orderBy(SingularAttribute<? super X,?> attribute,
boolean asc) |
RootStream<X> |
RootStream.orderBy(SingularAttribute<? super X,?> attribute1,
boolean asc1,
SingularAttribute<? super X,?> attribute2,
boolean asc2) |
RootStream<X> |
RootStream.orderBy(SingularAttribute<? super X,?> attribute1,
boolean asc1,
SingularAttribute<? super X,?> attribute2,
boolean asc2,
SingularAttribute<? super X,?> attribute3,
boolean asc3) |
RootStream<X> |
RootStream.orderByMulti(Function<? super Root<X>,? extends List<? extends Order>> orderListFunction) |
RootStream<X> |
RootStream.peek(Consumer<? super Root<X>> peeker) |
RootStream<X> |
RootStream.skip(int num) |
<X> RootStream<X> |
QueryStream.Builder.stream(Class<X> type)
Create a
SearchStream for search queries. |
<X> RootStream<X> |
QueryStream.Builder.substream(Root<X> root)
Create a
SearchStream for use as a subquery, using the specified correlated Root. |
RootStream<X> |
RootStream.thenOrderBy(Function<? super Root<X>,? extends Expression<?>> orderExprFunction,
boolean asc) |
RootStream<X> |
RootStream.thenOrderBy(Order... orders) |
RootStream<X> |
RootStream.thenOrderBy(Ref<?,? extends Expression<?>> ref,
boolean asc) |
RootStream<X> |
RootStream.thenOrderBy(SingularAttribute<? super X,?> attribute,
boolean asc) |
RootStream<X> |
RootStream.withFetchGraph(String name) |
RootStream<X> |
RootStream.withFlushMode(FlushModeType flushMode) |
RootStream<X> |
RootStream.withHint(String name,
Object value) |
RootStream<X> |
RootStream.withHints(Map<String,Object> hints) |
RootStream<X> |
RootStream.withLoadGraph(String name) |
RootStream<X> |
RootStream.withLockMode(LockModeType lockMode) |
RootStream<X> |
RootStream.withParam(Parameter<Calendar> parameter,
Calendar value,
TemporalType temporalType) |
RootStream<X> |
RootStream.withParam(Parameter<Date> parameter,
Date value,
TemporalType temporalType) |
<T> RootStream<X> |
RootStream.withParam(Parameter<T> parameter,
T value) |
RootStream<X> |
RootStream.withParams(Iterable<? extends ParamBinding<?>> params) |
Copyright © 2023. All rights reserved.