public abstract class AbstractQuerySpace extends Object implements QuerySpace
QuerySpace.Disposition
Constructor and Description |
---|
AbstractQuerySpace(String uid,
QuerySpace.Disposition disposition,
ExpandingQuerySpaces querySpaces,
boolean canJoinsBeRequired) |
Modifier and Type | Method and Description |
---|---|
boolean |
canJoinsBeRequired()
Can any joins created from here (with this as the left-hand side) be required joins?
|
QuerySpace.Disposition |
getDisposition()
What type of QuerySpace (more-specific) is this?
|
protected ExpandingQuerySpaces |
getExpandingQuerySpaces() |
Iterable<Join> |
getJoins()
Obtain all joins which originate from this QuerySpace, in other words, all the joins which this QuerySpace is
the left-hand-side of.
|
QuerySpaces |
getQuerySpaces()
Provides subclasses access to the spaces to which this space belongs.
|
String |
getUid()
The uid/alias which uniquely identifies this QuerySpace.
|
protected List<Join> |
internalGetJoins() |
protected SessionFactoryImplementor |
sessionFactory() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPropertyMapping, toAliasedColumns
public AbstractQuerySpace(String uid, QuerySpace.Disposition disposition, ExpandingQuerySpaces querySpaces, boolean canJoinsBeRequired)
protected SessionFactoryImplementor sessionFactory()
public boolean canJoinsBeRequired()
true
indicates joins can be required; false
indicates they cannot.public QuerySpaces getQuerySpaces()
getQuerySpaces
in interface QuerySpace
protected ExpandingQuerySpaces getExpandingQuerySpaces()
public String getUid()
QuerySpace
getUid
in interface QuerySpace
QuerySpaces.findQuerySpaceByUid(java.lang.String)
public QuerySpace.Disposition getDisposition()
QuerySpace
getDisposition
in interface QuerySpace
public Iterable<Join> getJoins()
QuerySpace
Join.getLeftHandSide()
should point back to this QuerySpace such that
space.getJoins().forEach{ join -> join.getLeftHandSide() == space }
is true for all.getJoins
in interface QuerySpace
Copyright © 2017 JBoss by Red Hat. All rights reserved.