T
- expression typepublic final class ListSubQuery<T> extends CollectionExpressionBase<List<T>,T> implements ExtendedSubQueryExpression<List<T>>
hashCode, mixin
Constructor and Description |
---|
ListSubQuery(Class<T> elementType,
QueryMetadata md) |
Modifier and Type | Method and Description |
---|---|
<R,C> R |
accept(Visitor<R,C> v,
C context)
Accept the visitor with the given context
|
SimpleExpression<?> |
as(Expression<?> alias) |
NumberExpression<Long> |
count() |
NumberExpression<Long> |
countDistinct() |
BooleanExpression |
exists()
Get an exists(this) expression for the subquery
|
Class<T> |
getElementType() |
QueryMetadata |
getMetadata()
Get the query metadata for the subquery
|
Class<?> |
getParameter(int index) |
BooleanExpression |
notExists()
Get a not exists(this) expression for the subquery
|
as, contains, contains, isEmpty, isNotEmpty, size
as, as, equals, getType, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getType
public ListSubQuery(Class<T> elementType, QueryMetadata md)
public <R,C> R accept(Visitor<R,C> v, C context)
Expression
accept
in interface Expression<List<T>>
R
- return typeC
- context typev
- visitorcontext
- context of visitpublic NumberExpression<Long> count()
public NumberExpression<Long> countDistinct()
public BooleanExpression exists()
ExtendedSubQueryExpression
exists
in interface ExtendedSubQueryExpression<List<T>>
public Class<T> getElementType()
getElementType
in class CollectionExpressionBase<List<T>,T>
public QueryMetadata getMetadata()
SubQueryExpression
getMetadata
in interface SubQueryExpression<List<T>>
public BooleanExpression notExists()
ExtendedSubQueryExpression
notExists
in interface ExtendedSubQueryExpression<List<T>>
public SimpleExpression<?> as(Expression<?> alias)
public Class<?> getParameter(int index)
getParameter
in interface ParametrizedExpression<List<T>>
Copyright © 2007–2015 Mysema Ltd. All rights reserved.