Package org.hibernate.loader.plan.spi
Interface QuerySpaces
-
- All Known Subinterfaces:
ExpandingQuerySpaces
public interface QuerySpacesModels a collection ofQuerySpacereferences and exposes the ability to find aQuerySpaceby its UID todo : make this hierarchical... that would be needed to truly work for hql parser
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description QuerySpacefindQuerySpaceByUid(java.lang.String uid)Locate a QuerySpace by its uid.QuerySpacegetQuerySpaceByUid(java.lang.String uid)LikefindQuerySpaceByUid(java.lang.String), except that here an exception is thrown if the uid cannot be resolved.java.util.List<QuerySpace>getRootQuerySpaces()Gets the root QuerySpace references.
-
-
-
Method Detail
-
getRootQuerySpaces
java.util.List<QuerySpace> getRootQuerySpaces()
Gets the root QuerySpace references.- Returns:
- The roots
-
findQuerySpaceByUid
QuerySpace findQuerySpaceByUid(java.lang.String uid)
Locate a QuerySpace by its uid.- Parameters:
uid- The QuerySpace uid to match- Returns:
- The match,
nullis returned if no match. - See Also:
QuerySpace.getUid()
-
getQuerySpaceByUid
QuerySpace getQuerySpaceByUid(java.lang.String uid)
LikefindQuerySpaceByUid(java.lang.String), except that here an exception is thrown if the uid cannot be resolved.- Parameters:
uid- The uid to resolve- Returns:
- The QuerySpace
- Throws:
QuerySpaceUidNotRegisteredException- Rather than returnnull
-
-