| Package | Description |
|---|---|
| org.dellroad.querystream.jpa |
QueryStream API for the Java Persistence Architecture (JPA).
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
FromValue<X,S extends From<?,X>>
A
FromStream 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> FromStream<X,S> |
FromStream.addRoot(Ref<R,? super Root<R>> ref,
Class<R> type) |
FromStream<X,S> |
FromStream.bind(Ref<X,? super S> ref) |
<X2,S2 extends Selection<X2>> |
FromStream.bind(Ref<X2,? super S2> ref,
Function<? super S,? extends S2> refFunction) |
FromStream<X,S> |
FromStream.distinct() |
FromStream<X,S> |
FromStream.fetch(PluralAttribute<? super X,?,?> attribute) |
FromStream<X,S> |
FromStream.fetch(PluralAttribute<? super X,?,?> attribute,
JoinType joinType) |
FromStream<X,S> |
FromStream.fetch(SingularAttribute<? super X,?> attribute) |
FromStream<X,S> |
FromStream.fetch(SingularAttribute<? super X,?> attribute,
JoinType joinType) |
FromStream<X,S> |
FromStream.filter(Function<? super S,? extends Expression<Boolean>> predicateBuilder) |
FromStream<X,S> |
FromStream.filter(SingularAttribute<? super X,Boolean> attribute) |
default <E> FromStream<E,CollectionJoin<X,E>> |
SearchStream.flatMap(CollectionAttribute<? super X,E> attribute)
Map this stream to a stream where every item is replaced with the contents of the specified collection.
|
default <E> FromStream<E,ListJoin<X,E>> |
SearchStream.flatMap(ListAttribute<? super X,E> attribute)
Map this stream to a stream where every item is replaced with the contents of the specified collection.
|
default <E> FromStream<E,SetJoin<X,E>> |
SearchStream.flatMap(SetAttribute<? super X,E> attribute)
Map this stream to a stream where every item is replaced with the contents of the specified collection.
|
FromStream<X,S> |
FromStream.groupBy(Function<? super S,? extends Expression<?>> groupFunction) |
FromStream<X,S> |
FromStream.groupBy(Ref<?,? extends Expression<?>> ref) |
FromStream<X,S> |
FromStream.groupBy(SingularAttribute<? super X,?> attribute) |
FromStream<X,S> |
FromStream.groupByMulti(Function<? super S,? extends List<Expression<?>>> groupFunction) |
FromStream<X,S> |
FromStream.having(Function<? super S,? extends Expression<Boolean>> havingFunction) |
default <E> FromStream<E,CollectionJoin<X,E>> |
SearchStream.join(CollectionAttribute<? super X,E> attribute)
Add a collection inner join to this stream.
|
default <E> FromStream<E,CollectionJoin<X,E>> |
SearchStream.join(CollectionAttribute<? super X,E> attribute,
JoinType joinType)
Add a collection join to this stream using the specified join type.
|
default <E> FromStream<E,CollectionJoin<X,E>> |
SearchStream.join(CollectionAttribute<? super X,E> attribute,
JoinType joinType,
Function<? super CollectionJoin<X,E>,? extends Expression<Boolean>> on)
Add a collection join to this stream using the specified join type and ON condition.
|
default <E> FromStream<E,ListJoin<X,E>> |
SearchStream.join(ListAttribute<? super X,E> attribute)
Add a list inner join to this stream.
|
default <E> FromStream<E,ListJoin<X,E>> |
SearchStream.join(ListAttribute<? super X,E> attribute,
JoinType joinType)
Add a list join to this stream using the specified join type.
|
default <E> FromStream<E,ListJoin<X,E>> |
SearchStream.join(ListAttribute<? super X,E> attribute,
JoinType joinType,
Function<? super ListJoin<X,E>,? extends Expression<Boolean>> on)
Add a list join to this stream using the specified join type and ON condition.
|
default <K,V> FromStream<V,MapJoin<X,K,V>> |
SearchStream.join(MapAttribute<? super X,K,V> attribute)
Add a map inner join to this stream.
|
default <K,V> FromStream<V,MapJoin<X,K,V>> |
SearchStream.join(MapAttribute<? super X,K,V> attribute,
JoinType joinType)
Add a map join to this stream using the specified join type.
|
default <K,V> FromStream<V,MapJoin<X,K,V>> |
SearchStream.join(MapAttribute<? super X,K,V> attribute,
JoinType joinType,
Function<? super MapJoin<X,K,V>,? extends Expression<Boolean>> on)
Add a map join to this stream using the specified join type and ON condition.
|
default <E> FromStream<E,SetJoin<X,E>> |
SearchStream.join(SetAttribute<? super X,E> attribute)
Add a set inner join to this stream.
|
default <E> FromStream<E,SetJoin<X,E>> |
SearchStream.join(SetAttribute<? super X,E> attribute,
JoinType joinType)
Add a set join to this stream using the specified join type.
|
default <E> FromStream<E,SetJoin<X,E>> |
SearchStream.join(SetAttribute<? super X,E> attribute,
JoinType joinType,
Function<? super SetJoin<X,E>,? extends Expression<Boolean>> on)
Add a set join to this stream using the specified join type and ON condition.
|
default <Y> FromStream<Y,From<X,Y>> |
SearchStream.join(SingularAttribute<? super X,Y> attribute)
Add a singular inner join to this stream.
|
default <Y> FromStream<Y,From<X,Y>> |
SearchStream.join(SingularAttribute<? super X,Y> attribute,
JoinType joinType)
Add a singular join to this stream using the specified join type.
|
default <Y> FromStream<Y,From<X,Y>> |
SearchStream.join(SingularAttribute<? super X,Y> attribute,
JoinType joinType,
Function<? super Join<X,Y>,? extends Expression<Boolean>> on)
Add a singular join to this stream using the specified join type and ON condition.
|
FromStream<X,S> |
FromStream.limit(int maxSize) |
default <Z,Y> FromStream<Y,From<Z,Y>> |
SearchStream.mapToFrom(Class<Y> type,
Function<? super S,? extends From<Z,Y>> fromFunction)
Map this stream into a stream whose elements are the result of applying the given function.
|
default <Y> FromStream<Y,From<?,Y>> |
SearchStream.mapToRef(Class<Y> type,
FromRef<Y> ref)
Map this stream to a stream whose elements are bound to the supplied from reference.
|
FromStream<X,S> |
FromStream.orderBy(Function<? super S,? extends Expression<?>> orderExprFunction,
boolean asc) |
FromStream<X,S> |
FromStream.orderBy(Order... orders) |
FromStream<X,S> |
FromStream.orderBy(Ref<?,? extends Expression<?>> ref,
boolean asc) |
FromStream<X,S> |
FromStream.orderBy(SingularAttribute<? super X,?> attribute,
boolean asc) |
FromStream<X,S> |
FromStream.orderBy(SingularAttribute<? super X,?> attribute1,
boolean asc1,
SingularAttribute<? super X,?> attribute2,
boolean asc2) |
FromStream<X,S> |
FromStream.orderBy(SingularAttribute<? super X,?> attribute1,
boolean asc1,
SingularAttribute<? super X,?> attribute2,
boolean asc2,
SingularAttribute<? super X,?> attribute3,
boolean asc3) |
FromStream<X,S> |
FromStream.orderByMulti(Function<? super S,? extends List<? extends Order>> orderListFunction) |
FromStream<X,S> |
FromStream.peek(Consumer<? super S> peeker) |
FromStream<X,S> |
FromStream.skip(int num) |
<X,E> FromStream<E,CollectionJoin<X,E>> |
QueryStream.Builder.substream(CollectionJoin<X,E> join)
Create a
SearchStream for use as a subquery, using the specified join. |
<X,Y> FromStream<Y,? extends From<X,Y>> |
QueryStream.Builder.substream(From<X,Y> from)
Create a
SearchStream for use as a subquery, using the specified From. |
<X,E> FromStream<E,Join<X,E>> |
QueryStream.Builder.substream(Join<X,E> join)
Create a
SearchStream for use as a subquery, using the specified join. |
<X,E> FromStream<E,ListJoin<X,E>> |
QueryStream.Builder.substream(ListJoin<X,E> join)
Create a
SearchStream for use as a subquery, using the specified join. |
<X,K,V> FromStream<V,MapJoin<X,K,V>> |
QueryStream.Builder.substream(MapJoin<X,K,V> join)
Create a
SearchStream for use as a subquery, using the specified join. |
<X,E> FromStream<E,SetJoin<X,E>> |
QueryStream.Builder.substream(SetJoin<X,E> join)
Create a
SearchStream for use as a subquery, using the specified join. |
FromStream<X,S> |
FromStream.thenOrderBy(Function<? super S,? extends Expression<?>> orderExprFunction,
boolean asc) |
FromStream<X,S> |
FromStream.thenOrderBy(Order... orders) |
FromStream<X,S> |
FromStream.thenOrderBy(Ref<?,? extends Expression<?>> ref,
boolean asc) |
FromStream<X,S> |
FromStream.thenOrderBy(SingularAttribute<? super X,?> attribute,
boolean asc) |
FromStream<X,S> |
FromStream.withFetchGraph(String name) |
FromStream<X,S> |
FromStream.withFlushMode(FlushModeType flushMode) |
FromStream<X,S> |
FromStream.withHint(String name,
Object value) |
FromStream<X,S> |
FromStream.withHints(Map<String,Object> hints) |
FromStream<X,S> |
FromStream.withLoadGraph(String name) |
FromStream<X,S> |
FromStream.withLockMode(LockModeType lockMode) |
FromStream<X,S> |
FromStream.withParam(Parameter<Calendar> parameter,
Calendar value,
TemporalType temporalType) |
FromStream<X,S> |
FromStream.withParam(Parameter<Date> parameter,
Date value,
TemporalType temporalType) |
<T> FromStream<X,S> |
FromStream.withParam(Parameter<T> parameter,
T value) |
FromStream<X,S> |
FromStream.withParams(Iterable<? extends ParamBinding<?>> params) |
Copyright © 2023. All rights reserved.