| Package | Description |
|---|---|
| org.dellroad.querystream.jpa |
QueryStream API for the Java Persistence Architecture (JPA).
|
| Modifier and Type | Interface and Description |
|---|---|
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 |
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> PathStream<X,S> |
PathStream.addRoot(Ref<R,? super Root<R>> ref,
Class<R> type) |
PathStream<X,S> |
PathStream.bind(Ref<X,? super S> ref) |
<X2,S2 extends Selection<X2>> |
PathStream.bind(Ref<X2,? super S2> ref,
Function<? super S,? extends S2> refFunction) |
<Y extends X> |
PathStream.cast(Class<Y> type)
Map this stream into a stream whose elements are the result of applying the given narrowing cast.
|
PathStream<X,S> |
PathStream.distinct() |
PathStream<X,S> |
PathStream.fetch(PluralAttribute<? super X,?,?> attribute) |
PathStream<X,S> |
PathStream.fetch(PluralAttribute<? super X,?,?> attribute,
JoinType joinType) |
PathStream<X,S> |
PathStream.fetch(SingularAttribute<? super X,?> attribute) |
PathStream<X,S> |
PathStream.fetch(SingularAttribute<? super X,?> attribute,
JoinType joinType) |
PathStream<X,S> |
PathStream.filter(Function<? super S,? extends Expression<Boolean>> predicateBuilder) |
PathStream<X,S> |
PathStream.filter(SingularAttribute<? super X,Boolean> attribute) |
default <K> PathStream<K,Path<K>> |
SearchStream.flatMapKeys(MapAttribute<? super X,K,?> attribute)
Map this stream to a stream where every item is replaced with the keys of the specified map.
|
default <V> PathStream<V,Path<V>> |
SearchStream.flatMapValues(MapAttribute<? super X,?,V> attribute)
Map this stream to a stream where every item is replaced with the values of the specified map.
|
PathStream<X,S> |
PathStream.groupBy(Function<? super S,? extends Expression<?>> groupFunction) |
PathStream<X,S> |
PathStream.groupBy(Ref<?,? extends Expression<?>> ref) |
PathStream<X,S> |
PathStream.groupBy(SingularAttribute<? super X,?> attribute) |
PathStream<X,S> |
PathStream.groupByMulti(Function<? super S,? extends List<Expression<?>>> groupFunction) |
PathStream<X,S> |
PathStream.having(Function<? super S,? extends Expression<Boolean>> havingFunction) |
PathStream<X,S> |
PathStream.limit(int maxSize) |
default <Y> PathStream<Y,Path<Y>> |
SearchStream.map(SingularAttribute<? super X,Y> attribute)
Map this stream to an associated property.
|
default <Y> PathStream<Y,Path<Y>> |
SearchStream.mapToPath(Class<Y> type,
Function<? super S,? extends Path<Y>> pathFunction)
Map this stream into a stream whose elements are the result of applying the given function.
|
default <Y> PathStream<Y,Path<Y>> |
SearchStream.mapToRef(Class<Y> type,
PathRef<Y> ref)
Map this stream to a stream whose elements are bound to the supplied path reference.
|
PathStream<X,S> |
PathStream.orderBy(Function<? super S,? extends Expression<?>> orderExprFunction,
boolean asc) |
PathStream<X,S> |
PathStream.orderBy(Order... orders) |
PathStream<X,S> |
PathStream.orderBy(Ref<?,? extends Expression<?>> ref,
boolean asc) |
PathStream<X,S> |
PathStream.orderBy(SingularAttribute<? super X,?> attribute,
boolean asc) |
PathStream<X,S> |
PathStream.orderBy(SingularAttribute<? super X,?> attribute1,
boolean asc1,
SingularAttribute<? super X,?> attribute2,
boolean asc2) |
PathStream<X,S> |
PathStream.orderBy(SingularAttribute<? super X,?> attribute1,
boolean asc1,
SingularAttribute<? super X,?> attribute2,
boolean asc2,
SingularAttribute<? super X,?> attribute3,
boolean asc3) |
PathStream<X,S> |
PathStream.orderByMulti(Function<? super S,? extends List<? extends Order>> orderListFunction) |
PathStream<X,S> |
PathStream.peek(Consumer<? super S> peeker) |
PathStream<X,S> |
PathStream.skip(int num) |
PathStream<X,S> |
PathStream.thenOrderBy(Function<? super S,? extends Expression<?>> orderExprFunction,
boolean asc) |
PathStream<X,S> |
PathStream.thenOrderBy(Order... orders) |
PathStream<X,S> |
PathStream.thenOrderBy(Ref<?,? extends Expression<?>> ref,
boolean asc) |
PathStream<X,S> |
PathStream.thenOrderBy(SingularAttribute<? super X,?> attribute,
boolean asc) |
PathStream<X,S> |
PathStream.withFetchGraph(String name) |
PathStream<X,S> |
PathStream.withFlushMode(FlushModeType flushMode) |
PathStream<X,S> |
PathStream.withHint(String name,
Object value) |
PathStream<X,S> |
PathStream.withHints(Map<String,Object> hints) |
PathStream<X,S> |
PathStream.withLoadGraph(String name) |
PathStream<X,S> |
PathStream.withLockMode(LockModeType lockMode) |
PathStream<X,S> |
PathStream.withParam(Parameter<Calendar> parameter,
Calendar value,
TemporalType temporalType) |
PathStream<X,S> |
PathStream.withParam(Parameter<Date> parameter,
Date value,
TemporalType temporalType) |
<T> PathStream<X,S> |
PathStream.withParam(Parameter<T> parameter,
T value) |
PathStream<X,S> |
PathStream.withParams(Iterable<? extends ParamBinding<?>> params) |
Copyright © 2023. All rights reserved.