| Package | Description |
|---|---|
| org.dellroad.querystream.jpa |
QueryStream API for the Java Persistence Architecture (JPA).
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
BooleanValue
A boolean
ExprValue. |
interface |
DoubleValue
A double
ExprValue. |
interface |
ExprValue<X,S extends Expression<X>>
An
ExprStream that is guaranteed to return at most a single result. |
interface |
FromValue<X,S extends From<?,X>>
A
FromStream that is guaranteed to return at most a single result. |
interface |
IntValue
A int
ExprValue. |
interface |
LongValue
A long
ExprValue. |
interface |
PathValue<X,S extends Path<X>>
A
PathStream that is guaranteed to return at most a single result. |
interface |
RootValue<X>
A
RootStream that is guaranteed to return at most a single result. |
| Modifier and Type | Method and Description |
|---|---|
SearchValue<X,S> |
SearchValue.bind(Ref<X,? super S> ref) |
<X2,S2 extends Selection<X2>> |
SearchValue.bind(Ref<X2,? super S2> ref,
Function<? super S,? extends S2> refFunction) |
SearchValue<X,S> |
SearchValue.filter(Function<? super S,? extends Expression<Boolean>> predicateBuilder) |
SearchValue<X,S> |
SearchValue.filter(SingularAttribute<? super X,Boolean> attribute) |
SearchValue<X,S> |
SearchStream.findAny()
Find any instance in the stream.
|
SearchValue<X,S> |
SearchStream.findFirst()
Find the first instance in the stream.
|
SearchValue<X,S> |
SearchStream.findSingle()
Find the only instance in the stream.
|
default <Y> SearchValue<Y,Selection<Y>> |
SearchValue.mapToSelection(Class<Y> type,
Function<? super S,? extends Selection<Y>> selectionFunction) |
SearchValue<X,S> |
SearchValue.peek(Consumer<? super S> peeker) |
SearchValue<X,S> |
SearchValue.withFetchGraph(String name) |
SearchValue<X,S> |
SearchValue.withFlushMode(FlushModeType flushMode) |
SearchValue<X,S> |
SearchValue.withHint(String name,
Object value) |
SearchValue<X,S> |
SearchValue.withHints(Map<String,Object> hints) |
SearchValue<X,S> |
SearchValue.withLoadGraph(String name) |
SearchValue<X,S> |
SearchValue.withLockMode(LockModeType lockMode) |
SearchValue<X,S> |
SearchValue.withParam(Parameter<Calendar> parameter,
Calendar value,
TemporalType temporalType) |
SearchValue<X,S> |
SearchValue.withParam(Parameter<Date> parameter,
Date value,
TemporalType temporalType) |
<T> SearchValue<X,S> |
SearchValue.withParam(Parameter<T> parameter,
T value) |
SearchValue<X,S> |
SearchValue.withParams(Iterable<? extends ParamBinding<?>> params) |
Copyright © 2023. All rights reserved.