X - the entity type referenced by the rootpublic class RootImpl<X> extends AbstractFrom<X,X> implements javax.persistence.criteria.Root<X>
| Constructor and Description |
|---|
RootImpl(EntityTypeImpl<X> entity) |
| Modifier and Type | Method and Description |
|---|---|
String |
generateJpqlSelect(AbstractCriteriaQueryImpl<?> query,
boolean selected)
Returns the JPQL select fragment.
|
String |
generateSqlFrom(BaseQueryImpl<?> query)
Returns the generated from SQL fragment.
|
protected <C,Y> AbstractMapping<? super X,C,Y> |
getMapping(String name)
Returns the child mapping for the name.
|
javax.persistence.metamodel.EntityType<X> |
getModel() |
String |
toString() |
ensureAlias, fetch, fetch, fetch, fetch, fetch, fetch, generateDiscrimination, generateJpqlJoins, generateJpqlRestriction, generateSqlJoins, generateSqlSelect, getCorrelationParent, getEntity, getFetches, getFetchRoot, getJoins, getSqlRestrictionFragments, getSqlRestrictionFragments, getTableAlias, handle, isCorrelated, isEntityList, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSet, select, typeget, get, get, get, getColumnAlias, getExpressioncannotDereference, getParentPath, getRootPathas, getConverter, in, in, in, in, isNotNull, isNull, notIn, notIn, notIn, notIn, setConverteralias, getAlias, getCompoundSelectionItems, isCompoundSelectiongetJavaTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCorrelationParent, getJoins, isCorrelated, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSetget, get, get, get, getParentPath, typeas, in, in, in, in, isNotNull, isNullpublic RootImpl(EntityTypeImpl<X> entity)
entity - the entitypublic String generateJpqlSelect(AbstractCriteriaQueryImpl<?> query, boolean selected)
generateJpqlSelect in class AbstractFrom<X,X>query - the criteria queryselected - if the selection is selectedpublic String generateSqlFrom(BaseQueryImpl<?> query)
query - the queryprotected <C,Y> AbstractMapping<? super X,C,Y> getMapping(String name)
getMapping in class ParentPath<X,X>C - the collection type of the child mappingY - the type of the child mappingname - the name of the child mappingpublic javax.persistence.metamodel.EntityType<X> getModel()
Copyright © 2012-2013 Batoo. All Rights Reserved.