T - result typeQ - concrete subtypepublic abstract class AbstractCollQuery<T,Q extends AbstractCollQuery<T,Q>>
extends com.querydsl.core.support.FetchableQueryBase<T,Q>
implements com.querydsl.core.FetchableQuery<T,Q>
AbstractCollQuery provides a base class for Collection query implementations.CollQuery| Constructor and Description |
|---|
AbstractCollQuery(com.querydsl.core.QueryMetadata metadata,
QueryEngine queryEngine) |
| Modifier and Type | Method and Description |
|---|---|
<A> Q |
bind(com.querydsl.core.types.Path<A> entity,
java.lang.Iterable<? extends A> col)
Bind the given collection to an already existing query source
|
java.util.List<T> |
fetch() |
long |
fetchCount() |
T |
fetchOne() |
com.querydsl.core.QueryResults<T> |
fetchResults() |
<A> Q |
from(com.querydsl.core.types.Path<A> entity,
java.lang.Iterable<? extends A> col)
Add a query source
|
protected com.querydsl.core.QueryMetadata |
getMetadata() |
protected QueryEngine |
getQueryEngine() |
Q |
groupBy(com.querydsl.core.types.Expression<?>... o) |
Q |
groupBy(com.querydsl.core.types.Expression<?> e) |
Q |
having(com.querydsl.core.types.Predicate... e) |
Q |
having(com.querydsl.core.types.Predicate e) |
<P> Q |
innerJoin(com.querydsl.core.types.MapExpression<?,P> target,
com.querydsl.core.types.Path<P> alias)
Define an inner join from the Map typed path to the alias
|
<P> Q |
innerJoin(com.querydsl.core.types.Path<? extends java.util.Collection<P>> target,
com.querydsl.core.types.Path<P> alias)
Define an inner join from the Collection typed path to the alias
|
com.mysema.commons.lang.CloseableIterator<T> |
iterate() |
<P> Q |
leftJoin(com.querydsl.core.types.MapExpression<?,P> target,
com.querydsl.core.types.Path<P> alias)
Define a left join from the Map typed path to the alias
|
<P> Q |
leftJoin(com.querydsl.core.types.Path<? extends java.util.Collection<P>> target,
com.querydsl.core.types.Path<P> alias)
Define a left join from the Collection typed path to the alias
|
java.util.stream.Stream<T> |
stream() |
equals, fetchFirst, transform, uniqueResultdistinct, hashCode, limit, offset, orderBy, orderBy, restrict, set, toString, where, whereclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic AbstractCollQuery(com.querydsl.core.QueryMetadata metadata,
QueryEngine queryEngine)
public long fetchCount()
fetchCount in interface com.querydsl.core.Fetchable<T>protected com.querydsl.core.QueryMetadata getMetadata()
public <A> Q from(com.querydsl.core.types.Path<A> entity, java.lang.Iterable<? extends A> col)
A - type of expressionentity - Path for the sourcecol - content of the sourcepublic <A> Q bind(com.querydsl.core.types.Path<A> entity, java.lang.Iterable<? extends A> col)
A - type of expressionentity - Path for the sourcecol - content of the sourcepublic Q groupBy(com.querydsl.core.types.Expression<?> e)
groupBy in class com.querydsl.core.support.QueryBase<Q extends AbstractCollQuery<T,Q>>public Q groupBy(com.querydsl.core.types.Expression<?>... o)
groupBy in class com.querydsl.core.support.QueryBase<Q extends AbstractCollQuery<T,Q>>public Q having(com.querydsl.core.types.Predicate e)
having in class com.querydsl.core.support.QueryBase<Q extends AbstractCollQuery<T,Q>>public Q having(com.querydsl.core.types.Predicate... e)
having in class com.querydsl.core.support.QueryBase<Q extends AbstractCollQuery<T,Q>>protected QueryEngine getQueryEngine()
public <P> Q innerJoin(com.querydsl.core.types.Path<? extends java.util.Collection<P>> target, com.querydsl.core.types.Path<P> alias)
P - type of expressiontarget - target of the joinalias - alias for the join targetpublic <P> Q innerJoin(com.querydsl.core.types.MapExpression<?,P> target, com.querydsl.core.types.Path<P> alias)
P - type of expressiontarget - target of the joinalias - alias for the join targetpublic <P> Q leftJoin(com.querydsl.core.types.Path<? extends java.util.Collection<P>> target, com.querydsl.core.types.Path<P> alias)
P - type of expressiontarget - target of the joinalias - alias for the join targetpublic <P> Q leftJoin(com.querydsl.core.types.MapExpression<?,P> target, com.querydsl.core.types.Path<P> alias)
P - type of expressiontarget - target of the joinalias - alias for the joint targetpublic com.mysema.commons.lang.CloseableIterator<T> iterate()
iterate in interface com.querydsl.core.Fetchable<T>public java.util.stream.Stream<T> stream()
stream in interface com.querydsl.core.Fetchable<T>public java.util.List<T> fetch()
public com.querydsl.core.QueryResults<T> fetchResults()
fetchResults in interface com.querydsl.core.Fetchable<T>Copyright © 2007–2021 Querydsl. All rights reserved.