java.lang.Object
io.ebeaninternal.api.ManyWhereJoins
- All Implemented Interfaces:
Serializable
Holds the joins needs to support the many where predicates.
These joins are independent of any 'fetch' joins on the many.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(ElPropertyDeploy elProp) Add a many where join.voidaddAggregationJoin(String property) Ensure we have the join required to support the aggregation properties.voidaddFormulaWithJoin(String prefix, String name) In findCount query found a formula property with a join clause so building a select clause specifically for the findCount query.formulaJoinProperties(String prefix) Return the formula properties to build the select clause for a findCount query.booleanisFormulaWithJoin(String prefix) Return true if the query select includes a formula with join.booleanReturn the current 'mode' indicating if outer joins are currently required or not.Return the set of many where joins.Return the set of property names for the many where joins.booleanReturn true if this is an aggregation query or if there are no extra many where joins.voidMark this as part of an aggregation query (so using group by clause).voidsetRequireOuterJoins(boolean requireOuterJoins) Set the 'mode' to be that joins added are required to be outer joins.
-
Constructor Details
-
ManyWhereJoins
public ManyWhereJoins()
-
-
Method Details
-
isRequireOuterJoins
public boolean isRequireOuterJoins()Return the current 'mode' indicating if outer joins are currently required or not. -
setRequireOuterJoins
public void setRequireOuterJoins(boolean requireOuterJoins) Set the 'mode' to be that joins added are required to be outer joins. This is set during the evaluation of disjunction predicates. -
add
Add a many where join. -
requireSqlDistinct
public boolean requireSqlDistinct()Return true if this is an aggregation query or if there are no extra many where joins. -
propertyJoins
Return the set of many where joins. -
propertyNames
Return the set of property names for the many where joins. -
addFormulaWithJoin
In findCount query found a formula property with a join clause so building a select clause specifically for the findCount query. -
isFormulaWithJoin
Return true if the query select includes a formula with join. -
formulaJoinProperties
Return the formula properties to build the select clause for a findCount query. -
setAggregation
public void setAggregation()Mark this as part of an aggregation query (so using group by clause). -
addAggregationJoin
Ensure we have the join required to support the aggregation properties.
-