Uses of Interface
org.dellroad.querystream.jpa.SearchStream
Package
Description
QueryStream API for the Java Persistence Architecture (JPA).
-
Uses of SearchStream in org.dellroad.querystream.jpa
Modifier and TypeInterfaceDescriptioninterface
A booleanExprValue
.interface
SearchStream
containingDouble
values.interface
A doubleExprValue
.interface
ExprStream<X,
S extends Expression<X>> SearchStream
containing items representable asExpression
s.interface
ExprValue<X,
S extends Expression<X>> AnExprStream
that is guaranteed to return at most a single result.interface
FromStream<X,
S extends From<?, X>> SearchStream
containing items representable asFrom
s.interface
AFromStream
that is guaranteed to return at most a single result.interface
SearchStream
containingInteger
values.interface
A intExprValue
.interface
SearchStream
containingLong
values.interface
A longExprValue
.interface
PathStream<X,
S extends Path<X>> SearchStream
containing items representable asPath
s.interface
APathStream
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.interface
SearchValue<X,
S extends Selection<X>> ASearchStream
that is guaranteed to return at most a single result.Modifier 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 Selection<X2>>
SearchStream<X,S> SearchStream.distinct()
Suppress duplicates.SearchStream.fetch
(PluralAttribute<? super X, ?, ?> attribute) Add a plural fetch join to this stream.SearchStream.fetch
(PluralAttribute<? super X, ?, ?> attribute, JoinType joinType) Add a plural fetch join to this stream.SearchStream.fetch
(SingularAttribute<? super X, ?> attribute) Add a singular fetch inner join to this stream.SearchStream.fetch
(SingularAttribute<? super X, ?> attribute, JoinType joinType) Add a singular fetch join to this stream.SearchStream.filter
(SingularAttribute<? super X, Boolean> attribute) SearchStream.filter
(Function<? super S, ? extends Expression<Boolean>> predicateBuilder) SearchStream.groupBy
(SingularAttribute<? super X, ?> attribute) Apply grouping based on the specified property.SearchStream.groupBy
(Function<? super S, ? extends Expression<?>> groupFunction) Apply grouping based on a single expression.SearchStream.groupBy
(Ref<?, ? extends Expression<?>> ref) Apply grouping based on an expression reference.SearchStream.groupByMulti
(Function<? super S, ? extends List<Expression<?>>> groupFunction) Apply grouping based on a list of expressions.SearchStream.having
(Function<? super S, ? extends Expression<Boolean>> havingFunction) Add a "having" restriction.SearchStream.limit
(int maxSize) default <Y> SearchStream<Y,
Selection<Y>> SearchStream.mapToSelection
(Class<Y> type, Function<? super S, ? extends Selection<Y>> selectionFunction) Map this stream into a stream whose elements are the result of applying the given function.Order results using the specifiedOrder
s.SearchStream.orderBy
(SingularAttribute<? super X, ?> attribute, boolean asc) Order results using the specified property.SearchStream.orderBy
(SingularAttribute<? super X, ?> attribute1, boolean asc1, SingularAttribute<? super X, ?> attribute2, boolean asc2) Order results using the specified properties.SearchStream.orderBy
(SingularAttribute<? super X, ?> attribute1, boolean asc1, SingularAttribute<? super X, ?> attribute2, boolean asc2, SingularAttribute<? super X, ?> attribute3, boolean asc3) Order results using the specified properties.SearchStream.orderBy
(Function<? super S, ? extends Expression<?>> orderExprFunction, boolean asc) Order results using theExpression
produced by the givenFunction
.SearchStream.orderBy
(Ref<?, ? extends Expression<?>> ref, boolean asc) Order results using the specified expression reference.SearchStream.orderByMulti
(Function<? super S, ? extends List<? extends Order>> orderListFunction) SearchStream.skip
(int num) SearchStream.thenOrderBy
(Order... orders) Order results using the specifiedOrder
s after existing sort.SearchStream.thenOrderBy
(SingularAttribute<? super X, ?> attribute, boolean asc) Order results using the specified property after existing sort.SearchStream.thenOrderBy
(Function<? super S, ? extends Expression<?>> orderExprFunction, boolean asc) Order results using theExpression
produced by the givenFunction
after existing sort.SearchStream.thenOrderBy
(Ref<?, ? extends Expression<?>> ref, boolean asc) Order results using the specified expression reference after existing sort.SearchStream.withFetchGraph
(String name) SearchStream.withFlushMode
(FlushModeType flushMode) SearchStream.withLoadGraph
(String name) SearchStream.withLockMode
(LockModeType lockMode) SearchStream.withParam
(Parameter<Calendar> parameter, Calendar value, TemporalType temporalType) SearchStream.withParam
(Parameter<Date> parameter, Date value, TemporalType temporalType) <T> SearchStream<X,
S> SearchStream.withParams
(Iterable<? extends ParamBinding<?>> params)