Uses of Interface
org.dellroad.querystream.jpa.RootStream
Package
Description
QueryStream API for the Java Persistence Architecture (JPA).
-
Uses of RootStream in org.dellroad.querystream.jpa
Modifier and TypeInterfaceDescriptioninterface
RootValue<X>
ARootStream
that is guaranteed to return at most a single result.Modifier and TypeMethodDescription<R> RootStream<X>
<X2,
S2 extends Selection<X2>>
RootStream<X><Y extends X>
RootStream<Y>RootStream.distinct()
RootStream.fetch
(PluralAttribute<? super X, ?, ?> attribute) RootStream.fetch
(PluralAttribute<? super X, ?, ?> attribute, JoinType joinType) RootStream.fetch
(SingularAttribute<? super X, ?> attribute) RootStream.fetch
(SingularAttribute<? super X, ?> attribute, JoinType joinType) RootStream.filter
(SingularAttribute<? super X, Boolean> attribute) RootStream.groupBy
(SingularAttribute<? super X, ?> attribute) RootStream.groupBy
(Function<? super Root<X>, ? extends Expression<?>> groupFunction) RootStream.groupBy
(Ref<?, ? extends Expression<?>> ref) RootStream.groupByMulti
(Function<? super Root<X>, ? extends List<Expression<?>>> groupFunction) RootStream.limit
(int maxSize) default <Y> RootStream<Y>
Map this stream to a stream whose elements are bound to the supplied root reference.default <Y> RootStream<Y>
Map this stream into a stream whose elements are the result of applying the given function.RootStream.orderBy
(SingularAttribute<? super X, ?> attribute, boolean asc) RootStream.orderBy
(SingularAttribute<? super X, ?> attribute1, boolean asc1, SingularAttribute<? super X, ?> attribute2, boolean asc2) RootStream.orderBy
(SingularAttribute<? super X, ?> attribute1, boolean asc1, SingularAttribute<? super X, ?> attribute2, boolean asc2, SingularAttribute<? super X, ?> attribute3, boolean asc3) RootStream.orderBy
(Function<? super Root<X>, ? extends Expression<?>> orderExprFunction, boolean asc) RootStream.orderBy
(Ref<?, ? extends Expression<?>> ref, boolean asc) RootStream.orderByMulti
(Function<? super Root<X>, ? extends List<? extends Order>> orderListFunction) RootStream.skip
(int num) <X> RootStream<X>
Create aSearchStream
for search queries.<X> RootStream<X>
Create aSearchStream
for use as a subquery, using the specified correlatedRoot
.RootStream.thenOrderBy
(Order... orders) RootStream.thenOrderBy
(SingularAttribute<? super X, ?> attribute, boolean asc) RootStream.thenOrderBy
(Function<? super Root<X>, ? extends Expression<?>> orderExprFunction, boolean asc) RootStream.thenOrderBy
(Ref<?, ? extends Expression<?>> ref, boolean asc) RootStream.withFetchGraph
(String name) RootStream.withFlushMode
(FlushModeType flushMode) RootStream.withLoadGraph
(String name) RootStream.withLockMode
(LockModeType lockMode) RootStream.withParam
(Parameter<Calendar> parameter, Calendar value, TemporalType temporalType) RootStream.withParam
(Parameter<Date> parameter, Date value, TemporalType temporalType) <T> RootStream<X>
RootStream.withParams
(Iterable<? extends ParamBinding<?>> params)