Package org.hibernate.loader.plan.spi
Interface QuerySpaces
-
- All Known Subinterfaces:
ExpandingQuerySpaces
public interface QuerySpaces
Models a collection ofQuerySpace
references and exposes the ability to find aQuerySpace
by 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 QuerySpace
findQuerySpaceByUid(java.lang.String uid)
Locate a QuerySpace by its uid.QuerySpace
getQuerySpaceByUid(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,
null
is 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
-
-