M - the MapK - the key typeV - the valur typepublic class MapExpression<M extends Map<K,V>,K,V> extends AbstractExpression<M>
| Constructor and Description |
|---|
MapExpression(Mapping<?,Map<K,V>,V> mapping) |
| Modifier and Type | Method and Description |
|---|---|
String |
generateJpqlRestriction(BaseQueryImpl<?> query)
Returns the JPQL where fragment.
|
String |
generateJpqlSelect(AbstractCriteriaQueryImpl<?> query,
boolean selected)
Returns the JPQL select fragment.
|
String |
generateSqlSelect(AbstractCriteriaQueryImpl<?> query,
boolean selected)
Returns the SQL select fragment.
|
String[] |
getSqlRestrictionFragments(BaseQueryImpl<?> query)
Returns the SQL restriction fragments.
|
M |
handle(QueryImpl<?> query,
SessionImpl session,
ResultSet row)
Handles the row.
|
CollectionExpression<Collection<V>,V> |
values() |
as, getConverter, in, in, in, in, isNotNull, isNull, setConverteralias, getAlias, getCompoundSelectionItems, isCompoundSelection, isEntityListgetJavaTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic String generateJpqlRestriction(BaseQueryImpl<?> query)
generateJpqlRestriction in class AbstractExpression<M extends Map<K,V>>query - the querypublic String generateJpqlSelect(AbstractCriteriaQueryImpl<?> query, boolean selected)
generateJpqlSelect in class AbstractSelection<M extends Map<K,V>>query - the criteria queryselected - if the selection is selectedpublic String generateSqlSelect(AbstractCriteriaQueryImpl<?> query, boolean selected)
generateSqlSelect in class AbstractSelection<M extends Map<K,V>>query - the queryselected - if the selection is selectedpublic String[] getSqlRestrictionFragments(BaseQueryImpl<?> query)
getSqlRestrictionFragments in class AbstractSelection<M extends Map<K,V>>query - the querypublic M handle(QueryImpl<?> query, SessionImpl session, ResultSet row) throws SQLException
handle in class AbstractSelection<M extends Map<K,V>>query - the querysession - the sessionrow - the rowSQLException - thrown in case of an underlying SQL Errorpublic CollectionExpression<Collection<V>,V> values()
Copyright © 2012 Batoo Software & Consultancy. All Rights Reserved.