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