T - the type of the sub query.public class SubQueryStub<T> extends AbstractCriteriaQueryImpl<T>
| Constructor and Description |
|---|
SubQueryStub(BaseQueryImpl<?> parent,
MetamodelImpl metamodel,
Class<T> resultType) |
| Modifier and Type | Method and Description |
|---|---|
String |
generateTableAlias(boolean entity)
Returns the generated entity alias.
|
Integer |
getAlias(AbstractParameterExpressionImpl<?> parameter)
Returns the generated alias for the parameter.
|
String |
getAlias(AbstractSelection<?> selection)
Returns the generated alias for the selection.
|
String |
getFieldAlias(String tableAlias,
AbstractColumn column) |
boolean |
isQuery()
Returns if the query is a select query.
|
String |
toString() |
distinct, ensureSelection, from, from, generateJpql, generateSql, getGroupList, getGroupRestriction, getRestriction, getResultType, getRoots, getSelection, groupBy, groupBy, having, having, internal, isDistinct, registerParameter, select, subquery, updateResultClass, where, wheregetJdbcAdaptor, getJpql, getMetamodel, getParameter, getParameters, getSql, getSqlParameters, setNextSqlParampublic SubQueryStub(BaseQueryImpl<?> parent, MetamodelImpl metamodel, Class<T> resultType)
parent - the parent querymetamodel - the metamodelresultType - the result typepublic String generateTableAlias(boolean entity)
generateTableAlias in interface BaseQuery<T>generateTableAlias in class BaseQueryImpl<T>entity - true if the table is an entity table, false for element collectionspublic Integer getAlias(AbstractParameterExpressionImpl<?> parameter)
public String getAlias(AbstractSelection<?> selection)
public String getFieldAlias(String tableAlias, AbstractColumn column)
getFieldAlias in interface BaseQuery<T>getFieldAlias in class BaseQueryImpl<T>tableAlias - the alias of the tablecolumn - the columnpublic boolean isQuery()
isQuery in class BaseQueryImpl<T>Copyright © 2012 Batoo Software & Consultancy. All Rights Reserved.