Uses of Interface
org.dellroad.querystream.jpa.SearchStream
Packages that use SearchStream
Package
Description
QueryStream API for the Java Persistence Architecture (JPA).
-
Uses of SearchStream in org.dellroad.querystream.jpa
Subinterfaces of SearchStream in org.dellroad.querystream.jpaModifier and TypeInterfaceDescriptioninterfaceA booleanExprValue.interfaceSearchStreamcontainingDoublevalues.interfaceA doubleExprValue.interfaceExprStream<X,S extends jakarta.persistence.criteria.Expression<X>> SearchStreamcontaining items representable asExpressions.interfaceExprValue<X,S extends jakarta.persistence.criteria.Expression<X>> AnExprStreamthat is guaranteed to return at most a single result.interfaceFromStream<X,S extends jakarta.persistence.criteria.From<?, X>> SearchStreamcontaining items representable asFroms.interfaceFromValue<X,S extends jakarta.persistence.criteria.From<?, X>> AFromStreamthat is guaranteed to return at most a single result.interfaceSearchStreamcontainingIntegervalues.interfaceA intExprValue.interfaceSearchStreamcontainingLongvalues.interfaceA longExprValue.interfacePathStream<X,S extends jakarta.persistence.criteria.Path<X>> SearchStreamcontaining items representable asPaths.interfacePathValue<X,S extends jakarta.persistence.criteria.Path<X>> APathStreamthat 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.interfaceSearchValue<X,S extends jakarta.persistence.criteria.Selection<X>> ASearchStreamthat is guaranteed to return at most a single result.Methods in org.dellroad.querystream.jpa that return SearchStreamModifier and TypeMethodDescription<R> SearchStream<X,S> Bind an unbound reference to a new query root that will be added to the query.<X2,S2 extends jakarta.persistence.criteria.Selection<X2>>
SearchStream<X,S> SearchStream.distinct()Suppress duplicates.Add a plural fetch join to this stream.SearchStream.fetch(jakarta.persistence.metamodel.PluralAttribute<? super X, ?, ?> attribute, jakarta.persistence.criteria.JoinType joinType) Add a plural fetch join to this stream.Add a singular fetch inner join to this stream.SearchStream.fetch(jakarta.persistence.metamodel.SingularAttribute<? super X, ?> attribute, jakarta.persistence.criteria.JoinType joinType) Add a singular fetch join to this stream.SearchStream.filter(Function<? super S, ? extends jakarta.persistence.criteria.Expression<Boolean>> predicateBuilder) Apply grouping based on the specified property.SearchStream.groupBy(Function<? super S, ? extends jakarta.persistence.criteria.Expression<?>> groupFunction) Apply grouping based on a single expression.Apply grouping based on an expression reference.SearchStream.groupByMulti(Function<? super S, ? extends List<jakarta.persistence.criteria.Expression<?>>> groupFunction) Apply grouping based on a list of expressions.SearchStream.having(Function<? super S, ? extends jakarta.persistence.criteria.Expression<Boolean>> havingFunction) Add a "having" restriction.SearchStream.limit(int maxSize) default <Y> SearchStream<Y,jakarta.persistence.criteria.Selection<Y>> SearchStream.mapToSelection(Class<Y> type, Function<? super S, ? extends jakarta.persistence.criteria.Selection<Y>> selectionFunction) Map this stream into a stream whose elements are the result of applying the given function.SearchStream.orderBy(jakarta.persistence.criteria.Order... orders) Order results using the specifiedOrders.SearchStream.orderBy(jakarta.persistence.metamodel.SingularAttribute<? super X, ?> attribute, boolean asc) Order results using the specified property.SearchStream.orderBy(jakarta.persistence.metamodel.SingularAttribute<? super X, ?> attribute1, boolean asc1, jakarta.persistence.metamodel.SingularAttribute<? super X, ?> attribute2, boolean asc2) Order results using the specified properties.SearchStream.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) Order results using the specified properties.SearchStream.orderBy(Function<? super S, ? extends jakarta.persistence.criteria.Expression<?>> orderExprFunction, boolean asc) Order results using theExpressionproduced by the givenFunction.Order results using the specified expression reference.SearchStream.orderByMulti(Function<? super S, ? extends List<? extends jakarta.persistence.criteria.Order>> orderListFunction) Order results using theOrderlist produced by the givenFunction.SearchStream.skip(int num) SearchStream.thenOrderBy(jakarta.persistence.criteria.Order... orders) Order results using the specifiedOrders after existing sort.SearchStream.thenOrderBy(jakarta.persistence.metamodel.SingularAttribute<? super X, ?> attribute, boolean asc) Order results using the specified property after existing sort.SearchStream.thenOrderBy(Function<? super S, ? extends jakarta.persistence.criteria.Expression<?>> orderExprFunction, boolean asc) Order results using theExpressionproduced by the givenFunctionafter existing sort.SearchStream.thenOrderBy(Ref<?, ? extends jakarta.persistence.criteria.Expression<?>> ref, boolean asc) Order results using the specified expression reference after existing sort.SearchStream.withFetchGraph(String name) SearchStream.withFlushMode(jakarta.persistence.FlushModeType flushMode) SearchStream.withLoadGraph(String name) SearchStream.withLockMode(jakarta.persistence.LockModeType lockMode) SearchStream.withParam(jakarta.persistence.Parameter<Calendar> parameter, Calendar value, jakarta.persistence.TemporalType temporalType) SearchStream.withParam(jakarta.persistence.Parameter<Date> parameter, Date value, jakarta.persistence.TemporalType temporalType) <T> SearchStream<X,S> SearchStream.withParam(jakarta.persistence.Parameter<T> parameter, T value) SearchStream.withParams(Iterable<? extends ParamBinding<?>> params)