| 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 |
DoubleStream
SearchStream containing Double values. |
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 |
FromStream<X,S extends From<?,X>>
SearchStream containing items representable as Froms. |
interface |
FromValue<X,S extends From<?,X>>
A
FromStream that is guaranteed to return at most a single result. |
interface |
IntStream
SearchStream containing Integer values. |
interface |
IntValue
A int
ExprValue. |
interface |
LongStream
SearchStream containing Long values. |
interface |
LongValue
A long
ExprValue. |
interface |
PathStream<X,S extends Path<X>>
SearchStream containing items representable as Paths. |
interface |
PathValue<X,S extends Path<X>>
A
PathStream that is guaranteed to return at most a single result. |
interface |
RootStream<X>
SearchStream containing items representable as Roots. |
interface |
RootValue<X>
A
RootStream that is guaranteed to return at most a single result. |
| Modifier and Type | Method and Description |
|---|---|
<R> ExprStream<X,S> |
ExprStream.addRoot(Ref<R,? super Root<R>> ref,
Class<R> type) |
ExprStream<X,S> |
ExprStream.bind(Ref<X,? super S> ref) |
<X2,S2 extends Selection<X2>> |
ExprStream.bind(Ref<X2,? super S2> ref,
Function<? super S,? extends S2> refFunction) |
ExprStream<X,S> |
ExprStream.distinct() |
ExprStream<X,S> |
ExprStream.fetch(PluralAttribute<? super X,?,?> attribute) |
ExprStream<X,S> |
ExprStream.fetch(PluralAttribute<? super X,?,?> attribute,
JoinType joinType) |
ExprStream<X,S> |
ExprStream.fetch(SingularAttribute<? super X,?> attribute) |
ExprStream<X,S> |
ExprStream.fetch(SingularAttribute<? super X,?> attribute,
JoinType joinType) |
ExprStream<X,S> |
ExprStream.filter(Function<? super S,? extends Expression<Boolean>> predicateBuilder) |
ExprStream<X,S> |
ExprStream.filter(SingularAttribute<? super X,Boolean> attribute) |
ExprStream<X,S> |
ExprStream.groupBy(Function<? super S,? extends Expression<?>> groupFunction) |
ExprStream<X,S> |
ExprStream.groupBy(Ref<?,? extends Expression<?>> ref) |
ExprStream<X,S> |
ExprStream.groupBy(SingularAttribute<? super X,?> attribute) |
ExprStream<X,S> |
ExprStream.groupByMulti(Function<? super S,? extends List<Expression<?>>> groupFunction) |
ExprStream<X,S> |
ExprStream.having(Function<? super S,? extends Expression<Boolean>> havingFunction) |
ExprStream<X,S> |
ExprStream.limit(int maxSize) |
default <Y> ExprStream<Y,Expression<Y>> |
SearchStream.map(Class<Y> type,
Function<? super S,? extends Expression<Y>> exprFunction)
Map this stream into a stream whose elements are the result of applying the given function.
|
default <K,V,M extends Map<K,V>> |
SearchStream.map(MapAttribute<? super X,K,V> attribute)
Map this stream to an associated map property.
|
default <E,C extends Collection<E>> |
SearchStream.map(PluralAttribute<? super X,C,E> attribute)
Map this stream to an associated collection property.
|
default <Y> ExprStream<Y,Expression<Y>> |
SearchStream.mapToExpr(Class<Y> type,
Function<? super S,? extends Expression<Y>> exprFunction)
Map this stream into a stream whose elements are the result of applying the given function.
|
default <Y> ExprStream<Y,Expression<Y>> |
SearchStream.mapToRef(Class<Y> type,
ExprRef<Y> ref)
Map this stream to a stream whose elements are bound to the supplied expression reference.
|
ExprStream<X,S> |
ExprStream.orderBy(Function<? super S,? extends Expression<?>> orderExprFunction,
boolean asc) |
ExprStream<X,S> |
ExprStream.orderBy(Order... orders) |
ExprStream<X,S> |
ExprStream.orderBy(Ref<?,? extends Expression<?>> ref,
boolean asc) |
ExprStream<X,S> |
ExprStream.orderBy(SingularAttribute<? super X,?> attribute,
boolean asc) |
ExprStream<X,S> |
ExprStream.orderBy(SingularAttribute<? super X,?> attribute1,
boolean asc1,
SingularAttribute<? super X,?> attribute2,
boolean asc2) |
ExprStream<X,S> |
ExprStream.orderBy(SingularAttribute<? super X,?> attribute1,
boolean asc1,
SingularAttribute<? super X,?> attribute2,
boolean asc2,
SingularAttribute<? super X,?> attribute3,
boolean asc3) |
ExprStream<X,S> |
ExprStream.orderByMulti(Function<? super S,? extends List<? extends Order>> orderListFunction) |
ExprStream<X,S> |
ExprStream.peek(Consumer<? super S> peeker) |
ExprStream<X,S> |
ExprStream.skip(int num) |
ExprStream<X,S> |
ExprStream.thenOrderBy(Function<? super S,? extends Expression<?>> orderExprFunction,
boolean asc) |
ExprStream<X,S> |
ExprStream.thenOrderBy(Order... orders) |
ExprStream<X,S> |
ExprStream.thenOrderBy(Ref<?,? extends Expression<?>> ref,
boolean asc) |
ExprStream<X,S> |
ExprStream.thenOrderBy(SingularAttribute<? super X,?> attribute,
boolean asc) |
ExprStream<X,S> |
ExprStream.withFetchGraph(String name) |
ExprStream<X,S> |
ExprStream.withFlushMode(FlushModeType flushMode) |
ExprStream<X,S> |
ExprStream.withHint(String name,
Object value) |
ExprStream<X,S> |
ExprStream.withHints(Map<String,Object> hints) |
ExprStream<X,S> |
ExprStream.withLoadGraph(String name) |
ExprStream<X,S> |
ExprStream.withLockMode(LockModeType lockMode) |
ExprStream<X,S> |
ExprStream.withParam(Parameter<Calendar> parameter,
Calendar value,
TemporalType temporalType) |
ExprStream<X,S> |
ExprStream.withParam(Parameter<Date> parameter,
Date value,
TemporalType temporalType) |
<T> ExprStream<X,S> |
ExprStream.withParam(Parameter<T> parameter,
T value) |
ExprStream<X,S> |
ExprStream.withParams(Iterable<? extends ParamBinding<?>> params) |
Copyright © 2023. All rights reserved.