Uses of Interface
org.dellroad.querystream.jpa.QueryStream
Package
Description
QueryStream API for the Java Persistence Architecture (JPA).
-
Uses of QueryStream in org.dellroad.querystream.jpa
Modifier and TypeInterfaceDescriptioninterface
A booleanExprValue
.interface
DeleteStream<X>
Builder for JPA criteria bulk delete queries using aStream
-like API.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
SearchStream<X,
S extends Selection<X>> Builder for JPA criteria search queries, based on configuration through aStream
-like API.interface
SearchValue<X,
S extends Selection<X>> ASearchStream
that is guaranteed to return at most a single result.interface
UpdateStream<X>
Builder for JPA criteria bulk update queries using aStream
-like API.Modifier and TypeMethodDescriptionBind an unbound reference to the items in this stream.Bind an unbound reference to the result of applying the given function to the items in this stream.QueryStream.filter
(SingularAttribute<? super X, Boolean> attribute) Filter results using the specified boolean property.QueryStream.filter
(Function<? super S, ? extends Expression<Boolean>> predicateBuilder) Filter results using the boolean expression produced by the given function.QueryStream.limit
(int maxSize) Return this stream truncated to the specified maximum length.Peek at the items in this stream.QueryStream.skip
(int num) Return this stream with the specified number of initial elements skipped.QueryStream.withFetchGraph
(String name) Configure a fetch graph for this query.QueryStream.withFlushMode
(FlushModeType flushMode) Set theFlushModeType
associated with this query.Associate a hint with this query.Associate hints with this query.QueryStream.withLoadGraph
(String name) Configure a load graph for this query.QueryStream.withLockMode
(LockModeType lockMode) Set theLockModeType
associated with this query.QueryStream.withParam
(Parameter<Calendar> parameter, Calendar value, TemporalType temporalType) Bind the value of a query parameter of typeCalendar
.QueryStream.withParam
(Parameter<Date> parameter, Date value, TemporalType temporalType) Bind the value of a query parameter of typeDate
.Bind the value of a query parameter.QueryStream.withParams
(Iterable<? extends ParamBinding<?>> params) Associate parameter bindings with this query.