Uses of Interface
org.dellroad.querystream.jpa.SearchValue
Package
Description
QueryStream API for the Java Persistence Architecture (JPA).
-
Uses of SearchValue in org.dellroad.querystream.jpa
Modifier and TypeInterfaceDescriptioninterface
A booleanExprValue
.interface
A doubleExprValue
.interface
ExprValue<X,
S extends Expression<X>> AnExprStream
that is guaranteed to return at most a single result.interface
AFromStream
that is guaranteed to return at most a single result.interface
A intExprValue
.interface
A longExprValue
.interface
APathStream
that is guaranteed to return at most a single result.interface
RootValue<X>
ARootStream
that is guaranteed to return at most a single result.Modifier and TypeMethodDescription<X2,
S2 extends Selection<X2>>
SearchValue<X,S> SearchValue.filter
(SingularAttribute<? super X, Boolean> attribute) SearchValue.filter
(Function<? super S, ? extends Expression<Boolean>> predicateBuilder) SearchStream.findAny()
Find any instance in the stream.SearchStream.findFirst()
Find the first instance in the stream.SearchStream.findSingle()
Find the only instance in the stream or null.default <Y> SearchValue<Y,
Selection<Y>> SearchValue.mapToSelection
(Class<Y> type, Function<? super S, ? extends Selection<Y>> selectionFunction) SearchValue.withFetchGraph
(String name) SearchValue.withFlushMode
(FlushModeType flushMode) SearchValue.withLoadGraph
(String name) SearchValue.withLockMode
(LockModeType lockMode) SearchValue.withParam
(Parameter<Calendar> parameter, Calendar value, TemporalType temporalType) SearchValue.withParam
(Parameter<Date> parameter, Date value, TemporalType temporalType) <T> SearchValue<X,
S> SearchValue.withParams
(Iterable<? extends ParamBinding<?>> params)