T
- the return type of the subquerypublic class Subquery<T extends PortalEntity> extends AbstractQuerySupport<T>
Constructor and Description |
---|
Subquery(java.lang.Class<T> returnType) |
Modifier and Type | Method and Description |
---|---|
Subquery<T> |
from(java.lang.Class<? extends T>... types)
Sets the list of types of objects to find.
|
java.lang.String |
toString() |
Subquery<T> |
where(Expression restriction)
Modify the query to restrict the query result according to the specified
expression.
|
getFrom, getReturnType, getWhere, setFrom, setWhere, toExpression
public Subquery(java.lang.Class<T> returnType)
returnType
- the return type of the subquerypublic Subquery<T> from(java.lang.Class<? extends T>... types)
types
- a list of types of objects to findpublic Subquery<T> where(Expression restriction)
restriction
- the expression used to restrict the query resultpublic java.lang.String toString()
toString
in class AbstractQuerySupport<T extends PortalEntity>