Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.hibernate.loader.criteria.CriteriaQueryTranslator
Field Summary | |
static String |
Constructor Summary | |
| |
|
Method Summary | |
String | |
String | |
String[] |
|
Criteria |
|
String |
|
String |
|
SessionFactoryImplementor | |
String | |
String[] |
|
Type |
|
int |
|
String | |
String[] | |
String[] | |
Type[] | |
String |
|
QueryParameters | |
Set | |
CriteriaImpl | |
String | |
String |
|
String |
|
int | |
String | |
Type | |
Type |
|
TypedValue |
|
TypedValue |
|
String | |
boolean | |
boolean |
|
public CriteriaQueryTranslator(SessionFactoryImplementor factory, CriteriaImpl criteria, String rootEntityName, String rootSQLAlias) throws HibernateException
public CriteriaQueryTranslator(SessionFactoryImplementor factory, CriteriaImpl criteria, String rootEntityName, String rootSQLAlias, CriteriaQuery outerQuery) throws HibernateException
public String generateSQLAlias()
- Specified by:
- generateSQLAlias in interface CriteriaQuery
public String getColumn(Criteria criteria, String propertyName)
Get the names of the columns mapped by a property path, ignoring projection aliases
- Specified by:
- getColumn in interface CriteriaQuery
public String[] getColumnsUsingProjection(Criteria subcriteria, String propertyName) throws HibernateException
Get the names of the columns constrained by this criterion.
- Specified by:
- getColumnsUsingProjection in interface CriteriaQuery
public String getEntityName(Criteria criteria)
Get the entity name of an entity
- Specified by:
- getEntityName in interface CriteriaQuery
public String getEntityName(Criteria subcriteria, String propertyName)
Get the entity name of an entity, taking into account the qualifier of the property path
- Specified by:
- getEntityName in interface CriteriaQuery
public SessionFactoryImplementor getFactory()
- Specified by:
- getFactory in interface CriteriaQuery
public String getGroupBy()
public String[] getIdentifierColumns(Criteria subcriteria)
Get the identifier column names of this entity
- Specified by:
- getIdentifierColumns in interface CriteriaQuery
public Type getIdentifierType(Criteria subcriteria)
Get the identifier type of this entity
- Specified by:
- getIdentifierType in interface CriteriaQuery
public int getJoinType(String path)
public String getOrderBy()
public String[] getProjectedAliases()
public String[] getProjectedColumnAliases()
public String getPropertyName(String propertyName)
Get the property name, given a possibly qualified property name
- Specified by:
- getPropertyName in interface CriteriaQuery
public Set getQuerySpaces()
public String getRootSQLALias()
public String getSQLAlias(Criteria criteria)
Get the root table alias of an entity
- Specified by:
- getSQLAlias in interface CriteriaQuery
public String getSQLAlias(Criteria criteria, String propertyName)
Get the root table alias of an entity, taking into account the qualifier of the property path
- Specified by:
- getSQLAlias in interface CriteriaQuery
public int getSQLAliasCount()
public String getSelect()
public Type getType(Criteria subcriteria, String propertyName) throws HibernateException
Get the type of a property path, ignoring projection aliases
- Specified by:
- getType in interface CriteriaQuery
public Type getTypeUsingProjection(Criteria subcriteria, String propertyName) throws HibernateException
Get the type of a property path
- Specified by:
- getTypeUsingProjection in interface CriteriaQuery
public TypedValue getTypedIdentifierValue(Criteria subcriteria, Object value)
- Specified by:
- getTypedIdentifierValue in interface CriteriaQuery
public TypedValue getTypedValue(Criteria subcriteria, String propertyName, Object value) throws HibernateException
Get the a typed value for the given property value.
- Specified by:
- getTypedValue in interface CriteriaQuery
public String getWhereCondition()
public boolean hasProjection()
public boolean isJoin(String path)