|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CriteriaQuery
An instance of CriteriaQuery is passed to criterion, order and projection instances when actually compiling and executing the query. This interface is not used by application code.
Method Summary | |
---|---|
String[] |
findColumns(String propertyPath,
Criteria criteria)
Get the names of the columns mapped by a property path; if the property path is not found in criteria, try the "outer" query. |
String |
generateSQLAlias()
|
String |
getColumn(Criteria criteria,
String propertyPath)
Get the names of the columns mapped by a property path, ignoring projection aliases |
String[] |
getColumns(String propertyPath,
Criteria criteria)
Get the names of the columns mapped by a property path, ignoring projection aliases |
String[] |
getColumnsUsingProjection(Criteria criteria,
String propertyPath)
Get the names of the columns mapped by a property path |
String |
getEntityName(Criteria criteria)
Get the entity name of an entity |
String |
getEntityName(Criteria criteria,
String propertyPath)
Get the entity name of an entity, taking into account the qualifier of the property path |
SessionFactoryImplementor |
getFactory()
|
String[] |
getIdentifierColumns(Criteria subcriteria)
Get the identifier column names of this entity |
Type |
getIdentifierType(Criteria subcriteria)
Get the identifier type of this entity |
String |
getPropertyName(String propertyName)
Get the property name, given a possibly qualified property name |
String |
getSQLAlias(Criteria subcriteria)
Get the root table alias of an entity |
String |
getSQLAlias(Criteria criteria,
String propertyPath)
Get the root table alias of an entity, taking into account the qualifier of the property path |
Type |
getType(Criteria criteria,
String propertyPath)
Get the type of a property path, ignoring projection aliases |
TypedValue |
getTypedIdentifierValue(Criteria subcriteria,
Object value)
|
TypedValue |
getTypedValue(Criteria criteria,
String propertyPath,
Object value)
Get the a typed value for the given property value. |
Type |
getTypeUsingProjection(Criteria criteria,
String propertyPath)
Get the type of a property path |
Method Detail |
---|
SessionFactoryImplementor getFactory()
String getColumn(Criteria criteria, String propertyPath) throws HibernateException
QueryException
- if the property maps to more than 1 column
HibernateException
String[] getColumns(String propertyPath, Criteria criteria) throws HibernateException
HibernateException
String[] findColumns(String propertyPath, Criteria criteria) throws HibernateException
HibernateException
Type getType(Criteria criteria, String propertyPath) throws HibernateException
HibernateException
String[] getColumnsUsingProjection(Criteria criteria, String propertyPath) throws HibernateException
HibernateException
Type getTypeUsingProjection(Criteria criteria, String propertyPath) throws HibernateException
HibernateException
TypedValue getTypedValue(Criteria criteria, String propertyPath, Object value) throws HibernateException
HibernateException
String getEntityName(Criteria criteria)
String getEntityName(Criteria criteria, String propertyPath)
String getSQLAlias(Criteria subcriteria)
String getSQLAlias(Criteria criteria, String propertyPath)
String getPropertyName(String propertyName)
String[] getIdentifierColumns(Criteria subcriteria)
Type getIdentifierType(Criteria subcriteria)
TypedValue getTypedIdentifierValue(Criteria subcriteria, Object value)
String generateSQLAlias()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |