Uses of Interface
org.dellroad.querystream.jpa.FromStream
Package
Description
QueryStream API for the Java Persistence Architecture (JPA).
-
Uses of FromStream in org.dellroad.querystream.jpa
Modifier and TypeInterfaceDescriptioninterface
AFromStream
that is guaranteed to return at most a single result.interface
RootStream<X>
SearchStream
containing items representable asRoot
s.interface
RootValue<X>
ARootStream
that is guaranteed to return at most a single result.Modifier and TypeMethodDescription<R> FromStream<X,
S> FromStream<X,
S> <X2,
S2 extends Selection<X2>>
FromStream<X,S> FromStream<X,
S> FromStream.distinct()
FromStream<X,
S> FromStream.fetch
(PluralAttribute<? super X, ?, ?> attribute) FromStream<X,
S> FromStream.fetch
(PluralAttribute<? super X, ?, ?> attribute, JoinType joinType) FromStream<X,
S> FromStream.fetch
(SingularAttribute<? super X, ?> attribute) FromStream<X,
S> FromStream.fetch
(SingularAttribute<? super X, ?> attribute, JoinType joinType) FromStream<X,
S> FromStream.filter
(SingularAttribute<? super X, Boolean> attribute) FromStream<X,
S> FromStream.filter
(Function<? super S, ? extends Expression<Boolean>> predicateBuilder) default <E> FromStream<E,
CollectionJoin<X, E>> SearchStream.flatMap
(CollectionAttribute<? super X, E> attribute) Map this stream to a stream where every item is replaced with the contents of the specified collection.default <E> FromStream<E,
ListJoin<X, E>> SearchStream.flatMap
(ListAttribute<? super X, E> attribute) Map this stream to a stream where every item is replaced with the contents of the specified collection.default <E> FromStream<E,
SetJoin<X, E>> SearchStream.flatMap
(SetAttribute<? super X, E> attribute) Map this stream to a stream where every item is replaced with the contents of the specified collection.FromStream<X,
S> FromStream.groupBy
(SingularAttribute<? super X, ?> attribute) FromStream<X,
S> FromStream.groupBy
(Function<? super S, ? extends Expression<?>> groupFunction) FromStream<X,
S> FromStream.groupBy
(Ref<?, ? extends Expression<?>> ref) FromStream<X,
S> FromStream.groupByMulti
(Function<? super S, ? extends List<Expression<?>>> groupFunction) FromStream<X,
S> FromStream.having
(Function<? super S, ? extends Expression<Boolean>> havingFunction) default <E> FromStream<E,
CollectionJoin<X, E>> SearchStream.join
(CollectionAttribute<? super X, E> attribute) Add a collection inner join to this stream.default <E> FromStream<E,
CollectionJoin<X, E>> SearchStream.join
(CollectionAttribute<? super X, E> attribute, JoinType joinType) Add a collection join to this stream using the specified join type.default <E> FromStream<E,
CollectionJoin<X, E>> SearchStream.join
(CollectionAttribute<? super X, E> attribute, JoinType joinType, Function<? super CollectionJoin<X, E>, ? extends Expression<Boolean>> on) Add a collection join to this stream using the specified join type and ON condition.default <E> FromStream<E,
ListJoin<X, E>> SearchStream.join
(ListAttribute<? super X, E> attribute) Add a list inner join to this stream.default <E> FromStream<E,
ListJoin<X, E>> SearchStream.join
(ListAttribute<? super X, E> attribute, JoinType joinType) Add a list join to this stream using the specified join type.default <E> FromStream<E,
ListJoin<X, E>> SearchStream.join
(ListAttribute<? super X, E> attribute, JoinType joinType, Function<? super ListJoin<X, E>, ? extends Expression<Boolean>> on) Add a list join to this stream using the specified join type and ON condition.default <K,
V> FromStream<V, MapJoin<X, K, V>> SearchStream.join
(MapAttribute<? super X, K, V> attribute) Add a map inner join to this stream.default <K,
V> FromStream<V, MapJoin<X, K, V>> SearchStream.join
(MapAttribute<? super X, K, V> attribute, JoinType joinType) Add a map join to this stream using the specified join type.default <K,
V> FromStream<V, MapJoin<X, K, V>> SearchStream.join
(MapAttribute<? super X, K, V> attribute, JoinType joinType, Function<? super MapJoin<X, K, V>, ? extends Expression<Boolean>> on) Add a map join to this stream using the specified join type and ON condition.default <E> FromStream<E,
SetJoin<X, E>> SearchStream.join
(SetAttribute<? super X, E> attribute) Add a set inner join to this stream.default <E> FromStream<E,
SetJoin<X, E>> SearchStream.join
(SetAttribute<? super X, E> attribute, JoinType joinType) Add a set join to this stream using the specified join type.default <E> FromStream<E,
SetJoin<X, E>> SearchStream.join
(SetAttribute<? super X, E> attribute, JoinType joinType, Function<? super SetJoin<X, E>, ? extends Expression<Boolean>> on) Add a set join to this stream using the specified join type and ON condition.default <Y> FromStream<Y,
From<X, Y>> SearchStream.join
(SingularAttribute<? super X, Y> attribute) Add a singular inner join to this stream.default <Y> FromStream<Y,
From<X, Y>> SearchStream.join
(SingularAttribute<? super X, Y> attribute, JoinType joinType) Add a singular join to this stream using the specified join type.default <Y> FromStream<Y,
From<X, Y>> SearchStream.join
(SingularAttribute<? super X, Y> attribute, JoinType joinType, Function<? super Join<X, Y>, ? extends Expression<Boolean>> on) Add a singular join to this stream using the specified join type and ON condition.FromStream<X,
S> FromStream.limit
(int maxSize) default <Z,
Y> FromStream<Y, From<Z, Y>> Map this stream into a stream whose elements are the result of applying the given function.default <Y> FromStream<Y,
From<?, Y>> Map this stream to a stream whose elements are bound to the supplied from reference.FromStream<X,
S> FromStream<X,
S> FromStream.orderBy
(SingularAttribute<? super X, ?> attribute, boolean asc) FromStream<X,
S> FromStream.orderBy
(SingularAttribute<? super X, ?> attribute1, boolean asc1, SingularAttribute<? super X, ?> attribute2, boolean asc2) FromStream<X,
S> FromStream.orderBy
(SingularAttribute<? super X, ?> attribute1, boolean asc1, SingularAttribute<? super X, ?> attribute2, boolean asc2, SingularAttribute<? super X, ?> attribute3, boolean asc3) FromStream<X,
S> FromStream.orderBy
(Function<? super S, ? extends Expression<?>> orderExprFunction, boolean asc) FromStream<X,
S> FromStream.orderBy
(Ref<?, ? extends Expression<?>> ref, boolean asc) FromStream<X,
S> FromStream.orderByMulti
(Function<? super S, ? extends List<? extends Order>> orderListFunction) FromStream<X,
S> FromStream<X,
S> FromStream.skip
(int num) <X,
E> FromStream<E, CollectionJoin<X, E>> QueryStream.Builder.substream
(CollectionJoin<X, E> join) Create aSearchStream
for use as a subquery, using the specified join.<X,
Y> FromStream<Y, ? extends From<X, Y>> Create aSearchStream
for use as a subquery, using the specifiedFrom
.<X,
E> FromStream<E, Join<X, E>> Create aSearchStream
for use as a subquery, using the specified join.<X,
E> FromStream<E, ListJoin<X, E>> Create aSearchStream
for use as a subquery, using the specified join.<X,
K, V> FromStream<V, MapJoin<X, K, V>> Create aSearchStream
for use as a subquery, using the specified join.<X,
E> FromStream<E, SetJoin<X, E>> Create aSearchStream
for use as a subquery, using the specified join.FromStream<X,
S> FromStream.thenOrderBy
(Order... orders) FromStream<X,
S> FromStream.thenOrderBy
(SingularAttribute<? super X, ?> attribute, boolean asc) FromStream<X,
S> FromStream.thenOrderBy
(Function<? super S, ? extends Expression<?>> orderExprFunction, boolean asc) FromStream<X,
S> FromStream.thenOrderBy
(Ref<?, ? extends Expression<?>> ref, boolean asc) FromStream<X,
S> FromStream.withFetchGraph
(String name) FromStream<X,
S> FromStream.withFlushMode
(FlushModeType flushMode) FromStream<X,
S> FromStream<X,
S> FromStream<X,
S> FromStream.withLoadGraph
(String name) FromStream<X,
S> FromStream.withLockMode
(LockModeType lockMode) FromStream<X,
S> FromStream.withParam
(Parameter<Calendar> parameter, Calendar value, TemporalType temporalType) FromStream<X,
S> FromStream.withParam
(Parameter<Date> parameter, Date value, TemporalType temporalType) <T> FromStream<X,
S> FromStream<X,
S> FromStream.withParams
(Iterable<? extends ParamBinding<?>> params)